Search:

Menu

GPMachine

Download

Feedback/Contribution

Latest

Download GPMachine 3.0

Warning : this version follows Reinard Wilhelm and Dieter Maurer, Compiler Design pcode specification and removes some of the "custom" pcode introduced in previous versions.

Download

 GPMachine comes with ABSOLUTELY NO WARRANTY 
 This is free software, and you are welcome 
 to redistribute it under certain conditions. 
 See Gnu General Public License for details. 

Download GPMachine . This tar gzipped file contains the source (in Java) and an executable jar file. This software will not run with Java 1.3!

Installation

1. Extract the tar.gz file to some directory:

  • Linux/Mac : tar xzvf pmachine.tar.gz
  • Windows: the winzip utility deals with tar.gz file

2. Ensure that you have a JRE (Java Runtime Environment) or JSE (Java Standard Edition) installed. The version must be at least >= 1.4. Verify this by running "java -version". .

3. Check that your PATH environment variable contains $java_home/bin (where $java_home is the directory in which you installed the JRE). Also check that your CLASSPATH environment variable contains "java_home/lib".

Content

  • pmachine.jar : the executable jar file, containing the binaries of GPMachine
  • readme.txt : roughly, this file
  • gpl.txt : GNU General Public License
  • version.info: a text file containing all the information about the compiler used for building this distribution. If you are having some troubles, first check that your JRE (JDK) version matches what is contained in this file.
  • src/*: the source files
  • build.sh: a script to recompile the source file and make a new distribution file, gpmachine.tar.gz (uses bash). Open and read it for more info.
  • run.bat: a batch file for launching GPMachine under Windows
  • run.sh: a script file for launching GPMachine under Linux (uses sh)
  • examples/*.pm: Pcode sample files:
    • io.pm : showing how input/output is handled, reads an integer and write it back.
    • subcalls.pm : illustrating how subcalls are handled in the GPMachine (use the -gui option to view the stack!)
    • logics.pm : a bit of boolean logics.
    • arith.pm : some arithmetic operations
  • source/MainClass.java: the main class' source file.
  • source/pmachine/*.java : the source files of GPMachine. You are invited to contribute, see gpl.txt for details.
  • source/pmachinemf.mf : manifest file, used to build a jar file.
Page last modified on September 17, 2008, at 12:19 PM

copyright (c) 2008 by Faculté d Informatique, FUNDP Namur