This compiler is based on a made-up language called PCL.
To build PCL Compiler you'll need:
- Install Java 8
- Install Apache Ant, using their instructions and one of their Binary Distribution.
- Ant 1.9 or later is required.
- Clone the source repository from Github.
- On the command line, enter:
$ git clone https://github.com/kevinah95/pcl-compiler.git
- Open a terminal/console/command prompt, change to the directory where you cloned pcl-compiler, and type:
$ cd src/com/pcl/lexer/
$ ant run
No problem, here are more details for what may have gone wrong:
-
Make sure that
java
is available. From any terminal/console/command prompt, and typejava
and see what happens. If it says something likecommand not found
, then it may be the case that -
Java may not be installed (did you really skip the first line of the instructions above?)
-
The wrong version of Java is installed (32-bit instead of 64-bit, or vice-versa)
-
The
java
command is not in your system's PATH. -
Computers don't like you.
-
Make sure that
ant
is available. Do the same steps as withjava
, above.
See our CONTRIBUTING.md page for details. Bugs can be reported here on Github.
PCL Compiler is licensed to the public under the terms of the MIT License. Alternate licensing options are available. For complete licensing information, see the LICENSE file in this repository.