mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 08:01:42 +03:00
Merge pull request #1836 from AleoHQ/abnf-output-grammar
[ABNF] Add initial output grammar.
This commit is contained in:
commit
c4b15ec17b
@ -369,3 +369,18 @@ input-title = "[" ( %s"public" / %s"private" / %s"constant" / %s"const" ) "]"
|
|||||||
input-section = input-title *input-item
|
input-section = input-title *input-item
|
||||||
|
|
||||||
input-file = *input-section
|
input-file = *input-section
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
; Output Grammar
|
||||||
|
; --------------
|
||||||
|
|
||||||
|
output-expression = literal
|
||||||
|
|
||||||
|
output-item = output-expression ";"
|
||||||
|
|
||||||
|
output-title = "[" %s"output" "]"
|
||||||
|
|
||||||
|
output-section = output-title output-item
|
||||||
|
|
||||||
|
output-file = output-section
|
||||||
|
Loading…
Reference in New Issue
Block a user