The goal of the project is to create extensible compiler to JVM. The compiler uses plugins and extensible syntax defined in separate project.
Be the first to post a text review of Extensible Compiler for JVM. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Java version of parser 0.0.1 is packaged is released along with xj demos.
Java version of parser, now with language extesiblity support is put in CVS. Also grammar for XJ language was developed, but currently it is under testing. See modules "xj" and "gtl" in cvs. Code works, but it is very difficult to use due lack of utilities.
.NET Term parser have been converted to pull pull model. Also first performance measurements or parsing have been performed. For 100002 (>2 mb) line file that contain repeated text: package test; class public HelloWorld { to static public main(args:array[String]) { System.out.println("Hello, World!"); }; }; The parsing time on PIII 866 512MB of PC133 with .NET runtime was 00:00:16.1732560 and for 10004 lines 00:00:01.7625344. Less then 10 times grows has been possibly caused by by fact that grammar compilation time is included. This time includes time spent building dom tree of source code, the time had been measured by gtl2xml program. Time of printing dom tree is not included. Please note that: 1. grammar complier does not optimize yet. 2. grammar compiler compiles to bytecode rather then native .NET code. 3. Used grammar is quite simple 4. Source is quite simple, particutlary there are no deep nesting So on real text result could be worse. But if it will be worse even in 8 times, result still looks good. 100000 lines project do not happen very oftern.
Term parser for hello world sample created. A gtl2xml tool is written and works so and gtl file could be converted to xml file. Term parser is written in C# and available as "df" module in cvs.
I were experimenting with python-like segment syntax lately. Such syntax have much more simple error recovery, which were a problem with java-like sysntax. Term sysntax part is being written, but do not expect anything very soon. http://sourceforge.net/docman/display_doc.php?docid=5925&group_id=11569
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?