Initial prescheme emulation support
This commit is contained in:
parent
bfa2f0da4f
commit
6b2f813725
2 changed files with 2 additions and 3 deletions
3
TODO.org
3
TODO.org
|
@ -13,8 +13,7 @@ You can create a Pre-Scheme module and switch into it with some effort:
|
|||
|
||||
#+BEGIN_SRC scheme
|
||||
(use-modules (system base language))
|
||||
(set-module-name! (default-environment 'prescheme) '(prescheme-user))
|
||||
,module prescheme-user
|
||||
(set-current-module (default-environment 'prescheme))
|
||||
,language prescheme
|
||||
#+END_SRC
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
(define (default-environment)
|
||||
(let ((m (make-module)))
|
||||
(module-use! m (resolve-module '(language prescheme core)))
|
||||
(module-use! m (resolve-interface '(language prescheme core)))
|
||||
m))
|
||||
|
||||
(define-language prescheme
|
||||
|
|
Reference in a new issue