OpenFDL Compiler v0.9.0

Table of Contents


Description

OpenFDL is an open-source frame description language compiler. So in other words you enter something in FDL and you get a header file that you can use in TI Flash Studio. I felt it was a good idea to make this, since (1) TI never did, and (2) it's a good way to learn ANTLR (In fact, if you want to learn ANTLR, I recommend trying to make this app all over again, and if you need help, just take a peak at the source code).

Running OpenFDL

Requirements:
Step 1: Install Java, if you haven't already done so.
Step 2: Download and move antlr-2.7.5.jar to the directory with openfdl.jar in it.
Step 3: Open a console window and type something to the effect of
java -jar openfdl.jar infile.fdl outfile.h
You will either get outfile.h, a usage statement from OpenFDL or an error message from Java. Good luck!

Support

If you have any other questions, comments, or bug reports, feel free to e-mail me.

License

OpenFDL Compiler

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

History
0.1start
0.1.1usage
0.1.2apache ant
0.2antlr scanner
0.2.1literals, comments, etc
0.2.2operators
0.3antlr parser
0.3.1C types
0.3.2frame types
0.3.3declarations
0.3.4ast building
0.4generic AST reader (scrapped)
0.5antlr treeparser
0.5.1grammer file
0.5.2var/appvar declaration
0.5.3func declaration
0.5.4appfunc declaration
0.5.5methods and fields
0.5.6nodes
0.5.7slot numbers
0.6file output
0.6.1node structure
0.6.2variables
0.6.3functions
0.6.4header
0.6.5parameters
0.7error catching
0.7.1AST [TreeParser]
0.7.2Lexer [Parser]
0.8(skipped)
0.9debug / release candidate
1.0finish - not here yet