Another rewrite, this time to treat programs as anonymous libraries.
authorChris Hanson <org/chris-hanson/cph>
Sat, 6 Oct 2018 23:28:42 +0000 (16:28 -0700)
committerChris Hanson <org/chris-hanson/cph>
Sat, 6 Oct 2018 23:28:42 +0000 (16:28 -0700)
commitee9b96914dfcf86b10af113cb11b9a4b764ecbcc
tree3161c6241fdfc1bfdf807f81cb021dc49c826d05
parent4576f0b46adeb6a97c1426781cd22c038b83adda
Another rewrite, this time to treat programs as anonymous libraries.

This change simplifies handling programs since they can now use the machinery
developed for libraries.  So now r7rs-source is just a combination of some
libraries and an optional program.

Also added property 'imports-environment to get the environment prior to
evaluation.
src/runtime/library-database.scm
src/runtime/library-loader.scm
src/runtime/library-parser.scm
src/runtime/runtime.pkg
tests/check.scm
tests/runtime/test-library-data/support-code.scm
tests/runtime/test-library-loader.scm [new file with mode: 0644]
tests/runtime/test-library-parser.scm