1
Fork 0
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:
Andy Wingo 2009-01-11 14:23:48 +01:00
parent c850030fdd
commit ff73ae34c3
4 changed files with 154 additions and 93 deletions

View file

@ -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))
)