lang/joos 0.2nb1 NetBSD
Java Object Oriented Subset
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- lang, java
- Package size
- 329.5 KiB, 1386.8 KiB installed
Description
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.
Install
Binary package:
pkgin install joos
From pkgsrc:
cd /usr/pkgsrc/lang/joos && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.2nb1 |
| NetBSD 10.1 aarch64 | 0.2nb1 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | - |
Dependencies
Run dependencies 1
No port depends on this one.