On Tue, Sep 25, 2001 at 07:36:31PM -0400, Gregor N. Purdy wrote:
> I'm currently working on some assigned taskes for the bytecode stuff
> for 0.0.2. I need to get it to the point where we can stash NVs in
> the const_table. I've already got the interpreter using packfile.[hc]
> for its work (I posted a patch earlier today).

After taking a look at the packfile code, I think the interface
needs to be made more generic.  I don't believe the file format
should be aware of the nature of the contents.  For example, rather
than having functions to access the constant table, the fixup table,
and the bytecode, I would rather see a single set of functions
which take a section ID as a parameter.

I also feel that the prior discussions on using a preexisting file
format were on the right track.  With a good API, however, the file
format can be completely redefined, so this is a less pressing
concern.  (I also still think that IFF fits our needs quite closely,
although its support for data structure nesting may be more than we
want.)

                           - Damien

Reply via email to