Remix.run Logo
▲ Onavo 2 hours ago

Tbh I don't understand why people don't like the intermediate representation. It's ridiculously high level compared to say x64 or ARM or even RISC V assembly. It's a simple lisp that most high schoolers who have taken basic programming can read it without issue.

I can't think of a single other production level VM with such an easy to read decompiled form.

▲cestith 9 minutes ago | parent | next [-]

People who hate Lisp or hate S-expressions generally won't like WAT. That's what I see in Wax - a Rust lover wants something more Rust-like than Lisp-like.

Lisps are really handy, though, because it's basically textual representation of an AST. Code is data, data is code, and a tree walker with minimal lexing and parsing can interpret the thing through (eval ), compile it, or make transformations to the tree. There's not much hidden semantics in special syntax.

▲LeFantome 2 hours ago | parent | prev [-]

CIL