add parsing for actions
parent
cface5b7f9
commit
e9f392b51f
@ -1,15 +1,17 @@
|
|||||||
#lang ragg
|
#lang ragg
|
||||||
|
|
||||||
txtadv-program : [verb-section]
|
txtadv-program : [verb-section] [everywhere-section]
|
||||||
|
|
||||||
verb-section : verb-heading verb-entry+
|
verb-section : "===VERBS===" verb-entry+
|
||||||
|
|
||||||
verb-heading : "===VERBS==="
|
|
||||||
|
|
||||||
verb-entry : verb-name+ desc
|
verb-entry : verb-name+ desc
|
||||||
|
|
||||||
verb-name : [","] ID ["_"]
|
verb-name : [","] ID ["_"]
|
||||||
|
|
||||||
|
everywhere-section : "===EVERYWHERE===" everywhere-action+
|
||||||
|
|
||||||
|
everywhere-action : ID desc
|
||||||
|
|
||||||
desc : s-exp
|
desc : s-exp
|
||||||
|
|
||||||
s-exp : ID | STRING | "(" s-exp* ")"
|
s-exp : ID | STRING | "(" s-exp* ")"
|
Loading…
Reference in New Issue