3 ms·
Not sure if I am understanding this correctly. By bootstrapping, do you mean C does only the most basic syntax parsing, and then a fexl script (written in a bas
by Imbue 16y ago
Not sure if I am understanding this correctly. By bootstrapping, do you mean C does only the most basic syntax parsing, and then a fexl script (written in a basic fexl subset) does the more complete parsing?
All this stuff is really neat. Your C code interface looks quite nice and clean. I hope you release some source code soon.
And thanks for taking the time to write all this. Even though a lot of it is over my head, it's quite interesting. I'm really looking forward to playing around with it a bit and learning.
- fexl 16y agoThat was the general idea. But it's taken quite an interesting turn lately! Turns out I can parse Fexl one character at a time and build the closed executable form in a single pass as I go along -- thanks to a concept which I discovered several months ago but shelved as a mere curiosity at the time. But I'm sure using it now! I started a proper blog here: http://fexl.com/blog http://fexl.com/blog , but we can still use ycombinator.com for discussion.
- fexl 16y agoBy the way, the initial release of Fexl will take a very simple form: A Universal Filter. The "fexl" executable will be nothing more than a program which maps standard input to standard output. So it's a filter. But it's universal because it is Turing-equivalent, capable of performing any conceivable function from stdin to stdout. When Fexl runs, the first thing it does is read a Fexl function from standard input. The Fexl process then "becomes" that function, processing the tail of the input accordingly. Simple!
- fexl 16y agoI created a Fexl discussion group at http://groups.google.com/group/fexl http://groups.google.com/group/fexl . You can reach everything from http://fexl.com http://fexl.com, including the Blog and Discussion group.