[Ometa] Case-insensitive seq?
frank.shearar at angband.za.org
Mon Jan 5 12:28:57 PST 2009
Jeff Moser replies
> I think you're on to the right track. I haven't used the Smalltalk
version, but I'd imagine that another approach would be to override the >
"exactly" rule to try the case insensitive comparison first, followed by the
existing implementation. This way, you could still leverage very > helpful
rules like "token" which lets you define keywords in quotes like "integer"
I'd avoided that problem by reimplementing token. Well, by shamelessly
stealing it from the OSqueakParser!
Still, once the ugliness has been committed, one doesn't really see it.
Also, the hack's then in my code, not altering Ometa itself.
More information about the OMeta