Related articles |
---|
"Syntaxis.jar"; Java packed parsers for text files drikosev@otenet.gr (Evangelos Drikos) (2013-02-28) |
From: | Evangelos Drikos <drikosev@otenet.gr> |
Newsgroups: | comp.compilers |
Date: | Thu, 28 Feb 2013 15:25:21 +0200 |
Organization: | An OTEnet S.A. customer |
Keywords: | tools, parse, Java |
Posted-Date: | 28 Feb 2013 16:12:04 EST |
Hi,
The demo version of "Syntaxis.jar" now includes the parser generator
that creates java packed parsers, which can parse strings or text files.
The specific parser generator can export error messages:
- as static strings in the generated class or a distinct errors class
- as editable texts in a Properties File
Packed parsers can:
- not have a preprocessor; they can have an embedded lexer
- decode single byte character sets (up to 5 tables)
- decode UTF-8 (up to two bytes)
- use localized error messages from Properties Files
- print localized error messages in MS DOS Consoles
- be compiled also with gcj (via cygwin binaries are too large)
The program "SyntaxisDemo.jar" is available for evaluation upon request.
I also give a LALR(1) fortran parser, restricted to free source form (it
has a workaround). Further, all consecutive recursive rules that have
been merged in this parser need validation in user actions. The
experimental LALR Builder is described here:
http://compilers.iecc.com/comparch/article/12-09-010
Regards,
Ev. Drikos
Return to the
comp.compilers page.
Search the
comp.compilers archives again.