2024-02-06 14:27:30 +03:00
|
|
|
---
|
|
|
|
source: tests/golden_tests.rs
|
2024-05-15 01:25:46 +03:00
|
|
|
input_file: tests/golden_tests/parse_file/scape_chars.bend
|
2024-02-06 14:27:30 +03:00
|
|
|
---
|
2024-05-15 21:23:26 +03:00
|
|
|
(main) = (String/Cons 92 (String/Cons 32 (String/Cons 10 (String/Cons 32 (String/Cons 9 (String/Cons 32 (String/Cons 34 String/Nil)))))))
|
2024-05-09 22:11:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(String/Nil) = λ%x (%x String/Nil/tag)
|
2024-05-09 22:11:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(String/Cons) = λhead λtail λ%x (%x String/Cons/tag head tail)
|
|
|
|
|
|
|
|
(String/Nil/tag) = 0
|
|
|
|
|
|
|
|
(String/Cons/tag) = 1
|