~aghuloum/r6rs-libraries/r6rs-libraries.dev

« back to all changes in this revision

Viewing changes to psyntax/library-manager.ss

  • Committer: Abdulaziz Ghuloum
  • Date: 2008-11-26 09:28:27 UTC
  • Revision ID: aghuloum@cs.indiana.edu-20081126092827-74gh68x7mh0tt35k
added a program to expand a script and its library dependencies to
produce a fully expanded runtime code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    find-library-by-name install-library library-spec invoke-library 
25
25
    current-library-expander
26
26
    current-library-collection library-path library-extensions
27
 
    serialize-all current-precompiled-library-loader)
 
27
    serialize-all current-precompiled-library-loader
 
28
    library-invoke-dependencies library-invoke-code)
28
29
  (import (rnrs) (psyntax compat) (rnrs r5rs))
29
30
 
30
31
  (define (make-collection)
62
63
              (append (library-name x) (list (library-version x)))))
63
64
        p)))
64
65
 
 
66
    
 
67
  (define (library-invoke-dependencies lib)
 
68
    (library-inv* lib))
 
69
 
65
70
  (define (find-dependencies ls)
66
71
    (cond
67
72
      ((null? ls) '())