Merge pull request #1836 from AleoHQ/abnf-output-grammar

[ABNF] Add initial output grammar.
This commit is contained in:
Collin Chin 2022-05-25 14:49:36 -04:00 committed by GitHub
commit c4b15ec17b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,3 +369,18 @@ input-title = "[" ( %s"public" / %s"private" / %s"constant" / %s"const" ) "]"
input-section = input-title *input-item
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