Implementation of a HUMON parser. HUMON is a human input friendly object notation that compiles to JSON
Want to see pretty graphs? Log in now!
npm install humon
|2||downloads in the last week|
|4||downloads in the last month|
|Last Published By|
|Version||0.0.0 last updated a year ago|
|Keywords||object, notation, json|
Humon is a human friendly object specification notation. Like JSON, but less annoying to type. NOTE: this is nowhere NEAR production ready. It was spun out of a personal project; updates pending.
HUMON parses down to json. It's based heavily off of the coffee script grammar with a few differences:
- string inference: fewer quotation marks!
- list inference: fewer square brackets!
- Date objects
- YAML compatability
More updates at Humon project homepage
cake makeParserinvokes jison to write the parser to
cake buildremoves all js from
lib/, and remakes the parser.
cake bundlebundles humon.coffee into a single file (contains the lexer, parser, and recurser)
npm testto run tests (via jasmine-node)