Implement macros with maps instead of vectors.
authorNicolas Boulenguez <nicolas.boulenguez@free.fr>
Sun, 14 Jul 2019 15:07:44 +0000 (17:07 +0200)
committerNicolas Boulenguez <nicolas.boulenguez@free.fr>
Sun, 14 Jul 2019 17:47:58 +0000 (19:47 +0200)
commit809d74cba78643b1a452fe80e810cc3c0ce4f4e6
tree387a0ca671ac169f58c6c38cd2cd318032752882
parentcb9b0654fe2de50788d9563378f21b17f1073938
Implement macros with maps instead of vectors.

Output of macros will probably be more readable.

Inline _macro_wrap and _unwrap for efficiency (there are less
primitive operations for maps than for vectors).

Basic check of `map?` and `macro?`. Swap them in order to simplify the
diff with cb9b0654.
mal/core.mal
mal/step8_macros.mal
mal/step9_try.mal
mal/stepA_mal.mal
tests/step9_try.mal
tests/stepA_mal.mal