rename write-bytecode to zo-marshal

svn: r13974
This commit is contained in:
Matthew Flatt 2009-03-06 00:48:08 +00:00
parent a1f0873143
commit 25e7978999
2 changed files with 6 additions and 6 deletions

View File

@ -2,12 +2,12 @@
(require compiler/zo-parse
scheme/match)
(provide write-bytecode)
(provide zo-marshal)
;; Doesn't write as compactly as MzScheme, since list and pair sequences
;; are not compated, and symbols are not written in short form
(define (write-bytecode top)
(define (zo-marshal top)
(match top
[(struct compilation-top (max-let-depth prefix form))
(let ([encountered (make-hasheq)]

View File

@ -4,7 +4,7 @@
(for-label scheme/base
compiler/decompile
(only-in compiler/zo-parse compilation-top?)
compiler/write-bytecode))
compiler/zo-marshal))
@title[#:tag "decompile"]{Decompiling Bytecode}
@ -105,11 +105,11 @@ Consumes the result of parsing bytecode and returns an S-expression
@; ------------------------------------------------------------
@section{Scheme API for Recompiling}
@section{Scheme API for Marshaling Bytecode}
@defmodule[compiler/write-bytecode]
@defmodule[compiler/zo-marshal]
@defproc[(write-bytecode [top compilation-top?]) bytes?]{
@defproc[(zo-marshal [top compilation-top?]) bytes?]{
Consumes a representation of bytecode and generates a byte string for
the marshaled bytecode. Currently, modules and quoted syntax objects