Native Factor progress

Slava Pestov — 2004-07-12 06:40:51

Hi everybody,

I've done a lot of work on the C port of Factor in the last few days.
Notable achievements:

- The VM is now 16kb when compiled -- the library image is 71kb.
- Console I/O.
- There is a now simple parser, written in Factor itself.
- The "see" word to view in-memory word definitions now works.
- The ".s" word to inspect stack contents now works.
- There is a garbage collector -- it is a stop and copy collector, using
Cheney's algorithm.

You can get the latest code from factor.sourceforge.net.

Now my plans are:

- Proper error handling, catch/throw. This will be added to the Java
Factor as well.
- File and network I/O.
- Getting the inspector to run.
- Getting the HTTPD to run.
- Getting the image cross-compiler to run.
- Floating point, ratio, bignum and complex math.
- Asynchronous I/O.

Slava