This website works better with JavaScript.
Home
Explore
Help
Sign In
MaximeBarniaudy
/
minproto
forked from
piumarta/minproto
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix errors after SetVar behavior change and let removal
master
MaximeBarniaudy
11 months ago
parent
d840010b55
commit
d26d33bf3f
2 changed files
with
566 additions
and
529 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+565
-528
grammar_parser.meta
+1
-1
rawgrammar.leg
+ 565
- 528
grammar_parser.meta
File diff suppressed because it is too large
View File
+ 1
- 1
rawgrammar.leg
View File
@ -1,5 +1,5 @@
grammar = -
( d:definition { set(d.name, d.expression); }
( d:definition { set
InTopNamespace
(d.name, d.expression); }
) + end-of-file
definition = i:identifier ASSIGN e:expression SEMI? { Definition.new(name: i, expression: e); }
Write
Preview
Loading…
Cancel
Save