Generic Lexer which along with a language definition (.slx) file, constitutes Yacc/Bison compatible, custom lexical parser. It is ~1/3 the size of an equivalent Flex Lexer, resulting in a smaller compiler, and simpler yet more powerful lexical definition.
Be the first to post a text review of SimpLex Lexical Parser. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Synched with xHarbour CVS and added doc\simplex.txt.
Beta 1 of SimpLex was just released as of November 22, 2000. SimpLex is a LEX/Flex alternative, Generic Lexer, which generates much smaller lexers (1/2 to 1/4 the size of an equivalent Flex generated Lexer). Unlike LEX/Flex, SimpLex does not require a compile phase of the lexical definitions file. Instead, SimpLex provides intuitive macros so that the lexical definition file becomes a plain ANSI C source file, #included by SimpLex when being compiled by the C compiler. Most developers will find that SimpLex lexical definitions file, is much more readable and far simpler to understand then the equivalent LEX/Flex lexical definitions. The simplicity and clarity of SimpLex lexical definition, by no means take away from the lexical capabilities of SimpLex. To the contrary, SimpLex simplified data driven approach makes it more capable then LEX/Flex for most typical lexical parsing applications. Despite the facts that a SimpLex Lexer is typically ~1/3 the size of an equivalent Flex Lexer, and that SimpLex does not require a separate compilation of the lexical definitions, SimpLex generated lexers are just as fast, and or faster then the equivalent Flex generated lexers. SimpLex is being used by the Harbour-Project (www.Harbour-Project.org) Clipper compatible compiler.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?