aboutsummaryrefslogtreecommitdiff
path: root/notmuch.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-08-24 08:17:41 -0700
committerDavid Bremner <david@tethera.net>2021-09-04 17:07:19 -0700
commit551254eb76c9bb558078f04f21df1f6089cb03d6 (patch)
tree4c2e99bf8a1e387d1b7ac4f1943410c3f22a844f /notmuch.c
parent3eca7fcf10a63e642e627539442271872fca58fd (diff)
lib/parse-sexp: apply macros
Macros implement lazy evaluation and lexical scope. The former is needed to make certain natural constructs work sensibly (e.g. (tag ,param)) but the latter is mainly future-proofing in case the DSL is is extended to allow local bindings. For technical background, see chapters 6 and 17 of [1] (or some other intermediate programming languages textbook). [1] http://cs.brown.edu/courses/cs173/2012/book/
Diffstat (limited to 'notmuch.c')
0 files changed, 0 insertions, 0 deletions