« A little here, a little there | Main | C'ing things differently »

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 July 1, 2005 11:44 PM

Comments

Congratulations on your new girlfriend, I'm happy for you. ;-)

Posted by: Slava Pestov at July 2, 2005 03:48 PM

Post a comment




Remember Me?