[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 16/37: compile-elisp fn
From: |
Robin Templeton |
Subject: |
[Guile-commits] 16/37: compile-elisp fn |
Date: |
Sun, 26 Jan 2025 18:17:45 -0500 (EST) |
bpt pushed a commit to branch wip-elisp-rebased
in repository guile.
commit 9ef10e8c75ccc8a1e9d6bdd6e57e686595324b6b
Author: Robin Templeton <robin@terpri.org>
AuthorDate: Mon Aug 4 23:06:26 2014 -0400
compile-elisp fn
(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.)
* module/language/elisp/runtime.scm (compile-elisp): New procedure.
---
module/language/elisp/runtime.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/module/language/elisp/runtime.scm
b/module/language/elisp/runtime.scm
index dba2a5476..d6d4f701f 100644
--- a/module/language/elisp/runtime.scm
+++ b/module/language/elisp/runtime.scm
@@ -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)
- [Guile-commits] 03/37: check symbols constants uninterned, (continued)
- [Guile-commits] 03/37: check symbols constants uninterned, Robin Templeton, 2025/01/26
- [Guile-commits] 04/37: multiple obarrays, Robin Templeton, 2025/01/26
- [Guile-commits] 05/37: guile-private-ref, Robin Templeton, 2025/01/26
- [Guile-commits] 08/37: elisp updates, Robin Templeton, 2025/01/26
- [Guile-commits] 06/37: allow arbitrary constants in cps, Robin Templeton, 2025/01/26
- [Guile-commits] 07/37: guile-snarf fix, Robin Templeton, 2025/01/26
- [Guile-commits] 09/37: read nil/t as #nil/#t, Robin Templeton, 2025/01/26
- [Guile-commits] 10/37: symbol default value procedures, Robin Templeton, 2025/01/26
- [Guile-commits] 13/37: define-module for elisp special modules, Robin Templeton, 2025/01/26
- [Guile-commits] 15/37: fix symbol-function, Robin Templeton, 2025/01/26
- [Guile-commits] 16/37: compile-elisp fn,
Robin Templeton <=
- [Guile-commits] 19/37: compiler macros, Robin Templeton, 2025/01/26
- [Guile-commits] 24/37: degenerate let forms, Robin Templeton, 2025/01/26
- [Guile-commits] 11/37: defvar affects default value, Robin Templeton, 2025/01/26
- [Guile-commits] 01/37: Remove CFLAGS from snarfcppopts., Robin Templeton, 2025/01/26
- [Guile-commits] 02/37: intern arbitrary constants, Robin Templeton, 2025/01/26
- [Guile-commits] 12/37: constant-interning fix, Robin Templeton, 2025/01/26
- [Guile-commits] 14/37: restore special operator handling, Robin Templeton, 2025/01/26
- [Guile-commits] 17/37: elisp @@ macro, Robin Templeton, 2025/01/26
- [Guile-commits] 20/37: defsubst, Robin Templeton, 2025/01/26
- [Guile-commits] 21/37: use defsubst, Robin Templeton, 2025/01/26