[antlr-interest] Antlr C++ lexer and EBCDIC
mzukowski at yci.com
mzukowski at yci.com
Wed Jul 17 12:05:50 PDT 2002
That sounds like a good idea to me and shouldn't be too difficult.
Monty
www.codetransform.com
> -----Original Message-----
> From: John Lambert [mailto:johnl at jbase.com]
> Sent: Wednesday, July 17, 2002 11:44 AM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Antlr C++ lexer and EBCDIC
>
>
>
> I am trying to resolve an issue on IBM Z series with an antlr
> lexer/parser in C++.
> It is mostly working with the exception of the bitsets for the lexer.
> Antlr.tool lays down bitsets that represent the ASCII values
> of the characters because Java uses UTF8 no matter what the platform.
> When the resulting C++ code is compiled the character
> literals are all compiled as EBCDIC but the bitsets are
> initialized from the serialized Java ones that represent
> ASCII values.
>
> Any suggestions as to where the correct place to solve this would be?
> I am thinking of a runtime option on the antlr.tool to force
> bitset serialization for lexer grammars to map values thru an
> AtoE conversion table.
>
> John Lambert
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list