dev-srcloc
Matthew Butterick 8 years ago
parent 451c006d40
commit a331e63aac

@ -1,5 +1,6 @@
#lang br/quicklang
(require json)
(define-macro (js-module-begin PARSE-TREE)
#'(#%module-begin
(define result-string PARSE-TREE)

@ -1,8 +1,6 @@
#lang br
(require br/demo/jsonic-2/parser
br/demo/jsonic-2/tokenizer
brag/support
rackunit)
(require "parser.rkt" "tokenizer.rkt"
brag/support rackunit)
(check-equal?
(parse-tree (apply-tokenizer tokenize "// line commment\n"))

@ -1,4 +1,4 @@
#lang brag
jsonic-program: (s-exp | json-char)*
s-exp: SEXP-TOK
jsonic-program: (json-char | s-exp)*
json-char: CHAR-TOK
s-exp: SEXP-TOK

@ -1,4 +1,4 @@
#lang brag
jsonic-program: (s-exp | json-char)*
s-exp: SEXP-TOK
jsonic-program: (json-char | s-exp)*
json-char: CHAR-TOK
s-exp: SEXP-TOK

Loading…
Cancel
Save