Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

let's create the future: a minimal lisp based web

Name: Anonymous 2014-05-15 12:33

A simple new web (HTTP, HTML, JS) replacement based on s-expressions and lisp. It would be useful for things like file hosting, wikipedia/wikis, BBSs, online newpapers/blogs, imageboards, youtube/mediagoblin style video sites.

Instead of XML we use s-exp for markup. It will be a very simple functional markup language that could be defined in a page or two. We will not allow it to grow and grow horribly like the W3C to the point that it's impossible to implement from scratch.

Instead of javascript we use a simple lisp language (similar to R5RS without continuations) which is interpreted with strict resource and permission bounds, so it will never do anything you do not allow it including swamping your computer down like current js JIT systems.

For servers, instead of tools similar to PHP we will use systems inspired by type-checking that are able to statically ensure that no vulnerabilities in the class of XSS/SQL injection/... exist.

1. A first draft design needs to be created.

2. It should be easy to get something up and running quite fast by writing a proxy that translates all this s-exp stuff into HTML - just for the purpose of prototyping.

3. Reference implementations from scratch - focus on low memory usage and stability (using safe languages instead of C or C++).

Name: Anonymous 2014-05-18 19:53

>>34
When you write a program in lisp the parens in your code are balanced, otherwise you get a compile error.

When you program a web server/web site for this sexp based web (really need a short unique name to refer to it...) the page will be a quoted/quasiquoted sexp - so a server will never emit unbalanced data unless it crashes or something.

A page could also be constructed like data constructors in a language like haskell, making sure that even more structure about the page is correct at compile time (e.g. it could stop you putting a <title> outside <head>) but still let you put pages them together dynamically.

>>48
Yeah, no one can reboot the web - its beyond critical mass and it's stampeding in a direction that a few people don't want to get dragged along with. that said, we can definitely create something new which serves its own purpose well, cutting out a lot of awful things and learning from mistakes of the past.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List