feat WIP: checkpoint initial efforts on stream extraction
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Adds ! operator and !! expression, with Python code gen and an item in tour. Still needs: other languages, check generated docs, and addition of standard input to test scheme.
This commit is contained in:
parent
cc89ad1e93
commit
7c69b82484
5 changed files with 49 additions and 1 deletions
|
@ -42,10 +42,13 @@ context-free syntax
|
|||
Ex.EscString = STRING
|
||||
Ex.Stream = <stream>
|
||||
Ex.Sum = <<Ex> + <Ex>> {left}
|
||||
Ex.Concat = <<Ex> ++ <Ex>> {left}
|
||||
Ex.Gets = [[Ex] << [Ex]] {left}
|
||||
Ex.DefGets = [<<< [Ex]]
|
||||
Ex.To = [[Ex] >> [Ex]] {left}
|
||||
Ex.DefTo = [[Ex] >>>]
|
||||
Ex.Emits = <<Ex>!>
|
||||
Ex.DefEmits = <!!>
|
||||
|
||||
Ex = <(<Ex>)> {bracket}
|
||||
|
||||
|
@ -53,7 +56,7 @@ context-free priorities
|
|||
|
||||
Ex.To
|
||||
> Ex.DefTo
|
||||
> Ex.Sum
|
||||
> {Ex.Sum Ex.Concat}
|
||||
> Ex.DefGets
|
||||
> Ex.Gets,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue