Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Pizza programming language


Pizza is an open-source extension to Java programming language with the following new features:

The Pizza language design began in August 2001 when the developers made a compiler capable of working with Java. Pizza is designed to be a superset of Java, meaning any application written in Java will also be a valid Pizza application. Speed tests have shown the Pizza compiler works twice as fast as the Java compiler, but since no optimization is performed while compiling a Pizza application, the resulting application is rather cumbersome. However, the design of a compiler optimizer is currently in the works. Most Pizza applications can run in a Java environment, but certain cases will cause problems in the Java compiler. Work on the Pizza compiler is still ongoing, but Sun Microsystems and the Java community is showing increased interest in this project.

1 Example

This was taken from [1].

public final class Main { public int main(String args[]) { System.out.println( new Lines(new DataInputStream(System.in)) .takeWhile(nonEmpty) .map(fun(String s) -> int { return Integer.parseInt(s); }) .reduceLeft(0, fun(int x, int y) -> int { return x + y; })); } }

2 See also

3 External links

Programming languages Java programming language family

Read more »

Non User