|
|
@ -287,17 +287,17 @@
|
|
|
|
(require web-server/templates
|
|
|
|
(require web-server/templates
|
|
|
|
racket/list
|
|
|
|
racket/list
|
|
|
|
xml/path
|
|
|
|
xml/path
|
|
|
|
(planet mb/pollen/debug)
|
|
|
|
pollen/debug
|
|
|
|
(planet mb/pollen/decode)
|
|
|
|
pollen/decode
|
|
|
|
(planet mb/pollen/file-tools)
|
|
|
|
pollen/file-tools
|
|
|
|
(planet mb/pollen/main-imports)
|
|
|
|
pollen/main-imports
|
|
|
|
(planet mb/pollen/main-preproc-imports)
|
|
|
|
pollen/main-preproc-imports
|
|
|
|
(planet mb/pollen/predicates)
|
|
|
|
pollen/predicates
|
|
|
|
(planet mb/pollen/ptree)
|
|
|
|
pollen/ptree
|
|
|
|
(planet mb/pollen/readability)
|
|
|
|
pollen/readability
|
|
|
|
(planet mb/pollen/template)
|
|
|
|
pollen/template
|
|
|
|
(planet mb/pollen/tools)
|
|
|
|
pollen/tools
|
|
|
|
(planet mb/pollen/world))
|
|
|
|
pollen/world)
|
|
|
|
(define original-ns (current-namespace))
|
|
|
|
(define original-ns (current-namespace))
|
|
|
|
|
|
|
|
|
|
|
|
(define/contract (render-through-eval base-dir eval-string)
|
|
|
|
(define/contract (render-through-eval base-dir eval-string)
|
|
|
@ -318,17 +318,17 @@
|
|
|
|
racket/rerequire
|
|
|
|
racket/rerequire
|
|
|
|
racket/contract
|
|
|
|
racket/contract
|
|
|
|
racket/list
|
|
|
|
racket/list
|
|
|
|
(planet mb/pollen/debug)
|
|
|
|
pollen/debug
|
|
|
|
(planet mb/pollen/decode)
|
|
|
|
pollen/decode
|
|
|
|
(planet mb/pollen/file-tools)
|
|
|
|
pollen/file-tools
|
|
|
|
(planet mb/pollen/main-imports)
|
|
|
|
pollen/main-imports
|
|
|
|
(planet mb/pollen/main-preproc-imports)
|
|
|
|
pollen/main-preproc-imports
|
|
|
|
(planet mb/pollen/predicates)
|
|
|
|
pollen/predicates
|
|
|
|
(planet mb/pollen/ptree)
|
|
|
|
pollen/ptree
|
|
|
|
(planet mb/pollen/readability)
|
|
|
|
pollen/readability
|
|
|
|
(planet mb/pollen/template)
|
|
|
|
pollen/template
|
|
|
|
(planet mb/pollen/tools)
|
|
|
|
pollen/tools
|
|
|
|
(planet mb/pollen/world)))
|
|
|
|
pollen/world))
|
|
|
|
(namespace-require 'racket) ; use namespace-require for FIRST require, then eval after
|
|
|
|
(namespace-require 'racket) ; use namespace-require for FIRST require, then eval after
|
|
|
|
(eval eval-string (current-namespace))))
|
|
|
|
(eval eval-string (current-namespace))))
|
|
|
|
|
|
|
|
|
|
|
@ -350,7 +350,7 @@
|
|
|
|
;; for include-template (used below)
|
|
|
|
;; for include-template (used below)
|
|
|
|
(require web-server/templates)
|
|
|
|
(require web-server/templates)
|
|
|
|
;; for ptree navigation functions, and template commands
|
|
|
|
;; for ptree navigation functions, and template commands
|
|
|
|
(require (planet mb/pollen/debug) (planet mb/pollen/ptree) (planet mb/pollen/template))
|
|
|
|
(require pollen/debug pollen/ptree pollen/template)
|
|
|
|
;; import source into eval space. This sets up main & metas
|
|
|
|
;; import source into eval space. This sets up main & metas
|
|
|
|
(require ,(->string source-name))
|
|
|
|
(require ,(->string source-name))
|
|
|
|
(set-current-ptree (make-project-ptree ,PROJECT_ROOT))
|
|
|
|
(set-current-ptree (make-project-ptree ,PROJECT_ROOT))
|
|
|
|