edn-format / edn

Extensible Data Notation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extra symbols in Symbol

richard-lyman opened this issue · comments

Will other symbols be allowed in Symbol?

I'm thinking of: ~ ` @ $ % ^ & + = | \ < >

I'd love in particular: | and %

As a bit of an explanation of my preferences for those characters:

I use them in Amotoen peg grammars for the concepts of Alternation (|) and Any-Not (%).

I'd love to describe Edn in Edn with only a few extra tags 'cluttering' up the definition: https://github.com/richard-lyman/amotoen/wiki/edn

I realized that those symbols are already allowed - the first character only needs to be non-numeric.