Skip to content

External JFlex Grammars

amyXia1994 edited this page Sep 25, 2020 · 33 revisions

Below is a list of known JFlex scanner specifications that are not included in JFlex's source tree.

Featured projects

Apache Lucene

A high-performance, full-featured text search engine. http://lucene.apache.org/

idea-jflex

An IntelliJ plugin for Flex files. jflex-de/idea-jflex

  • JFlex.flex The lexer for .flex files themselves.

JetBrains IntelliJ IDEA Community Edition

The Java IDE by JetBrains. https://www.jetbrains.com/idea/

N.B. IntelliJ uses a forked version of JFlex. See issue #199 for details.

jSyntaxPane

Text highlighting for many programming languages. nordfalk/jsyntaxpane

JSON

minimal java

Compiles Java to bytecode.

adamgemmell/minimaljava

Other implementations

  • Several JFlex scanner specifications (*.lex files) are included in the source code tar.gz, in the root of the tree.

Blendify

Uses a custom grammar to describe tests.

Cris21395/Blendify

cminor

A compiler for "C minor" (a reduced version of the C programming language) that produces AT&T assembly. bdusell/cmior

djinni

Look for *.jflex files:

OstermillerUtil Java Utilities (http://ostermiller.org/utils/)

Alternatively look in each (sub)directory for *.lex files:

Look for *.flex files:

Articles and examples

Github sample: calculator

PW486/calculator-compiler

Course: opencourses "Formal Languages Compilers" (2016)

Course: Format Language and compilers

eux90/FLC Solution of exams

Github sample: Chronicles (2016)

Learn how to create a new programming language and write your own compiler.

hexpheus/Chronicle

Article: "Handling Uncommon File Formats - Introducing Lexers" (2008)

in Java ranch. See .zip file from link "in this file"

Article: "Converting MIF to XML - Java Version" (2007)

Article