Implement load.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 2 Nov 2016 19:25:08 +0000 (20:25 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Dec 2016 19:33:49 +0000 (20:33 +0100)
commit97300ef6ae8605e6078e9c47311169cab8505b9e
tree92646747e70e9028e9050b935558c4797dcded22
parent70bdab709096ca73f41db15e3610f362273487e1
Implement load.

* mes.c (symbol_primitive_load): New symbol.
  (builtin_eval): Use it to implement primitive-load.
* module/mes/base-0.mes (push!, pop!): New macro.
  (load): New macro.
* tests/data/load.scm: New file.
* tests/base.test (load): New test.
mes.c
module/mes/base-0.mes
tests/base.test
tests/data/load.scm [new file with mode: 0644]