chomp icon indicating copy to clipboard operation
chomp copied to clipboard

How to know what engines are available?

Open canadaduane opened this issue 2 years ago • 3 comments

I see engine = 'node' in some examples, but I'm not sure how to get a complete list of engines available in my compiled version of chomp. Is there a CLI query to find out what options there are?

canadaduane avatar Jun 17 '23 00:06 canadaduane

It could be interesting to explore having engines be pluggable via extensions. And also to have some kind of chomp --list-engines. Would be amazing if someone wants to pick this up.

guybedford avatar Jun 18 '23 14:06 guybedford

Just re-reading your comment here. Are you saying there is only one engine at this time, i.e. "node"? (And that it's the only hard-coded one).

canadaduane avatar Nov 13 '23 21:11 canadaduane

There are three engines - 'node' | 'deno' | 'cmd'. Details are provided in the task documentation at https://github.com/guybedford/chomp/blob/main/docs/task.md.

Very much open to adding other engines (via PRs of course!).

guybedford avatar Nov 19 '23 03:11 guybedford