try picolisp
hi, Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Mike
Re: try picolisp
Maybe not with Emscripten. On August 28, 2014 7:41:12 PM CEST, Mike Pechkin mike.pech...@gmail.com wrote: hi, Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Mike -- Skickat från min Android-telefon med K-9 E-post. Ursäkta min fåordighet.
Re: try picolisp
The 64 bit version of picolisp can be ported to any machine. There is an existing emulator that generates C code, another emulator that generated Javascript would be cool! -Michel On Thu, Aug 28, 2014 at 10:41 AM, Mike Pechkin mike.pech...@gmail.com wrote: hi, Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Mike -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: try picolisp
Hi Mike, I would also be interested in minipicolisp running under Emscripten. In the meantime, have you seen Jon Kleiser's EmuLisp: http://folk.uio.no/jkleiser/pico/emuLisp/console.html ? On Thu, Aug 28, 2014 at 1:41 PM, Mike Pechkin mike.pech...@gmail.com wrote: hi, Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Mike -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: try picolisp
On Thu, Aug 28, 2014 at 7:53 PM, Jakob Eriksson ja...@aurorasystems.eu wrote: Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Hi Mike. There is EmuLisp, a JS implementation by Jon Kleiser. It is not advertised much on the official PicoLisp website. Jon wrote it as a pet project to understand the internals of PicoLisp better. It is of course much closer to ersatz or minipico than the real picolisp, and still far from complete but very usable. At least, I use it! I use it in a real project (an embedded language, with pedagogical purposes only). Jon is very reactive and try his best to answer/implement my suggestions. Home page: http://folk.uio.no/jkleiser/pico/emuLisp/ Console: http://folk.uio.no/jkleiser/pico/emuLisp/console.html Semi-official and semi-main repo: https://github.com/grahack/emulisp A hint about the saneness of the implementation (how 'quote is implemented): https://github.com/Grahack/EmuLisp/blob/master/emulisp_core.js#L931 The home page of my language (French only): http://microalg.info/ On August 28, 2014 7:41:12 PM CEST, Mike Pechkin mike.pech...@gmail.com wrote: Maybe not with Emscripten. I once tried to compile minipico with emscripten. Discussed somewhere here: http://comments.gmane.org/gmane.lisp.picolisp.general/4392 On Thu, Aug 28, 2014 at 7:52 PM, Michel Pelletier pelletier.mic...@gmail.com wrote: The 64 bit version of picolisp can be ported to any machine. There is an existing emulator that generates C code, another emulator that generated Javascript would be cool! I once thought about http://asmjs.org/ but as I understand this project, it is not what we could call a JS implementation of an asm. Deceit. chri -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris) https://twitter.com/profgraorg http://microalg.info -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: try picolisp
Hi, The Home page and Console of my EmuLisp that Christophe mentions, relates to the first version of EmuLisp, which may now be regarded as obsolete. Thanks to suggestions from Christophe, I have re-structured the code, corrected some errors, and implemented a few new functions (more coming). Christophe’s github repo has what I now call EmuLisp v.2. Instead of going with my old console design, I have now, at least for my own use, based my new console on jq-console. You can find it here: https://dl.dropboxusercontent.com/u/48186945/web/pico/emulisp-console2.html One feature I plan to port from my old v.1 console is the canvas that lets you monitor arbitrary Lisp expressions graphically. /Jon On 28. aug. 2014, at 20:22, Christophe Gragnic christophegrag...@gmail.com wrote: On Thu, Aug 28, 2014 at 7:53 PM, Jakob Eriksson ja...@aurorasystems.eu wrote: Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? Hi Mike. There is EmuLisp, a JS implementation by Jon Kleiser. It is not advertised much on the official PicoLisp website. Jon wrote it as a pet project to understand the internals of PicoLisp better. It is of course much closer to ersatz or minipico than the real picolisp, and still far from complete but very usable. At least, I use it! I use it in a real project (an embedded language, with pedagogical purposes only). Jon is very reactive and try his best to answer/implement my suggestions. Home page: http://folk.uio.no/jkleiser/pico/emuLisp/ Console: http://folk.uio.no/jkleiser/pico/emuLisp/console.html Semi-official and semi-main repo: https://github.com/grahack/emulisp A hint about the saneness of the implementation (how 'quote is implemented): https://github.com/Grahack/EmuLisp/blob/master/emulisp_core.js#L931 The home page of my language (French only): http://microalg.info/ On August 28, 2014 7:41:12 PM CEST, Mike Pechkin mike.pech...@gmail.com wrote: Maybe not with Emscripten. I once tried to compile minipico with emscripten. Discussed somewhere here: http://comments.gmane.org/gmane.lisp.picolisp.general/4392 On Thu, Aug 28, 2014 at 7:52 PM, Michel Pelletier pelletier.mic...@gmail.com wrote: The 64 bit version of picolisp can be ported to any machine. There is an existing emulator that generates C code, another emulator that generated Javascript would be cool! I once thought about http://asmjs.org/ but as I understand this project, it is not what we could call a JS implementation of an asm. Deceit. chri -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris) https://twitter.com/profgraorg http://microalg.info -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: try picolisp
On Thu, Aug 28, 2014 at 9:32 PM, Jon Kleiser jon.klei...@fsat.no wrote: Thanks to suggestions from Christophe, I have re-structured the code, And removed some trailing whitespace! (more to come (crossing fingers)). corrected some errors, and implemented a few new functions (more coming). Some say OOP will come before Christmas. Christophe’s github repo has what I now call EmuLisp v.2. Also, this repo is watched by Travis: https://travis-ci.org/Grahack/EmuLisp BTW Jon, I had to remove use strict; for now because of NodeJS. I have to investigate why the strict mode makes the EMULISP object not available to the JS script that launches the tests. chri -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris) https://twitter.com/profgraorg http://microalg.info -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: try picolisp
On 8/28/14, Christophe Gragnic christophegrag...@gmail.com wrote: On Thu, Aug 28, 2014 at 9:32 PM, Jon Kleiser jon.klei...@fsat.no wrote: Thanks to suggestions from Christophe, I have re-structured the code, And removed some trailing whitespace! (more to come (crossing fingers)). corrected some errors, and implemented a few new functions (more coming). Some say OOP will come before Christmas. Christophe’s github repo has what I now call EmuLisp v.2. URL for EmuLisp v.2. repo? Also, this repo is watched by Travis: https://travis-ci.org/Grahack/EmuLisp BTW Jon, I had to remove use strict; for now because of NodeJS. I have to investigate why the strict mode makes the EMULISP object not available to the JS script that launches the tests. chri -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris) https://twitter.com/profgraorg http://microalg.info -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe