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

Make bin binary nicer #246

Closed
adumbidiot opened this issue Feb 5, 2020 · 3 comments
Closed

Make bin binary nicer #246

adumbidiot opened this issue Feb 5, 2020 · 3 comments

Comments

@adumbidiot
Copy link
Contributor

It would be nice if bin properly printed the result to stdout and not debug the result of the execution. It would also be great if it could have some flags to dump tokens or the ast when trying to debug.

@HalidOdat
Copy link
Member

I'm on it. 👍

@HalidOdat
Copy link
Member

I added this functionality in a branch.
The dump functionality works both for files and REPL.

With --dump-tokens and --dump-ast to dump to stdout.

The dumping of tokens and ast is mutually exclusive and when dumping it wont run the code.

Here is the pull request jasonwilliams#278

@HalidOdat
Copy link
Member

This issue should be closed the branch that implements this feature #278 has already been merged. 👍

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

3 participants