feat: Implement enters operator >>
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:
Glen Whitney 2021-01-31 16:44:45 -08:00
parent 527f802793
commit a564b2274d
8 changed files with 97 additions and 36 deletions

View file

@ -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