Open larceny-trac-import opened 11 years ago
Author: pnkfelix Note that Felix has written rough code illustrating how to do this (via Reflection) in two places:
The CLR Reflection mechanism actually provides a way for one to save generated code to a file (if one generates it via an appropriately constructed dynamic assembly, that is). So this might provide a reasonable foundation atop which someone to build a domain specific language for defining classes and extensions.
_Reported by: tov on Mon Feb 13 18:52:11 2006 _ We need to be able to create and export CLR classes from within Scheme code in Common Larceny. My inclination is to steal C# syntax and dress it up in S-expressions.