Skip to content

Valid keyword fails to parse #50

@kennyjwilli

Description

@kennyjwilli

Using jsedn 0.4.1, I get an error thrown when a keyword contains the ">" character. This is a valid EDN keyword as per the EDN spec.

Symbols begin with a non-numeric character and can contain alphanumeric characters and . * + ! - _ ? $ % & = < >.

Example failing case.

const edn = require("jsedn");
edn.parse("{:a->b 1}")
Uncaught 'provided an invalid symbol :a->b'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions