-
Notifications
You must be signed in to change notification settings - Fork 2
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
Doubt: How do I run a file with lox code? #1
Comments
Hi @kvnandula04, Thanks for showing interest! Did you find the information in the README.md file? It gives a brief overview of how you can run a lox program. To answer your specific questions:
I wrote a bunch of acceptance tests that run Lox programs. You can find those Lox programs here: src/main/resources/lox/src for instance: HelloWorld.lox Hope this explanation helps. Happy coding! |
Hi @geertguldentops, Wow! Thanks for the help! Getting some things cleared up now. For point 2, I'm still uncertain. Would you mind sharing a code snippet or a screenshot of how to do it please? For some context, I'm currently building an IDE for a lox dialect that I'm working on called Krystal. It's expected to look something like this... And I plan to make it an executable file which I can upload online so that people can download that and start using Krystal(don't know if that's possible in Java). So any help with this would also be much appreciated! Thanks in advance! |
Hi, so, I'm new to all of this but I am trying to run a file with lox code and am not sure how to do it. I cloned the java interpreter to try it out and I feel so constrained as I can only type single line code snippets in the REPL. So, I was wondering about how to run a file with code. I have a few questions:
Any help would be much appreciated! Thanks a lot!
The text was updated successfully, but these errors were encountered: