Questions tagged [s-expression]
S-expression is a form of syntax with parentheses used most notably by LISP and WebAssembly Text Format. For instance, "1 + 2 * 3" would, using S-expressions, be written as "(+ 1 (* 2 3))".
1 question
0
votes
3
answers
334
views
How do compilers which output WebAssembly Text Format (or any other LISP-like language) make sure the assembly code is indented consistently?
So, I recently run into this bug in the compiler for my programming language that outputs WebAssembly Text Format. Here is what the output looked like:
I fixed it by changing in my compiler:
...