Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to know what engines are available? #173

Open
canadaduane opened this issue Jun 17, 2023 · 3 comments
Open

How to know what engines are available? #173

canadaduane opened this issue Jun 17, 2023 · 3 comments

Comments

@canadaduane
Copy link
Collaborator

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?

@guybedford
Copy link
Owner

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.

@canadaduane
Copy link
Collaborator Author

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).

@guybedford
Copy link
Owner

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!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants