kleopatra999 / owl-lisp

Automatically exported from code.google.com/p/owl-lisp
3 stars 1 forks source link

Match library syntax with R7RS #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Owl modules are first class objects though, but this might actually be a good 
thing. The REPL could for example keep a *modules* variable to which the 
defined modules are added, instead of binding a variable according to the name. 
This might actually make some future module bookkeeping tasks easier than if 
they float freely in random variables.

Original issue reported on code.google.com by aohelin on 7 Jan 2012 at 7:58

GoogleCodeExporter commented 9 years ago

Original comment by aohelin on 12 Jan 2012 at 4:48

GoogleCodeExporter commented 9 years ago
Added library handling to repl, and just added rename to exports.
Missing within libraries: import quantifiers, include(-ci), cond-expand

Missing from toplevel: import, which currently works with old modules.

Plan: 
 - finish library support
 - rename old import
 - migrate all owl modules to new library system
   + replaces also old ,require and ,load, which could now be at toplevel as in library declarations (?) 
 - remove old module support
 - push also debugging data, type (record or otherwise), serialization (related) other special library-specific things to the new libraries, instead of module and db thread as was done before.

Original comment by aohelin on 13 Jan 2012 at 8:16

GoogleCodeExporter commented 9 years ago
added import quantifiers, most of cond-expand, no including yet

Original comment by aohelin on 14 Jan 2012 at 9:08

GoogleCodeExporter commented 9 years ago
Added include (sans -ci, which is related to another issue), and *library-dirs* 
which is used to decide where to try to load libraries from. Not closing yet 
because I forgot to add cond-expand logic...

Original comment by aohelin on 15 Jan 2012 at 2:16

GoogleCodeExporter commented 9 years ago
Had an unexpected moment of computer time, so added the remaining logic to 
cond-expand. All tests pass and apart from toplevel includes and include-ci, 
which are somewhat different issues, everything is in place. Closing this and 
starting migration to new libraries soonish.

Original comment by aohelin on 15 Jan 2012 at 3:29