custom notations for data structures
programming is personal again
Imagine freedom of notations.
Custom notations are a novel, open source, technology providing
support, offering the following main features:
Custom notations can make programming more expressive, shorter, more
personal, and more fun.
- Generalized pattern matching:
Every programmer knows regular expressions, and how useful they
are for matching simple or complex patterns within text (that is,
within strings). MyPatterns implement a generalized form of
pattern matching, for any data structures, beyond solely
strings. This is achieved by using "JSON patterns", an integration
of two well-known notations: JSON and regular expressions
- Notational APIs:
When designing the API of a class (its externally visible
methods and fields), programmers using myPatterns can also define
a concrete syntax for matching objects of that class
(i.e. for selecting and de-composing objects). This syntax, also
known as a "matching notation", is defined as easily as overriding
a single method of that class. If this method is not overwritten,
object of that class can still be matched in the default notation.
- January 20th, 2012: the paper about myPatterns, accepted
is now available online
- May 30th, 2010: myPatterns/Java v0.1 is released, including a
tutorial and regex support
- May 30th, 2010: myPatterns/JS v1.1 is released, including an
updated tutorial and regex support
- April 1st, 2010: myPatterns/JS v1.0 is released, rewritten from
scratch and much easier to use
- May 16th, 2009: added a comparison between myPatterns & JSONQuery.
- May 10th, 2009: added a comparison between myPatterns & LINQ.
- May, 2009: myPatterns/JS v0.4 is released, adding support for
select-style queries based on patterns.
- April 23rd, 2009: The Ajaxian
- April 2009: myPatterns/JS v0.3 is released.