miniblog.
← Back to all posts
May 25, 2017 at 22:19
After implementing COND in my partial evaluator, I've concluded that IF is a better special form. COND simply has too many ways to use it.
Wilfred Hughes
Related Posts
Jan 18, 2018 at 23:49
Defining if, cond and progn in Rust in Remacs!
https://github.com/Wilfred/remacs/pull/598
The lispiest code I've read in ages :)
Port if, and, or, cond, and progn by shaleh · Pull Request #598 · remacs/remacs
Move original eval.rs to eval_macros.rs.
Wilfred Hughes
Shared words: COND Score: 39.2
Mar 17, 2017 at 20:04
Some Racket developers argue that cond should require a clause to match:
https://docs.racket-lang.org/cond-strict/index.html
(a robustness boon, but probably small)
cond: what it should have been
docs.racket-lang.org/cond-strict/index.html
Wilfred Hughes
Shared words: COND Score: 39.2
Jul 6, 2019 at 22:12
A really neat idea for LLVM: AST interpreters are slow, so clang's constexpr evaluator is slow. Write a small bytecode interpreter to make constexpr execution scale better!
[cfe-dev] [RFC] ConstExprPreter — clang constexpr interpreter
lists.llvm.org/pipermail/cfe-dev/2019-July/062799.html
Wilfred Hughes
Shared words: evaluator, better Score: 38.7