The work is done.
Have a look over here!
http://www.esp8266.com/viewtopic.php?f=19&t=702
===============================================
Some of you may know that I have been busy developing a webserver for the nodeMcu firmware. Current status is "maybe not perfect, but at least working". The goal to have a webserver that serves html files with embedded Lua statements to a browser is (almost) achieved. Special thanks to zeroday and alonewolfx2 for their advice and support during the slippery path I have travelled.
Progress is listed in the Examples sections here:
http://www.esp8266.com/viewtopic.php?f=19&t=611
In this (now loooooooong topic) I got the following tip, thanks to user wififofum:
wififofum wrote:Just wondering if you guys have looked at http://wiki.eluaproject.net/lhttpd
OMG !!!!
I had a first look at this site today and here's what I read:
The full list of features is given below:
completely written in Lua
can handle a single connection at a time (for now)
can serve text and images (so far)
gets its files from the ROM file system (this will be extended when more filesystems are added)
can execute embedded Lua code and replace it with its output (via "print" statements). Embed Lua code in your HTML files between tags
if a file with ".lua" extension is requested, it doesn't send the file, but executes it and sends its output (via "print" statements)
It looks like the documentation of my webserver code
Had I seen this sooner it would have saved me many hours of programming and debugging. Then again, I would have missed out on the fun of learning another programming language.
Perhaps a joined effort here to migrate this webserver to the ESP would make interesting community effort.
I'm interested i what you think. Please take 10 seconds to answer the poll. I'll let it run for 7 days. If anyone has migrated the elua webserver within this week, I'll be happy too