Skip to content

A small collection of (spaghetti-code) Joos 1 benchmark programs.

Notifications You must be signed in to change notification settings

jhckragh/joos1bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joos1bench
==========

This is a small collection of (spaghetti-code) Joos 1 benchmark programs
currently including

 * textutils: Implementations of wc, tr, and echo.

 * joos1lexer: A lexer for Joos 1.

 * joos1syntax: A terribly written syntax checker for Joos 1 that
   outputs poor error messages and stops on the first error it
   encounters.

Joos 1 is a subset of Java 1.3; it's used as the source language in
the compilers course at Aarhus University. (The course currently uses
Ocaml as the implementation language.)


Usage
-----

Each of the top-level directories contains an Ant build.xml file. To
compile one of the programs in this collection, `cd` into the
directory containing it and run `ant -Djoosc=/path/to/your/joos1-compiler`.
For instance, to compile `textutils` one might do as follows:

    $ cd textutils
    $ ant -Djoosc=/home/$USER/bin/joos


License
-------

Public domain: http://creativecommons.org/publicdomain/zero/1.0/

About

A small collection of (spaghetti-code) Joos 1 benchmark programs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published