add a simple return, ie the normal kind, not with trailing statements

This commit is contained in:
Torsten Ruger
2014-05-27 16:33:24 +03:00
parent 21a53c6a7f
commit fbaf292bb6
7 changed files with 62 additions and 0 deletions

View File

@ -6,6 +6,7 @@ This includes the parser and generated ast.
Parslet is really great in that it:
- does not generate code but instean gives a clean dsl to define a grammar
- uses ruby modules so one can split the grammars up
- has support for binary operators with presedence and binding
- has a seperate tranform stage to generate an ast layer
Especially the last point is great. Since it is seperate it does not clutter up the actual grammar.