This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: guile-vm-0.0


On Sun, Jul 30, 2000 at 02:51:49PM -0400, Keisuke Nishida wrote:
> Debugging support is the concern I have about my VM.  Since bytecodes
> loose information about source code, I'm not sure if I can provide a
> good debugging interface. (Nobody want to trace assemble code)

FWIW, Squeak <http://www.squeak.org> does byte-compiling that is
reversable -- i.e., you can get code back that looks very much like
what you got in, minus a few details (whitespace, comments, temporary
variable names, and extraneous ()'s).  I think they were planning to
fix the variable name thing, use automaticic indenting, and just
forget comments and ()'s -- maybe they've already gotten this far by
now.

Anyway, this might not really relate very closely to what your
strategy has been, but it *is* possible, if you thought about going in
that direction.  I think Scheme would be a good candidate for this, as
expressions are relatively close to canonical.

Allowing annotation of the bytecode would probably be more flexible,
however.

  -- Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]