Frequently asked questions

Skip to end of metadata
Go to start of metadata
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 30, 2008

    Anonymous

    How do I build mantra? Specifically, I'm trying to get it running under OSX 10.5.

  2. Dec 01, 2008

    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.

  3. Mar 30, 2009

    Anonymous

    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.

  4. Mar 30, 2009

    Anonymous

    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?

  5. Mar 31, 2009

    You need to run ANTLR on them. Note that I'm not really supporting this, just showing people an example of antlr.
    Ter