On 2006-06-12, Akim Demaille <akim(a)lrde.epita.fr> wrote:
>>
"SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
+ prism-to-box:
+ Cumul(exp) -> H hs=0 [ KW["C"] MATH["<="] ~exp ]
+
+ prism-to-box:
+ Inst(exp) -> H hs=0 [ KW["I"] MATH["="] ~exp ]
+
+ prism-to-box:
+ Reach(formula) -> H hs=1 [ KW["F"] ~formula ]
Why don't you use concrete syntax?
Lazyness I guess.
Also my concrete syntax is b0rken for some parts of the grammar and the whole
grammar isn't covered by concrete syntax. I found it easier to do it this
way. But indeed it would be a *lot* nicer with concrete syntax :)
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll