logoalt Hacker News

cestith • today at 7:45 PM • 1 reply • view on HN

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.


Replies

masklinn • today at 8:03 PM

Except this lisp does not come with quoting or eval, and if you want to parse it you’ll probably have an easier time with the bytecode itself.