The Egison Programming Language

- Express Intuition Directly with Essentially New Syntax -

Egison is a programming language that features the customizable efficient non-linear pattern-matching facility for non-free data types.
We can directly represent pattern matching for a wide range of data types including lists, multisets, sets, trees, graphs, and mathematical expressions.
Egison makes programming dramatically simple!

Pattern-Matching-Oriented

Egison proposes a new paradigm pattern-matching-oriented. The combination of all of the following features enables intuitive powerful pattern matching.

  • Efficiency of the backtracking algoirthm for non-linear patterns
  • Extensibility of pattern matching
  • Polymorphisim in patterns

Concept of Egison Pattern Matching (5 mins)

Computer Algebra System

Egison allows programmers to use tensor index notation including the support for differential forms.
Egison introduces two types of parameters, scalar and tensor parameters, and a set of simple index reduction rules for that.

Demo: Riemann Curvature Tensor of `S^2` » Tensor Paper on arXiv.org

Online Demonstrations

Please try Egison's original features.

Installation

Mac OS X Linux Windows

Egison Cheat Sheet

Please refer this cheat sheet when you write Egison programs.


Aims

We aim at intuitive representation of algorithms and formalization of human recognitions.
We believe this is the shortest way to the artificial intelligence.

Open-Source

Developed and maintained on GitHub by the community. License is MIT.

Haskell

Egison is written in Haskell and being distributed as a Hackage package.
Egison inherits a lot of features from Haskell.

Related Projects

Extending other languages to access Egison pattern matching!


Community

We have a mailing list!
Egison on Twitter, Google+, Facebook, GitHub, Rosseta Code, Hacker News, and Reddit. Please check them!


This website in other langauge: English, 日本語