unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* getting started with guile-vm
@ 2008-05-02 16:45 Andy Wingo
  0 siblings, 0 replies; only message in thread
From: Andy Wingo @ 2008-05-02 16:45 UTC (permalink / raw)
  To: guile-devel

Hey hackers,

Haven't started poking guile-vm yet? Well here are some suggestions
about familiarizing yourself with the code.

First, read the fine manual. It's quite fine! It's clear, although not
complete, and really helped me to see what the pieces were, and how they
go together. doc/guile-vm.texi, conveniently pre-made into
doc/guile-vm.info.

The next step to take is to look at the code. The C code is in src/ and
the Scheme code is in module/. So the module `(system core conv)' can be
found at module/system/core/conv.scm

If you look at things from a top-down perspective, here's the order that
I would go in:

  * (system base compile)
  * (language scheme translate)
  * (system il compile)
  * (system vm assemble)
  * (system vm conv)

At that point you should dive into C, checking out vm_engine.c,
vm_engine.h, then vm_system.c, vm_scheme.c, and from there whatever you
want.

Bottom-up you should start with vm_engine.h, then vm_engine.c, then
climb the ladder.

Happy hacking!

Andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-02 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 16:45 getting started with guile-vm Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).