Skip to content

A proof of concept frankenhack assembling parslet & cod to form a HTTP (rack) server.

License

Notifications You must be signed in to change notification settings

kschiess/panzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLDR

This is a proof of concept assembly of the following parts: 

  * a parser written in parslet[1] for HTTP headers
  * some glue code from net-http-server[2]
  * a tcp server written using cod[3]
  * rack
  
The example simple.{rb,ru} proves that these form a minimal rack webserver
just like net-http-server or webrick. 

WHY

This is an experiment to try and see what the minimal amount of code for such
a server is today. My plan is to develop this further into something almost
unicorn-like, without inflating code size. 

[1] github.com/kschiess/parslet
[2] github.com/postmodern/net-http-server
[3] github.com/kschiess/cod

  

About

A proof of concept frankenhack assembling parslet & cod to form a HTTP (rack) server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages