Ah, right, I forgot to include Lua support. Here's new exe with Lua functionality: https://code.google.com/p/mongoose/downloads/detail?name=mongoose.04.01.2013.exe&can=2&q=#makechanges
In 5.0, Lua support has been changed. In 4.x, Lua scripts were like PHP, they were like HTML pages with embedded <? ?> Lua blocks. In 5.0, Lua scripts are just like CGI files, they are simple Lua scripts and should have ".mg.lua" extension. Here's the example: https://github.com/cesanta/mongoose/blob/master/build/test/new.mg.lua Lua support is a moving target at the moment, I haven't decided on a strategic direction for the scripting engine. At the moment, I am considering two options: 1. Continue with Lua 2. Use Javascript as a scripting engine Javascript as an engine sounds more appealing to me cause it has better syntax (this is arguable of course) and it is more widespread (this is a fact). On a minus side, it has to be developed. I wouldn't do full ECMA compliant implementation, just basics to allow useful scripting: basic operations, file/socket IO and Sqlite interface would be enough to build a powerful platform. So at this point, I am still considering pros and cons. On Sat, Jan 4, 2014 at 1:33 AM, Phuoc Can Hua <[email protected]> wrote: > I tried it in the same location and the browser showed me the > uninterpreted codes, strange. > The new binary is only 43KB while the old one is 355KB. > > > On Saturday, January 4, 2014 8:47:51 AM UTC+11, Sergey Lyubka wrote: >> >> Please try this pre-release binary https://code.google. >> com/p/mongoose/downloads/detail?name=mongoose.03.01. >> 2013.exe&can=2&q=#makechanges >> >> >> >> -- > You received this message because you are subscribed to the Google Groups > "mongoose-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mongoose-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
