1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-28 05:50:30 +02:00
guile/module/language
Andy Wingo 1f1ec13b5c add code for writing out metadata to the end of a program
* libguile/objcodes.c (make_objcode_by_mmap, scm_c_make_objcode_slice):
  Verify the lengths with the meta-length.
  (scm_objcode_meta): New procedure, for getting at the meta-info of an
  objcode.
  (scm_objcode_to_bytecode):
  (scm_write_objcode): Write bytecode with the metadata too.

* module/system/vm/objcode.scm: Export object-meta.

* module/language/assembly.scm (byte-length):
* module/language/assembly/compile-bytecode.scm (write-bytecode):
* module/language/assembly/decompile-bytecode.scm (decode-load-program):
* module/language/assembly/disassemble.scm (disassemble-load-program):
* module/language/glil/compile-assembly.scm (glil->assembly):
* test-suite/tests/asm-to-bytecode.test ("compiler"): Change to
  load-program format to have meta-or-#f instead of meta-length, so that
  we can serialize the meta as objcode without a load-program byte. Add a
  test for writing out the meta.
2009-02-01 10:15:00 +01:00
..
assembly add code for writing out metadata to the end of a program 2009-02-01 10:15:00 +01:00
bytecode remove conv.scm, disasm.scm; objcode->bytecode rename 2009-01-30 14:36:49 +01:00
elisp remove .cvsignore files 2008-11-10 12:17:18 +01:00
ghil allow specification of languages by name; add decompilers to languages 2009-01-30 11:41:02 +01:00
glil add code for writing out metadata to the end of a program 2009-02-01 10:15:00 +01:00
objcode add disassembler that fits in with old compiler tower 2009-01-30 14:12:57 +01:00
r5rs remove GPKG.def files 2009-01-29 21:12:00 +01:00
scheme allow specification of languages by name; add decompilers to languages 2009-01-30 11:41:02 +01:00
value nifty generic compiler infrastructure -- no more hardcoded passes 2008-11-14 22:42:31 +01:00
assembly.scm add code for writing out metadata to the end of a program 2009-02-01 10:15:00 +01:00
ghil.scm remove useless <glil-vars> helper type, serialize GHIL more strictly 2009-01-11 12:09:19 +01:00
glil.scm static opcodes; refactor program/objcode division; use new assembly pipeline 2009-01-29 21:12:00 +01:00
Makefile.am add new language between assembly and objcode: bytecode 2009-01-30 10:20:08 +01:00
objcode.scm static opcodes; refactor program/objcode division; use new assembly pipeline 2009-01-29 21:12:00 +01:00