ox-lang / ox

Ox - An immutable statically typed Lisp for the JVM
https://ox-lang.org
66 stars 3 forks source link

Reader support for arbitrary open/close characters #15

Closed arrdem closed 9 years ago

arrdem commented 9 years ago

The Ps character class is matched with the Pe character class. This allows for the creation of a custom LispReader implementation which as I've messed with before does indeed support arbitrary UTF8 open/close pairs. Note that this is a strict syntactic superset of Clojure as the | and < > characters are not defined in either the Ps or Pe character classes thus not breaking existing code which may use them as identifiers.

arrdem commented 9 years ago

Implemented, although somewhat silly