JastAdd Implementation of HelloWorld on JavaCC

This is a "Hello world" example of a JastAdd project that uses JavaCC as its underlying parser generator. An extremely small language "Hello" is defined. Each program in the language consists of two identifiers. An extremely simple compiler called SongGenerator generates a very short song from the two identifiers. For example, from the program "goodbye hello", the following song is generated: "You say goodbye and I say hello". From the program "yes no", the following song is generated: "You say yes and I say no".

You can try out this project either from a terminal window or from Eclipse.

To create your own project, it is useful to take a copy of this project and rename it. The name of the language ("Hello") is used in a few places. The following commands are useful to find out which files you need to edit:

grep -i Hello * */*
ls * | grep -i Hello

Contents of this directory