Commit Graph

19 Commits

Author SHA1 Message Date
Bert Thompson
c7f6988bcb Brought up-to-date with version 8 of the bytecode. 1997-02-04 02:24:05 +00:00
Bert Thompson
600f8f1240 Changed all ushorts to shorts. 1997-02-04 01:39:53 +00:00
Bert Thompson
3f47a61531 Replaced the stub quote_cstring with a proper implementation. 1997-02-03 08:02:42 +00:00
Bert Thompson
4498524dbb Nuked some crap. 1997-02-01 13:36:33 +00:00
Bert Thompson
61d3e53678 We use shorts rather than ushorts for most of the stuff in the
bytecode file. A label, for instance, may be negative in enter_disjunct.
(Specifically, in the last enter_disjunct in a disjunction, the
label is -1.)
1997-02-01 13:36:01 +00:00
Bert Thompson
b0a8799252 Moved a lot of definitions related to bytecode from here to
the bytecode module.
1997-02-01 09:22:13 +00:00
Bert Thompson
6f44799b92 Moved code related to printing bytecodes to here from the bytecode module. 1997-02-01 09:21:18 +00:00
Bert Thompson
4eae45fcc1 Made static everything that needn't be exported from this module.
Moved code related to printing out of here. Only code for
parsing the bytestream should be in here.
1997-02-01 09:21:04 +00:00
Bert Thompson
619f65a72e Commented disassemble(). 1997-02-01 09:15:02 +00:00
Bert Thompson
40949b41b9 Finished off everything needed for disassembler. 1997-01-31 04:27:17 +00:00
Bert Thompson
3a0fe363a6 Added tags target.
Added some CFLAGS for debugging and testing.
1997-01-31 04:24:03 +00:00
Bert Thompson
2e0d5ab8bc Bytecode version number is now a ushort, not an int. 1997-01-30 01:17:21 +00:00
Bert Thompson
f45dcafc54 We also define __STDC__ since we want to use assert.h, which is
part of ANSI C but not part of POSIX.
1997-01-29 06:17:05 +00:00
Bert Thompson
030c530b0a I've decided the `no typedefs for structs' programming convention
is indeed without good justification, hence we now use typedefs
for all the structs.
1997-01-29 01:41:04 +00:00
Bert Thompson
60fa414f19 Initial revision 1997-01-28 02:04:52 +00:00
Bert Thompson
34a6912e4a Brain-damaged debug tracing now switchable using #define DEBUGGING.
(XXX: Really should implement more tunable tracing.)
Added strdup().
Changed name of util_fatal_error() to fatal().
1997-01-28 02:02:10 +00:00
Bert Thompson
2ef308fbd1 Added strdup().
Changed util_fatal_error() to fatal().
1997-01-28 02:01:31 +00:00
Bert Thompson
1c43bef167 Added more stuff for interpreting bytestream. All still half-munged. 1997-01-28 01:59:57 +00:00
Bert Thompson
15b22fde95 Initial revision 1997-01-24 07:13:10 +00:00