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

Samora compiler syntax error handling #14

Open
obadiaspelembe opened this issue Aug 23, 2023 · 0 comments
Open

Samora compiler syntax error handling #14

obadiaspelembe opened this issue Aug 23, 2023 · 0 comments

Comments

@obadiaspelembe
Copy link

Hi team,

I have two examples of code in Samora Lang that makes the compiler go craise:

1 - Code without ;

let var = "Value"
print( var)

if you run this code the compiler freezes

2 - Code with ; in the end statement

let var = "Value"
print( var);

In this one no output is presented

Some it makes clear that we need to improve syntax errors.

The only working scenario is with semi colons in all statements

let var = "Value";
print( var);
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

1 participant