guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting started with guile-vm


From: Andy Wingo
Subject: getting started with guile-vm
Date: Fri, 02 May 2008 18:45:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]