I have rewritten some of the Lisp reader macros in ActionScript 3.0 as a proof-of-concept test. The image above is a test running in Firefox.
Reader macros are special built-in functions for handling reader input streams. In .Net, I implement them by using anonymous delegates – in ActionScript, I do the same by using anonymous functions.
Also, I believe that I have solutions for two potential probems:
– the Smalltalk parser can be rewritten using the Lisp reader instead of Antlr
– the AS3 class libraries can support a simple Designer
Conversion from C# to ActionScript is not as difficult as I first thought. In a few days, I will post a simple Lisp interpreter that should be able to run on any platform supported by Flash 9.
