parse/print libraries

This commit is contained in:
msyds committed 2026-09-06 21:39:52 -06:00
1 parent 6ebe92e7cd
commit c6036ffbb4
4 files changed
+111 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#+title: on libraries
R⁷RS leaves it unspecified how exactly libraries correspond to files:
#+begin_quote
Programs and libraries are typically stored in files, although in some implementations they can be entered interactively into a running Scheme system. Other paradigms are possible. Implementations which store libraries in files should document the mapping from the name of a library to its location in the file system.
#+end_quote
thus the implementation of ~define-library~ is open to much interpretation. we could possibly define libraries as first-class objects, or deal with them statically. the former case is appealing to me, as it could massively simplify interactive use.