LLK Release 0.4 Release notes |
| Home | |
ChangesThis release has massive and incompatible changes. See detail change history here ....Some highlights:
|
Requirement to runThe current distribution is developed and tested with Java 1.5.0 and Linux. Since it is written completely in Java, it MAY work in other environment. These are packages required and being tested on.
|
Requirement to run generated parsersGenerated code should be self contained and require only Java JRE to run (unless user actions use other libraries, of course):
|
Requirement to compileThe current distribution is developed and tested only in Linux. Since it is written completely in Java, it may work in other environment. These are packages required and being tested on.
|
Installation and RunningRunning the binaryLLK binary distribution include the ready to run binaryllk.jar and required libraries. The main
class (sf.llk.impl.LLKMain ) should run without Eclipse provided the jar files to getopt
, Jakarta-oro , blacksun-util packages are in the classpath. To run the binary,
for example:
java -classpath $(classpath) sf.llk.impl.LLKMain \ -o src/a/parser -module a.parser \ -sdir src/a/support -smodule a.support \ A.ll Compiling from the sourceThe package is developed and tested in Eclipse v3.1 GTK for Linux and Java 1.5.0. This release use the
fireant build system from the black-sun project. The
builders are located in the llk-fireant project.
The following directory structure is assumed: eclipse/ plugins/ org.apache.ant_1.6.5/ ... ext/ getopt.jar Jakarta-oro-2.0.6.jar blacksun-util.jar llk.jar ... llk/ src/ bin/ ... llk-fireant/ ... ...where eclipse/ is the Eclipse installation. ext/ is the directory that contains the
support libraries (eg. Jakarta-oro). llk/ , ... etc are the project directories from the source
distribution.
To build from the source:
Rebuilding the LLK parserThe LLK parser is generated by LLK itself. To regenerate the lexer, parser and treeparsers from LLK.ll ... etc, a LLK binary is required (one is included in the binary distribution).
|
Status and plansThe code is considered to be beta quality. It is usable for some real life work. However, it is by no means thoroughly tested.
There are a number of sample grammar projects, eg. |
| Home | |