Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Pizza

< >

Pizza is a programming language created in 2001.

#858on PLDB 23Years Old
Homepage · Wikipedia

Pizza is an open-source superset of Java 1.4, prior to the introduction of generics for the Java programming language. In addition to its own solution for adding generics to the language, Pizza also added function pointers and algebraic types with case classes and pattern matching. In August 2001, the developers made a compiler capable of working with Java. Read more on Wikipedia...


Example from hello-world:
class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } }
Example from Wikipedia:
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; })); while(x == 0) { map.create.newInstance() } } }

Language features

Feature Supported Example Token
Strings
"Hello world"
"
Print() Debugging System.out.println

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll