User loginNavigation 
Ï€: a pattern languageπ  not to be confused with the πcalculus  is a patternbased language being developed by the Software Technology group at Technische UniversitÃ¤t Darmstadt. Quoting from the project website:
The basic idea here seems similar to the OMeta language, previously mentioned on LtU here, but based on EBNF instead of Parsing Expression Grammars (PEGs). Pattern definitions in π have the form declare_pattern name â‰” syntax â‡’ type âžž meaning; Here's a trivial example of defining a pattern: declare_pattern integer_potentiation â‰” integer:i %W "^" %W integer:j â‡’ integer âžž { int result = i; for (int k = 1; k <= j1; k++) result *= i; return result; }; The resulting pattern can then be used directly in expressions, such as More information about the language, as well as the implementation, can be found at http://www.piprogramming.org. There's an OOPSLA09 paper on π as well, but I haven't been able to find an open access version of it yet. [Update: the π team has made their OOPSLA article available here] 
Browse archivesActive forum topics
New forum topics

Recent comments
1 day 19 hours ago
3 days 14 hours ago
2 weeks 15 hours ago
2 weeks 6 days ago
3 weeks 6 days ago
5 weeks 4 days ago
6 weeks 19 hours ago
7 weeks 1 day ago
7 weeks 4 days ago
7 weeks 5 days ago