simple codepoint test
parent
a49c932a54
commit
b0b073d393
@ -1,5 +1,6 @@
|
|||||||
#lang brag
|
#lang brag
|
||||||
start: "\101" ; A
|
start: A c d e
|
||||||
| "\U0063" ; c
|
A : "\101" ; A
|
||||||
| "\u64" ; d
|
c : "\U0063" ; c
|
||||||
| "\x65" ; e
|
d : "\u64" ; d
|
||||||
|
e : "\x65" ; e
|
@ -0,0 +1,6 @@
|
|||||||
|
#lang racket/base
|
||||||
|
|
||||||
|
(require brag/examples/codepoints
|
||||||
|
rackunit)
|
||||||
|
|
||||||
|
(check-equal? (parse-to-datum "Acde") '(start (A "A") (c "c") (d "d") (e "e")))
|
Loading…
Reference in New Issue