mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
finish compiler.texi, woo
* libguile/objcodes.c (do-pair): Removed unused debuging hack. * module/language/glil/spec.scm (glil): Simplify a bit. * module/system/repl/repl.scm (default-catch-handler): Don't catch vm-error, as vm-backtrace doesn't exist any more. * doc/ref/compiler.texi: Finish documenting GLIL and object code.
This commit is contained in:
parent
c850030fdd
commit
ff73ae34c3
4 changed files with 154 additions and 93 deletions
|
@ -29,12 +29,6 @@
|
|||
(define (write-glil exp . port)
|
||||
(apply write (unparse-glil exp) port))
|
||||
|
||||
(define (translate x)
|
||||
;; Don't wrap in a thunk -- if you're down in these weeds you can
|
||||
;; thunk it yourself. We don't know how many locs there will be,
|
||||
;; anyway.
|
||||
(parse-glil x))
|
||||
|
||||
(define (compile x e opts)
|
||||
(values (compile-objcode x e) e))
|
||||
|
||||
|
@ -43,6 +37,6 @@
|
|||
#:version "0.3"
|
||||
#:reader read
|
||||
#:printer write-glil
|
||||
#:parser translate
|
||||
#:parser parse-glil
|
||||
#:compilers `((,objcode . ,compile))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue