test/test.sexp
raw| 1 | (this is a list) |
| 2 | |
| 3 | (this is another list and (this is a nested list)) |
| 4 | |
| 5 | ( |
| 6 | "\ |
| 7 | This is a multi-line \ |
| 8 | string with embedded |
| 9 | |
| 10 | newlines." |
| 11 | |
| 12 | "This string contains decimal \255, hex \xff codes, \ |
| 13 | and other \\ \n escapes." |
| 14 | |
| 15 | A# # ## #x| |
| 16 | ) |
| 17 | |
| 18 | ; Line comment |
| 19 | |
| 20 | #; ( |
| 21 | S-expression comment |
| 22 | ) |
| 23 | |
| 24 | #| #| Nested |# block comment "|#" |# |
| 25 | |
| 26 | #| "" |# |
| 27 | #| ""|# |
| 28 | #|"" |# |
| 29 | #|""|# |
| 30 | |
| 31 | #| "asdf" "asdf" |# |
| 32 | |
| 33 | (something #| ; |# () "something else") |
| 34 |