Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

[edn] Allow hyphen (-) in symbol and keyword names #219

@ncalexan

Description

@ncalexan

Names such as :foo-bar and :foo-bar/baz-boz are legal Clojure (and EDN). I assume this is just an oversight.

The code that needs to be changed is at https://github.com/mozilla/mentat/blob/rust/edn/src/edn.rustpeg#L87; see the more permissive code at https://github.com/mozilla/mentat/blob/rust/edn/src/edn.rustpeg#L78 for suggestions on how to expand this.

The proposed grammar at edn-format/edn#56 may be authoritative here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions