Commit Graph

7 Commits

Author SHA1 Message Date
Ryan Culpepper
fd7d8a412c move lazy-require to racket/lazy-require 2012-12-03 19:28:12 -05:00
Matthew Flatt
6b16679b39 fix `lazy-require' in phase levels other than 0
The `lazy-require' form expands to `define-runtime-module-path-index',
whch doesn't work right at phase levels other than 0. Work around the
problem by generating a submodule to hold the
`define-runtime-module-path-index' form.

This repair fixes `raco exe' on certain uses of `match', which in turn
uses `lazy-require' at compile time.

Also, use `register-external-module' to generate appropriate
dependencies on lazily loaded modules.
2012-11-11 09:38:16 -07:00
Ryan Culpepper
5d49663b83 added begin-on-demand (combo of module* and lazy-require) 2012-04-14 17:16:01 -06:00
Ryan Culpepper
679b2d3872 lazy-require: use cm-accomplice 2012-02-07 13:43:26 -07:00
Ryan Culpepper
98d8acfd4e avoid including lazy-required names in (all-defined-out)
closes PR 12335
2011-10-31 18:19:07 -06:00
Ryan Culpepper
1c6b8bd68e syntax/parse: lazily load most macro transformers and compile-time support 2011-09-30 04:13:09 -06:00
Ryan Culpepper
e6433084f3 added unstable/lazy-require
Also fixed lazy-require to capture and use correct namespace.
2011-09-06 12:41:03 -06:00