Skip navigation.

The whole Enchilada

A sequence of thought

Factor as Enchilada's backend

For the past four months i've been implementing Enchilada's immutable sequence in various languages.
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.

Performance & runtimeNew Enchilada version in Factor

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31