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

Code execution in REPL has no effect or crashes. #69

Open
fenginsc opened this issue Jul 7, 2024 · 3 comments
Open

Code execution in REPL has no effect or crashes. #69

fenginsc opened this issue Jul 7, 2024 · 3 comments

Comments

@fenginsc
Copy link

fenginsc commented Jul 7, 2024

Latest version used. https://github.com/jukaLang/Juka/releases/tag/0.0.358.
Entering 1 + 1 in repl does not result in any output.
Entering x = 1 in repl causes a direct crash.
I'm using windows 10 x64.

@TheAndreiM
Copy link
Contributor

TheAndreiM commented Jul 13, 2024

Redoing "class" at the moment (caused a lot of problems). This will be fixed in the upcoming week or two

@TheAndreiM
Copy link
Contributor

Currently works as "var x=1" and "var x=1+1; printLine(x);". Will fix this behavior!

@TheAndreiM
Copy link
Contributor

x=1; doesn't crash anymore and variable is now defined in that local scope. In REPL, you still need to use printLine(""); or print(""); for now, will fix it in upcoming days.

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