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.
|
|
|
#lang racket/base
|
|
|
|
|
|
|
|
(module+ test
|
|
|
|
|
|
|
|
(require yaragg/examples/cutter
|
|
|
|
yaragg/support
|
|
|
|
rackunit)
|
|
|
|
|
|
|
|
;; related to rule-flattening problem
|
|
|
|
(check-equal?
|
|
|
|
(parse-to-datum (list "(" "x" "," "x" ")"))
|
|
|
|
'(top (expr (list "(" (expr "x") "," (expr "x") ")")))))
|