Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!.POSTED!nerds-end From: Evangelos Drikos Newsgroups: comp.compilers Subject: "Syntaxis.jar"; Java packed parsers for text files Date: Thu, 28 Feb 2013 15:25:21 +0200 Organization: An OTEnet S.A. customer Lines: 27 Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <13-02-012@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: leila.iecc.com 1362085924 23265 64.57.183.58 (28 Feb 2013 21:12:04 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Thu, 28 Feb 2013 21:12:04 +0000 (UTC) Keywords: tools, parse, Java Posted-Date: 28 Feb 2013 16:12:04 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:860 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