nikodemus / esrap

OLD REPOSITORY: Please go to:
https://github.com/scymtym/esrap
81 stars 25 forks source link

Added :around option to defrule #11

Closed scymtym closed 11 years ago

scymtym commented 12 years ago

This patch makes defrule accept an additional :around option with syntax

(:AROUND ([&BOUNDS START [END]]) BODY)

BODY has to call CALL-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:

scymtym commented 12 years ago

Not to be pushy, but may I ask whether you are basically willing to merge this at some point?

nikodemus commented 11 years ago

Merged.

scymtym commented 11 years ago

Thanks!