./lang/joos, Java Object Oriented Subset

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2016Q1, Version: 0.2nb1, Package name: joos-0.2nb1, Maintainer: pkgsrc-users

Joos is an acronym for Java's Object-Oriented Subset. JOOS is a
proper subset of Java, defined as follows:
* its context-free syntax is restricted to the following grammar;
* subclassing must not change the signature of a method;
* declarations of locals must all be in the beginning of the statement
sequence in a block;
* protected fields cannot be accessed from without the class or its
subclasses; and
* every path through a non-void method must return a value.

In addition, JOOS defines a concept of extern classes, which provide
a convenient interface to the Java libraries without requiring the
compiler to parse Java class files.

It defines a class name and some method signatures, along with a file
name that is guaranteed to provide the implementation. The JOOS compiler
will implicitly trust this specification. If it is incorrect,
then the compiled JOOS class file may fail at class loading time.

JOOS is used for teaching students about compilers.


Required to run:
[lang/openjdk8]

SHA1: ffc3a53908353f6ae4f1150f7e03086bfff787c7
RMD160: 044f876a97ba11363a24e2cbb5860e13796bd10f
Filesize: 278.402 KB

Version history: (Expand)