[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Different Structure Macro
- To: T-Discussion at YALE
- Subject: Different Structure Macro
- From: Nathaniel Mishkin <Mishkin at YALE>
- Date: Wed ,1 Jul 82 17:19:00 EDT
I've written a modified version of DEFINE-STRUCTURE-TYPE called
DEFINE-CSTRUCTURE-TYPE. The difference is that the names have
":"s instead of "-"s (e.g. rtype-field => rtype:field) and there
is a constructor function which takes positional initializers
(e.g. (rtype:new val1 val2 ...)).
THe compiled version is running on the Apollo. It is in
/tools/t/utils/defcstruct.bin
A reasonable structure printer is on the way.
-- Nat
-------