Hi Alex, hi Joe. On Mon, Mar 16, 2015 at 9:41 AM, Alexander Burger <a...@software-lab.de> wrote: > Hi Christophe, > >> but with Ersatz. Has it been done ? If not, would it involve: >> 1) the use of the -server function in http.l > > I haven't thought about this in depth. 'server' might be ported to > Ersatz perhaps, by omitting the (fork) stuff.
Mmf. I'll try to try something. >> 2) grab the path of the requested file >> 3) read the file and send it to the client >> 4) write a little file explorer when requesting a directory > > I think this can all be done, by porting parts of the 'http' function. OK. Thanks for encouraging me ! On Mon, Mar 16, 2015 at 1:21 PM, Joe Bogner <joebog...@gmail.com> wrote: > Christophe, I wrote up an article a few years ago about creating a web app > with ersatz and picoLisp: > > http://picolisp.com/wiki/?ersatzwebapp I read this page which ranked quite high in my searches, but couldn't find enough info. > One of the subtle points of the article is that you need to modify the > ersatz sources to remove the Static initialization of variables, otherwise > it won't be thread safe. Subtle indeed. Isn't it something suitable for Ersatz upstream ? chri -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris) https://twitter.com/profgraorg http://microalg.info -- UNSUBSCRIBE: mailto:email@example.com?subject=Unsubscribe