Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Introducing lisp.js: a Lisp for node.js. Parent comment
I am using Node on the backend of http://tryparenscript.com/ simply because it was easier to get up and running than Hunchentoot. Source code is on GitHub, if you want to check it out: http://github.com/fitzgen/tryparenscript.com
Here is the "Hello, WOrld!" example from the NodeJS homepage in ParenScript:
(defvar *http* (require "http")) (chain *http* (create-server (lambda (req res) ((@ res write-head) 200 (create "Content-Type" "text/plain")) ((@ res end) "Hello, World!\n"))) (listen 8124 "127.0.0.1")) ((@ console log) "Server running at http://127.0.0.1:8124/")
There are no comments on this comment yet.
I am using Node on the backend of http://tryparenscript.com/ simply because it was easier to get up and running than Hunchentoot. Source code is on GitHub, if you want to check it out: http://github.com/fitzgen/tryparenscript.com
Here is the "Hello, WOrld!" example from the NodeJS homepage in ParenScript: