Factor 0.60

Slava Pestov — 2004-06-19 04:56:20

Hi everybody,

Get it at http://www.jedit.org/factor/.

The big new feature of this release is that the HTTP server is now ready
for wider testing.

The HTTP server supports online browsing of hyperlinked word
definitions, browsing of namespaces, static file serving, and a simple Wiki!

See http://www.jedit.org/factor/httpd.txt.

This release also features:

- The usual cleanups, minor fixes and improvements to the test suite.

- Bug fixes to the database code. The simple file store should now work
reasonably well. The B-tree store is faster but still buggy.

- Type inference and a soft type system in the compiler. This is not
done yet -- ignore the type inference errors the compiler gives you.

- A "metacircular" interpreter - this is not done yet either. See
Factor.jar!/factor/metacircular.factor. Eventually I hope to use this to
implement call tracing and a stepping debugger.

Slava

Chris Double — 2004-06-20 23:09:46

On Sat, 19 Jun 2004 00:56:20 -0400, "Slava Pestov" <slava@...>
said:
>
> The big new feature of this release is that the HTTP server is now ready
> for wider testing.

Very nice! I've been looking forward to trying this out and it seems to
work fine. Using the inspector through a web browser is a very easy way
to browse the sources and running state.

I notice though that if I 'quit' by accessing the quit url I can't then
restart the server. It immediately exists again:

7] USE: httpd
8] 8888 httpd
Accepted connection from
Socket[addr=/127.0.0.1,port=33812,localport=8888]
GET /quit HTTP/1.1
Calling responder quit
9] 8888 httpd
10]

For some reason "httpd-quit" is still t. If I manually set it to 'f' I
can then restart the server.

One other thing I noticed from previous versions but forgot to mention.
If I use 'help' then three lines don't print out, instead they are on
the stack:

". -- print top of datastack."
".s -- print datastack."
"clear -- clear datastack."

Looking at the source for help it looks like these are missing a
'print'.

I'll do some stuff with the http server and let you know how it goes.

Chris.

--
Chris Double
chris.double@...