Haserl is a small CGI program that parses POST and GET data from Web clients and provides a PHP-like syntax for writing dynamic Web content. A Unix shell is used for the scripting language. Lua is also supported as an embedded scripting language. It is intended for environments where something like PHP is too big, and compiles to around 20KB.
|Tags||Internet Web HTTP Servers Software Development Interpreters|
|Operating Systems||Unix POSIX|
|Implementation||C Other Scripting Engines|
Release Notes: This version now supports treating multiple form variables that end in brackets (e.g. foo) as a newline-delimited array (similar to the PHP style for multi-select form fields).
Release Notes: A fix was made for a problem in which missing raw "html" code would disappear before a comment tag. A problem in which POST uploads would take exponentially longer to process as size increases was fixed.
Release Notes: This version now supports commenting sections of code with the <%# comment tag. Comments can include other haserl elements, and can be nested.
Release Notes: This version includes support for uploading very large files, using a custom upload handler, pre-compiled Lua scripts, and support for <% %> style tags.
Release Notes: Lua information has been added to the man page. ]] in a string no longer causes a syntax error. Evaluation uses ; instead of \n, so linenumber in error reporting should be closer to the original line number. The option --accept-all has been fixed (was --Accept-all). A debug message when unlinking uploaded files has been removed. Error reports now include the name of the script.