3 projects tagged "Lexer"
Java Cobol Lexer is a library that takes a Cobol source program and return it as a list of lexical tokens. You can use it, for example, as part of a Cobol compiler, pre-processor, pretty formatter, static code checker, or syntax highlighter. The library accepts source code in fixed, free, and mixed formats. It processes standard Cobol 85.
Piglet is a tool for parsing and lexing text for the .NET framework. The purpose of Piglet is to provide an easy-to-use tool for parsing text which can be easily included in any .NET project as a single assembly. In contrast to most parser generators, Piglet provides a fluent interface which enables you to express your grammar in a syntax which is accessible for users with no prior experience of parser generators. Piglet generates efficient, type safe, and reentrant LALR(1) parsers at runtime, which saves you from having a pre-compile step to generate your parsing tables. It also includes a lexical scanner generator which can be used independently of the parser generator.