Saturday, February 02, 2008

Fooling around with Arc

My new shiny toy is Arc.
This site is about Arc, a new dialect of Lisp. It's unfinished, but usable, so we decided to release what we have so far.
I'm not sure what it's good for ... but it's amazing easy to stand up a webpage in, which is interesting.


briandunbar_natasha-2_~:arc
Use (quit) to quit, (tl) to return here after an interrupt.
arc> ( defop hello req ( pr "hello world"))
#
arc> (asv)
ready to serve port 8080


And lo - at http://localhost:8080/hello there is indeed a web page with a simple 'hello world'.

What's at http://localhost:8080/? The words 'It's alive'. Which is all very minimalist and groovy.


Code via YouDevise.

Update - Blogger does something horrible with the output from Arc and wants to ignore the code tags. Fine, be that way - one more straw on this camel's back, you bastards. If you gotta look at the output as it really is, look at my LJ entry.
blog comments powered by Disqus