Jflex

  •        3890

JFlex is a lexical analyzer generator (also known as scanner generator). It is also a rewrite of the very useful tool JLex which was developed by Elliot Berk at Princeton University. JFlex is designed to work together with the LALR parser generator CUP by Scott Hudson, and the Java modification of Berkeley Yacc BYacc/J by Bob Jamison. It can also be used together with other parser generators like ANTLR or as a standalone tool.

http://www.jflex.de/

Tags
Implementation
License
Platform

   




Related Projects

LexicalAnalyzer - Toy Language Lexical Analyzer (JFLEX)


Toy Language Lexical Analyzer (JFLEX)

code-generation


Code generation excercise. Generates Java Byte code for the decaffeinated java language. Scanner (lexical analyzer) was generated using JFLEX. Parser/Grammar was written using CUP (which was used to generate an AST in Java). I wrote a VERY complete test harness for this project and used a TDD approach. I didn't use mock objects or anything to stub out dependencies in the tests, but they were all still EXTREMELY helpful. Apparently this final project was one of the few that actually didn't crash,

markdownDFA - A markdown implementation with Jflex scanner and Cup Parser plus some extensions


A markdown implementation with Jflex scanner and Cup Parser plus some extensions

5343scanparse - Scanner and parser for a subset of C using JFlex and java_cup


Scanner and parser for a subset of C using JFlex and java_cup

lex-parser - A parser for lexical grammars used by jison.


A parser for lexical grammars used by jison.



Lexical Analyzer and Parser Generator


Lapg is the combined lexical analyzer and parser generator, which converts a description for a context-free LALR grammar into source file to parse the grammar. Generates code for Java, Javascript, C, C++ and C#.

Decoda - A lightweight lexical string parser for BBCode styled markup.


A lightweight lexical string parser for BBCode styled markup.

phpLL1 - phpLL1 implements a LL(1) parser-generator. Includes a lexical-anylyzer.


phpLL1 implements a LL(1) parser-generator. Includes a lexical-anylyzer.

jasmine - Java ASN.1 Lexical Analyzer and Parser


Java ASN.1 Lexical Analyzer and Parser

Compilers1 - Lexical and syntactic analysis for COOL language using ANTLR parser generator.


Lexical and syntactic analysis for COOL language using ANTLR parser generator.

query-language - Simple lexical analyzer and parser. Made as an exercise for university my course.


Simple lexical analyzer and parser. Made as an exercise for university my course.

o-lex - A original and naive lexical parser, written by Scheme/Racket


A original and naive lexical parser, written by Scheme/Racket

Grammar-Kit - Grammar files support & parser/PSI generation for IntelliJ IDEA


An IntelliJ IDEA plugin for language plugin developers.Adds BNF Grammars and JFlex files editing support including parser/PSI code generator.

Javascript-Parser - part of lexical analysis of javascript


part of lexical analysis of javascript

jflex-design - Project for working on program design of jFlex system


Project for working on program design of jFlex system

CS313-Topics-PA2--JFlex - Using jflex to generate a lexer for the COOL language


Using jflex to generate a lexer for the COOL language

PEG.js - Parser Generator for JavaScript


PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily. It integrates both lexical and syntactical analysis.

ParserSample


Lexer and Parser developed for my compilers class at Villanova using JFlex and JavaCUP