Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
14 user(s) are online (13 user(s) are browsing encyclopedia)

Members: 0
Guests: 14

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Pizza programming language

Pizza is an open source superset of the Java programming language with the following new features:

  • Generic programming
  • Function pointers
  • Class cases and pattern matching (a.k.a Algebraic types)
  • In August 2001 the developers made a Compiler capable of working with Java. Speed tests have shown the Pizza compiler works twice as fast as the Java compiler, but as it currently performs no optimization the resulting application is rather cumbersome. Most Pizza applications can run in a Java environment, but certain cases will cause problems.

    Work on Pizza has more or less stopped since 2002. Its main developers have concentrated instead on the GJ project, another attempt to add generics to Java which was eventually adopted into the official language version 1.5.

    = Example =

    Taken from [http://pizzacompiler.sourceforge.net/examples/enumerator.html].

    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; })); } }

    = External links =

  • [http://pizzacompiler.sourceforge.net/ Pizza Compiler]