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

Do it [SchemeBBS]

Name: Anonymous 2015-05-25 10:11

Can we fucking wake up here sheeple? We need a SchemeBBS. We need to restore all of prog.db in it. This regex crap the admin does is no good right now for the job.

Name: Anonymous 2015-05-26 18:37

#### SchemeBBS: protocol version 1

## Introduction: The SchemeBBS server works as a regular TCP server. It is communicated to and responds with s-expressions.

## Errors
If a query fails the server well return (error <e>) where the form e contains some information about the problem.

## Posts: Posts are assoc lists of the following form:

((id . <int>)
(date . <date>)
(reply . <int or #f>)
(post . <string>))

all these fields must be present except reply, which is optional.
clients should ignore extra unknown fields.

## Commands:

(version) ;=> 1

(get <int>) ;=> returns the post of that id or (error "No such post") if there is no post of that id.

(post <assoc-list>) ;=> the assoc list should be a post without the date, if a client sends date it will be ignored. The server should return the post id on success.

(posts> <int>) ;=> return a list of all posts whose id is larger in ascending order of post id.

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