Skip to content
Snippets Groups Projects
Commit 3b7412bc authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Change syntax for variable declaration

This is a huge change in the grammar. Now one writes stuff like:
``
let x : R, x = 3;
``
instead of `R x = 3;`
The reason for this change is to disambiguate expressions such as

`f*g(x,y);` which could be understood as a declaration or as a product by the
result of a function evaluation.
parent 953e1548
No related branches found
No related tags found
1 merge request!37Feature/language
Showing
with 478 additions and 411 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment