Lua version of the C/C++ whitepaper examples

The Barracuda Embedded Web-Server CSP introduction whitepaper is for C and C++ programmers that want to use the Barracuda C/C++ API's. The following shows the LSP version of the CSP examples.

Source code:

Notice that when you click any of the above links, the code in the "showsource" directory is executed. This code loads the LSP/Lua file and converts the file to a syntax highlighted HTML version of the source code. The file lsp2html.lua is a Lua module loaded by the LSP script in the same directory. You can see that the file name is specified as URL encoded parameters if you inspect the URL in your browser when clicking any of the above links.

Run examples: