mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-17 22:22:25 +02:00
compile-elisp fn
(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.) * module/language/elisp/runtime.scm (compile-elisp): New procedure.
This commit is contained in:
parent
361db0dca8
commit
9ef10e8c75
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
|||
set-lexical-binding-mode
|
||||
log!
|
||||
eval-elisp
|
||||
compile-elisp
|
||||
local-eval-elisp
|
||||
make-lisp-string
|
||||
lisp-string?)
|
||||
|
@ -248,6 +249,10 @@
|
|||
(define (eval-elisp form)
|
||||
(compile form #:from 'elisp #:to 'value))
|
||||
|
||||
(define (compile-elisp form)
|
||||
(compile (compile form #:from 'elisp #:to 'bytecode)
|
||||
#:from 'bytecode #:to 'value))
|
||||
|
||||
(set-symbol-value! nil_ #nil)
|
||||
(set-symbol-value! t_ #t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue