code generator for guile primitives (guile-interface.el)

Jim Blandy (jimb@red-bean.com)
Wed, 10 Sep 1997 04:00:17 -0400

>i found it tedious to constantly code the SCM_PROC's and SCM_ASSERT's
>required for a new guile primitive, so i added a c code generator to
>guile-interface.el. the code generator queries the user for the
>scheme name of the new primitive, and the name and type of each of the
>primitive's arguments. the querying for types supports completion.
>new smobs are easy to add.

Something about this approach strikes me as horribly wrong, but I love
it. (And have done slightly worse things myself.)