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

Basic REPL #14

Open
yurtsiv opened this issue Oct 3, 2020 · 0 comments
Open

Basic REPL #14

yurtsiv opened this issue Oct 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@yurtsiv
Copy link
Owner

yurtsiv commented Oct 3, 2020

Basic REPL (Read–eval–print loop) needs to be implemented.

For now, it can take a single line of code, evaluate it after hitting the Enter key, and print the result.

Examples:

> 1
Integer 1
> 1 + 2
Integer 3
> let a = 1
Empty
> a  # the scope needs to be preserved
Integer 1
@yurtsiv yurtsiv added the enhancement New feature or request label Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant