encyclopegia.org

Pizza (programming language)

Pizza is an open-source superset of Java 1.4, prior to the introduction of generics for the Java programming language.[src] 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.[src] In August 2001, the developers made a compiler capable of working with Java.[src] Most Pizza applications can run in a Java environment, but certain cases will cause problems.[src] Pizza's last version was released in January 2002.[src] Its main developers turned their focus afterwards to the Generic Java project: another attempt to add generics to Java that was officially adopted as of version 5 of the language.[src] The pattern matching and other functional programming-like features have been further developed in the Scala programming language.[src] Martin Odersky remarked, "we wanted to integrate the functional and object-oriented parts in a cleaner way than what we were able to achieve before with the Pizza language.[src] [...] In Pizza we did a clunkier attempt, and in Scala I think we achieved a much smoother integration between the two."[src]

Pizza is an open-source superset of Java 1.4, prior to the introduction of generics for the Java programming language.[src] 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.[src] In August 2001, the developers made a compiler capable of working with Java.[src] Most Pizza applications can run in a Java environment, but certain cases will cause problems.[src] Pizza's last version was released in January 2002.[src] Its main developers turned their focus afterwards to the Generic Java project: another attempt to add generics to Java that was officially adopted as of version 5 of the language.[src] The pattern matching and other functional programming-like features have been further developed in the Scala programming language.[src] Martin Odersky remarked, "we wanted to integrate the functional and object-oriented parts in a cleaner way than what we were able to achieve before with the Pizza language.[src] [...] In Pizza we did a clunkier attempt, and in Scala I think we achieved a much smoother integration between the two." ==Example== 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() } } } ==References== ==External links==[src]

18 sentences · 18 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Pizza (programming language)." encyclopegia.org, 2023, https://encyclopegia.org/wiki/pizza-programming-language. Accessed 26 November 2026.

Chicago

"Pizza (programming language)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/pizza-programming-language.

APA

encyclopegia.org. (2023). Pizza (programming language). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/pizza-programming-language

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date2002Wikipedia

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

Category:Programming languages

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1140291539 · 0.5 · snapshot enwiki-001140291539

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.