Lua - Part 5

Feb 9, 2018:
luarocks install feedparser

will use feedparser to parse rss and atom files. it requires the lxp or lua expat module to be installed too, which i did above.

Arduino starter kits

Hardware-related links


Lua's builtin string.match is okay for light work, but I'll occasionally need more Perl-like power.

Feb 14, 2018 on my DO Droplet:

Ubuntu Linux:

apt-get update
apt-get install libpcre3 libpcre3-dev


luarocks install lrexlib-pcre

I need to compile few application and I need Perl 5 Compatible Regular Expression Library (PCRE). Under CentOS I can use a package called pcre-devel, but Debian do not have the same. How do I install pcre-devel under Debian / Ubuntu Linux?

Perl-compatible regular expression library. PCRE has its own native API, but a set of “wrapper” functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE: the regular expressions themselves still follow Perl syntax and semantics. The header file for the POSIX-style functions is called pcreposix.h. To install PCRE, type thy following command:

HTML Entities

Feb 15, 2018

luarocks install html-entities


Something to consider. I'll probably need this. Have not installed it yet as of Feb 15, 2018. Looks interesting.

someone else's helper functions for lists:


Meta tables and metamethods

March 2018

"Urn: A Lisp implementation for Lua"

March 21, 2018

CGI Lua:

luarocks install cgilua

installed cgilua-5.2.1-1 on Mar 21.

web projects to view in the future.

did this on mar 21, 2018:

luarocks install wsapi-xavante

and this:

luarocks install wsapi

trying to resolve an error in cgilua.

/usr/local/share/lua/5.3/cgilua.lua:93: attempt to index a nil value (upvalue 'SAPI')

This guy had the same error 4 months ago, but his post received no replies.

tried installing this but it won't build because of fcgi .h file missing.
i may need if i want to continue with this crap.

Xavante is a webserver written in pure Lua. To use the Xavante connector, install the "wsapi-xavante" rock