Factor as Enchilada's backend
Monday, April 16, 2007 2:03:33 PM
Until now, I didn't consider Slava Pestov's Factor as a possible platform.
Guess what? The Factor version of the immutable sequence is very short in lines of code. Next to that, implementing the various arithmetical Enchilada operators is a breeze in Factor.
Factor's ability to compile quotations could also prove very fruitful to be able to speed up certain Enchilada expressions. That is, Enchilada expressions could in principle be compiled to Factor quotations.
Although I'm still learning Factor I am already convinced that the next version of Enchilada will be build on top of Factor instead of Java.
So for the next two months I'll be busy "porting" Enchilada's Java version to Factor.