Closed scymtym closed 11 years ago
This patch makes defrule accept an additional :around option with syntax
defrule
:around
(:AROUND ([&BOUNDS START [END]]) BODY)
BODY has to call CALL-TRANSFORM to invoke the primary transform of the rule.
BODY
CALL-TRANSFORM
This feature can be used to implement things like a stack of nested symbol tables (see new file example-symbol-table.lisp).
example-symbol-table.lisp
Remaining problems:
compile-rule
Not to be pushy, but may I ask whether you are basically willing to merge this at some point?
Merged.
Thanks!
This patch makes
defrule
accept an additional:around
option with syntaxBODY
has to callCALL-TRANSFORM
to invoke the primary transform of the rule.This feature can be used to implement things like a stack of nested symbol tables (see new file
example-symbol-table.lisp
).Remaining problems:
compile-rule