LamTVB / Templor

This template engine was developped for the class INF7641

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mino is a minimal object language.

The purpose of this project is to illustrate the construction of a
small interpreter and a small compiler for an object language.

The lexer and parser are built using sablecc-4-beta.2.

HOW TO COMPILE MINO
===================

In order to compile Mino, you must first compile the grammar files.

java -jar path-to-sablecc-4-beta.2/lib/sablecc.jar -d src -p mino grammar/mino.sablecc

Once this is done, you can compile the java files, in the src/
directory, as you would normally.

An Eclipse project file has been included so that you can easily
import the project into Eclipse and compile it there.

On Windows, replace all the "/" above by "\".

HOW TO COMPILE TEMPLOR
======================

In order to compile Templor, it is the same command but replace mino by templor.

java -jar path-to-sablecc-4-beta.2/lib/sablecc.jar -d src -p templor grammar/templor.sablecc

Have fun!

To download sablecc-4-beta.2 : http://www.sablecc.org/downloads

About

This template engine was developped for the class INF7641

License:Apache License 2.0


Languages

Language:Java 100.0%