Change definition of `DEFINE_PRIMITIVE' macro to include extra fields
authorChris Hanson <org/chris-hanson/cph>
Mon, 15 Aug 1988 20:37:43 +0000 (20:37 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 15 Aug 1988 20:37:43 +0000 (20:37 +0000)
commit1e12395d86de55b100793854ff503f88e5808a94
treeae16155e91337bb9bb7b17f5da1038c8b76498df
parent4d5ef19d6328e98986bfd06d956126e1602ba8c5
Change definition of `DEFINE_PRIMITIVE' macro to include extra fields
for minimum number of arguments and documentation.  Add primitive to
access the documentation string.  The min args slot is currently
unused.  Change all definitions of primitives to use this macro.

The documentation strings should be filled in as time permits.

Partially update "sample.c" to reflect this.  More work remains to be
done.

Update "Findprim.c" substantially, to handle these changes.  Also
change all fixed size tables to be dynamically allocated.

Define new macros `EMPTY_LIST', `SHARP_F' and `SHARP_T'.  All
references to `TRUTH' replaced by `SHARP_T'.  Some references to `NIL'
changed to the appropriate macro, but many more remain; these should
be replaced as time permits.

Update several copyright notices to reflect new year.

Change name of "primitive.h" to "prims.h".
16 files changed:
v7/src/microcode/array.c
v7/src/microcode/array.h
v7/src/microcode/bchdmp.c
v7/src/microcode/bchgcc.h
v7/src/microcode/bchgcl.c
v7/src/microcode/bchmmg.c
v7/src/microcode/bchpur.c
v7/src/microcode/bignum.c
v7/src/microcode/bignum.h
v7/src/microcode/bitstr.c
v7/src/microcode/bitstr.h
v7/src/microcode/bkpt.c
v7/src/microcode/bkpt.h
v7/src/microcode/findprim.c
v7/src/microcode/sgraph_a.c
v7/src/microcode/sgx.c