miniblog.
← Back to all posts
Aug 11, 2017 at 22:46
macroexpand is itself a macro rather than a function in Julia. Seems odd to me: saves quoting, but makes expanding forms in vars trickier.
Wilfred Hughes
Related Posts
Apr 4, 2021 at 08:36
1
5
I've just added `and` to my toy lisp compiler:
https://github.com/Wilfred/proper-compiler-hat/commit/af5c77e30ecbf4884e71c1177a086337aa74d237
It's just a plain function, not a macro or special form. Is that so bad? I've seen confusing uses of `and` with truthiness e.g. `(and maybe-nil (compute-default))` and I'd rather avoid that.
feat: Bootstrapped compiler results use exit code from user's source · Wilfred/proper-compiler-hat@af5c77e
Contribute to Wilfred/proper-compiler-hat development by creating an account on GitHub.
Wilfred Hughes
Shared words: macro, rather, function, forms Score: 64.3
Feb 20, 2018 at 00:30
Current status: working on crazy go-to-definition tool for elisp:
https://github.com/Wilfred/elisp-def
It understands let, let*, global vars, functions and even macros that introduce bindings!* *Some terms and condition apply.
GitHub - Wilfred/elisp-def: Find Emacs Lisp definitions
Find Emacs Lisp definitions. Contribute to Wilfred/elisp-def development by creating an account on GitHub.
Wilfred Hughes
Shared words: vars, macro, function Score: 61.3
Sep 13, 2016 at 04:10
Emacs has 25 special forms! I was surprised about save-excursion (presumably perf?) and prog2 (could be a macro!).
Wilfred Hughes
Shared words: macro, saves, forms Score: 42