GithubHelp home page GithubHelp logo

rasselbock's Introduction

rasselbock - A http server written in VAX LISP

rasselbock

rasselbock is a web server written in VAX LISP. I wrote it for fun, to learn how to program in VAX LISP and in particular how to interface with VMS system services and the Record Management Services (RMS).

Prerequisites

  • OpenVMS V5.5-2 on VAX
  • VAX LISP V3.1
  • TCP/IP Services for OpenVMS (UCX) V4.2

Features

  • Implements HTTP/1.0 (no persistent connections)
  • Request routing based on HTTP method and URI
  • Serves binary and text files from the file system

Code tour

rasselbock.lsp

Implements listening to a TCP socket, accepting connections, reading of request line and headers and writing of response headers.

response.lsp

Defines the structure of a response as returned from a handler.

file-response.lsp

Implements reading of files from the VMS file system and writing to the client socket. As VAX LISP does not provide efficient routines to access binary files, such files are read using direct calls to the VMS Record Management System (RMS).

dispatch.lsp

Routing of http requests to handlers. This is where requests to "/" are rerouted to the index.html file.

utils.lsp

Utility functions and macros not specific to Rasselbock.

vms.lsp

Structures, functions and macros to help interacting with VMS system services.

parameters.lsp

Parameters global to Rasselbock (i.e. buffer sizes).

editor-commands.lsp

Customizations to the VAX LISP editor to add features that I have missed.

rasselbock's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rasselbock's Issues

VAX LISP

How do you manage to install VAX Lisp - I assume you used simh? (Will it run on VMS 5.4-3)
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.