mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-08-15 14:50:42 +03:00
14 lines
388 B
Plaintext
14 lines
388 B
Plaintext
---
|
|
source: tests/golden_tests.rs
|
|
input_file: tests/golden_tests/parse_file/scape_chars.bend
|
|
---
|
|
(main) = (String/Cons 92 (String/Cons 32 (String/Cons 10 (String/Cons 32 (String/Cons 9 (String/Cons 32 (String/Cons 34 String/Nil)))))))
|
|
|
|
(String/Nil) = λ%x (%x String/Nil/tag)
|
|
|
|
(String/Cons) = λhead λtail λ%x (%x String/Cons/tag head tail)
|
|
|
|
(String/Nil/tag) = 0
|
|
|
|
(String/Cons/tag) = 1
|