Package pnuts.lang

Interface Summary
AbstractData In Pnuts, method call of an object implements this interface causes a call of the invoke() method.
Indexed indexed[idx] ==> indexed.get(idx) indexed[idx] = value ==> indexed.set(idx, value)
Numeric In Pnuts, arithmetic operations for objects implements this interface causes a call of the corresponding methods in this interface.
PackageFactory When an instance of this interface is registered by Package::setPackageFactory() method, package() builtin function calls its createPackage() method.
PnutsParserTreeConstants  
Property In Pnuts, access to a property of an object implements this interface causes a call of methods in this interface.
QuantityFactory A factory class for unit numbers.
Value Objects of this class are returned by Package.lookup() method.
Visitor This is the interface of Visit operations for a syntax tree.
 

Class Summary
Arithmetic The Arithmetic class is geared for transparent multi-precision arithmetic operations.
Context Context represents an internal state in Pnuts runtime environment.
Function This class represents a function with a certain number of parameters.
ManualContext This class represents a runtime context of the interpretation.
Package This class represents a Pnuts package (not Java's).
Pnuts "Manager" class for Pnuts interpreter.
"pnuts" command starts from main method of this class.
Annotated reference manual is here.
PnutsFunction A PnutsFunction represents a group of Pnuts functions with a same name.
Runtime This class provides runtime supports for Pnuts compiler/interpreter.
SimpleNode  
 

Exception Summary
Jump This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers.
ParseException This exception is thrown when parse errors are encountered.
PnutsException This is a wrapper class for Exception to be thrown.