Skip to content

Instantly share code, notes, and snippets.

@Skrylar
Skrylar / JSON.red
Last active October 20, 2015 16:19 — forked from dockimbel/JSON.red
JSON toy parser for Red
Red []
digit-nz: charset "123456789"
digit: append copy digit-nz #"0"
hex: append copy digit "abcdefABCDEF"
sign: charset "+-"
exponent-e: charset "eE"
dquot: #"^""
exponent: [ exponent-e opt sign some digit ]