feat: Implement enters operator >>
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Also added paranthesization of fostr expressions. Finally managed to cast code generation in terms of bottomup processing of a local strategy. Resolves #1.
This commit is contained in:
parent
527f802793
commit
a564b2274d
8 changed files with 97 additions and 36 deletions
|
@ -18,10 +18,13 @@ context-free syntax
|
|||
Ex.Stdio = <stdio>
|
||||
Ex.Sum = {Ex "+"}+
|
||||
Ex.Receives = [[Ex] << [Ex]] {left}
|
||||
Ex.Enters = [[Ex] >> [Ex]] {left}
|
||||
Ex = <(<Ex>)> {bracket}
|
||||
|
||||
context-free priorities
|
||||
|
||||
Ex.Sum
|
||||
Ex.Enters
|
||||
> Ex.Sum
|
||||
> Ex.Receives,
|
||||
|
||||
// prevent cycle: no singletons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue