Related articles |
---|
[ANNOUNCE] SableCC mailing list egagnon@sprynet.com (Etienne Gagnon) (1998-03-22) |
From: | "Etienne Gagnon" <egagnon@sprynet.com> |
Newsgroups: | comp.compilers |
Date: | 22 Mar 1998 20:23:38 -0500 |
Organization: | Compilers Central |
Keywords: | Java, OOP |
Hi!
I would like to announce the new SableCC mailing list. To get information on
how to subscribe, please visit the site: http://www.sable.mcgill.ca/sablecc/
About SableCC:
--------------
SableCC is an object-oriented framework that generates compilers (and
interpreters) in the Java programming language. This framework is based on
two fundamental design decisions. Firstly, the framework uses
object-oriented techniques to automatically build a strictly-typed abstract
syntax tree that matches the grammar of the compiled language and simplifies
debugging. Secondly, the framework generates tree-walker classes using an
extended version of the visitor design pattern which enables the
implementation of actions on the nodes of the abstract
syntax tree using inheritance. These two design decisions lead to a tool
that supports a shorter development cycle for constructing compilers.
SableCC is free software. It comes with full source code and examples. One
example is a small, fully functional, BASIC interpreter written in less than
300 lines of commented Java code.
SableCC supports DFA based Unicode lexers (with lexer states) and pure
LALR(1) parsers. It also supports the ?, * and + EBNF operators.
You can download SableCC from the Sable Research Group's web page at:
http://www.sable.mcgill.ca/sablecc/
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.