hpi-swa / Ohm-S

A Squeak/Smalltalk implementation of the metaprogramming framework Ohm.
MIT License
24 stars 8 forks source link

Grammar compilation of lexification operator produces error #62

Open stlutz opened 3 years ago

stlutz commented 3 years ago

Compilation of grammars that use the lexification operator (#) currently produces the following error: OhmMissingAttributeMethod: LexLex:

Minimal example:

serializedGrammar
^ 'MyGrammar {
    Expression = #Value
}'

This prevents e.g. the compilation of the Javascript Grammar, since it uses lexification operators fairly liberally.