[antlr-interest] Newbie Q: A token for "other" characters?

Mark Junker m.junker at hm-software.de
Mon Aug 7 02:37:34 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Loring Craymer wrote:
> All ANTLR tokens require rules to define them.  You need an EQUALS rule
> as well as the EQUALS_ESCAPE rule.

Ok, thanks ... but this problem is different from the previous one. I
just forgot to add the EQUALS rule in the example before - but this
problem is a different one and not related to the previous problem.

The reason why I such a feature would be nice is that I want to
implement a syntax where the user may use non-US characters and I think
that it'd be annoying to explicitly write that I want every character
except a, b, c, ... etc...

This problem causes me some headaches. Is there an easy/good solution
available for this problem?

- --
Kind regards,
Mark Junker
HM-Software
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1wne+vrgfQU/RLsRAsYfAKCTeS/H/QuZDQ2GdvtfiwSVlv6xwgCfaO/I
HmRFdWM79oRn80mh0DJqC54=
=rmhD
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m.junker.vcf
Type: text/x-vcard
Size: 264 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20060807/5a48cee3/m.junker.vcf


More information about the antlr-interest mailing list