Well, it's just java code really so you should be able to run javac on all subdi...
Well, it's just java code really so you should be able to run javac on all subdirs from the main mantra source dir. Needs antlr v2, v3, and StringTemplate.
How do use mantra with the grammar files,such as mantra.g, SemanticPhase.g, Code...
How do use mantra with the grammar files,such as mantra.g, SemanticPhase.g, CodeGen.g? and I have used this files with antlrworks, but I find some errors in the file CodeGen.java. Maybe, something is wrong with my steps.
It is different between Java files from source distribution and Java files gener...
It is different between Java files from source distribution and Java files generated from Mantra.g, SemanticPhase.g, CodeGen.g, Why? Where the Java files in the source distribution comes from? and How can I get an executable java files from grammar files such as Mantra.g, SemanticPhase.g, CodeGen.g?
Comments (5)
Nov 30, 2008
Anonymous says:
How do I build mantra? Specifically, I'm trying to get it running under OSX 10.5...How do I build mantra? Specifically, I'm trying to get it running under OSX 10.5.
Dec 01, 2008
Terence Parr says:
Well, it's just java code really so you should be able to run javac on all subdi...Well, it's just java code really so you should be able to run javac on all subdirs from the main mantra source dir. Needs antlr v2, v3, and StringTemplate.
Mar 30, 2009
Anonymous says:
How do use mantra with the grammar files,such as mantra.g, SemanticPhase.g, Code...How do use mantra with the grammar files,such as mantra.g, SemanticPhase.g, CodeGen.g? and I have used this files with antlrworks, but I find some errors in the file CodeGen.java. Maybe, something is wrong with my steps.
Please give me a more detail
~~~~
Thanks a lot.
Mar 30, 2009
Anonymous says:
It is different between Java files from source distribution and Java files gener...It is different between Java files from source distribution and Java files generated from Mantra.g, SemanticPhase.g, CodeGen.g, Why? Where the Java files in the source distribution comes from? and How can I get an executable java files from grammar files such as Mantra.g, SemanticPhase.g, CodeGen.g?
Mar 31, 2009
Terence Parr says:
You need to run ANTLR on them. Note that I'm not really supporting this, just s...You need to run ANTLR on them. Note that I'm not really supporting this, just showing people an example of antlr.
Ter
Add Comment