Please start with one of the CEDET releases or, preferably, a copy
of CEDET CVS. Semantic 2.0 is a piece of the overall tool now, and
includes the new wisent parser. If your language is complex, you will
want to use a wisent based parser, which does handle multi-symbol
things. The manual for wisent is also very nice.
>>> "Filip Miletic" <filmil@...> seems to think that:
>I am just beginning to fiddle around with semantic, for the purpose of
>writing a language translator. I have not found out how to define
>multi-character operators, such as ++, += etc. Trying to pick that up from
>the java.bnf file seems to reveal there is no support for multi-character
>operators on the token level.
>Also the regexp for postfix operators in the bnf definition was given as
>"[-+][-+]", which would mean "-+" and "+-" are also accepted as postfix
>operators (line 628 of java.bnf).
>What is the right way to define multi-character operator tokens?
[ ... ]
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org