Hello Marc,
On Fri, 19 Nov 2010 09:09:13 -0500 Marc Feeley feeley@iro.umontreal.ca wrote:
...
In the source code of the compiler you will find comments:
- gsc/_back.scm: top of file comment is the API with the back-end
- gsc/_t-c-1.scm: check comments for each API function
Thanks for the pointer, the documentation there is useful.
...
Instead implementing a backend for Gambit, I'd like to start with an independent tool, which parses the GVM code.
Yikes! Please don't do this! It's plain wrong! Hook into the compiler by creating a new "target". A minimalist target is no more that 100 lines of simple code.
I'm a bit sceptical that the task can be so easy, but going to follow the advice.
At the first time, I'll need to experiment, but the cycle (change code, re-compile gsc, install it, run the new gsc) is a bit long. Is there a possibility to avoid re-compilation and immediately run the new code?
Marc