Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Pizza

< >

Pizza is a programming language created in 2001.

#923on 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

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0