« May 2005 | Main | August 2005 »

July 01, 2005

Do you see what I C ?

The code is not imported to CVS yet, but there IS code. In fact, I have more than 500 lines of code in C, for the new implementation of CX.

The 500+ lines of code does stuff, too!

I have several structs made in C, for handling things like contexts, cons cells, and most of the primitive datatypes of CX. With these structures, I can do some cool stuff:

-I can parse CX code into AST's
-I can make variables in contexts
-I can look up variables too
-I can iterate over an AST and reform the original code

Now the goal is to put some primitive functions in a context and then have an eval loop which runs over the AST and calls corresponding C-functions.

All in all, Im not far from a repl. I know it has been a while since I've written an article, and I do admit I've been enjoying life with many new angles- mainly sparked by this girl (Shannon) now. Heh, but im headstrong programming, and the results will be visible soon, I promise.

Posted by Rex at 11:44 PM | Comments (1)