You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
305 B
Racket
11 lines
305 B
Racket
2 years ago
|
#lang racket/base
|
||
|
|
||
|
(require brag/examples/codepoints
|
||
|
rackunit)
|
||
|
|
||
|
(check-equal? (parse-to-datum '("\"A\\" "'c\\" "*d\\ef\"" "hello world"))
|
||
|
'(start (A "\"A\\")
|
||
|
(c "'c\\")
|
||
|
(def "*d\\ef\"")
|
||
|
(hello-world "hello world")))
|