Subscribe

2013-04-25 Thread Michel Pelletier

Re: NIL and

2014-08-23 Thread Michel Pelletier
On Sat, Aug 23, 2014 at 11:56 AM, Christophe Gragnic christophegrag...@gmail.com wrote: On Sat, Aug 23, 2014 at 3:13 PM, Alexander Burger a...@software-lab.de wrote: Is there somewhere some info about being NIL? http://software-lab.de/doc/ref.html#nilSym

Re: try picolisp

2014-08-28 Thread Michel Pelletier
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

Re: Performance Observation

2014-09-25 Thread Michel Pelletier
Can you provide the code? On Sep 25, 2014 4:19 PM, Mark Probert probe...@gmail.com wrote: Hi. I have been having a lot of fun learning picoLisp. Thank you Alex for this gem! As part of my learning, I converted a simple Ruby program I had into plisp and thought I would share the results.

Re: A pragmatic solution to using arrays in picolisp

2015-02-17 Thread Michel Pelletier
Arrays are very useful for numeric computing over linked lists. Contiguous blocks of linear memory are much more efficient, improving on numeric density, cache occupancy, and being able to take advantage of specific CPU vector instructions. For GPU based computing, contiguous arrays are

Re: A Unit Testing library for PicoLisp

2015-03-18 Thread Michel Pelletier
Dude you're on fire! On Wed, Mar 18, 2015 at 8:21 AM, Alexander Williams a...@unscramble.co.jp wrote: Hi list, I've written a small unit testing library/framework for testing PicoLisp code. It's extremely simple but produces somewhat decent output. https://github.com/aw/picolisp-unit

Re: A PicoLisp native library tutorial

2015-03-03 Thread Michel Pelletier
Awesome! On Tue, Mar 3, 2015 at 11:49 AM, Jakob Eriksson ja...@aurorasystems.eu wrote: Yep. Definitely interesting. On 03/03/15 18:50, Joe Bogner wrote: Nicely done. Thanks for sharing On Tue, Mar 3, 2015 at 12:16 PM, Henrik Sarvell hsarv...@gmail.com wrote: Nice! On Tue,

Re: Backspace across wrapped line

2016-03-05 Thread Michel Pelletier
There's also the option of using an optional third party library like https://github.com/antirez/linenoise On Sat, Mar 5, 2016 at 9:02 AM, Jakob Eriksson wrote: > A shotgun approach would be to create a screen editor of sorts, > with a repl in it. That is probably

Re: Wiki search for 'NIL'

2016-12-27 Thread Michel Pelletier
Martin Porter keeps a list of common english stop words that is frequently used to improve search results: http://snowball.tartarus.org/algorithms/english/stop.txt On Tue, Dec 27, 2016 at 6:31 AM, Erik Gustafson wrote: > Hi Alex, > > As we see, it indexes only words

Re: 'native' and pointers to pointers

2017-04-02 Thread Michel Pelletier
Hi Eric, Here's a link to exactly what you need: https://github.com/michelp/0pl/blob/master/zmq/zctx.l#L5 There's a thread in the archives where Alexander explains it to me, unfortunately it's been a while I don't remember all the details myself... -Michel On Sun, Apr 2, 2017 at 10:00 AM,

Re: 'native' and pointers to pointers

2017-04-02 Thread Michel Pelletier
Thanks for the explanation Erik! Sorry I misspelled your name. :) On Sun, Apr 2, 2017 at 12:11 PM, Erik Gustafson wrote: > Michel, > > Here's a link to exactly what you need: > > https://github.com/michelp/0pl/blob/master/zmq/zctx.l#L5 > > > I totally forgot about

Re: List graph library?

2017-04-05 Thread Michel Pelletier
It would be pretty easy to generate 'dot' from picolisp: https://en.wikipedia.org/wiki/DOT_(graph_description_language) On Wed, Apr 5, 2017 at 5:56 PM, Christopher Howard < christopher.how...@qlfiles.net> wrote: > Hi. Does somebody have a FOSS library handy for graphing a picolisp list > (like,

Re: Differences of Stack and List data structures

2017-10-01 Thread Michel Pelletier
This is not a PicoLisp specific question. I'm sure many of us here want to encourage your interest in general programming concepts, but there are much better venues for you to get answers to questions like this. For example, on youtube the Kahn Academy has excellent tutorials on programming,

Re: Ins and outs of the 'de' function

2018-05-24 Thread Michel Pelletier
Please do! It's a small community and sometimes might feel like you're talking to the walls, but we're paying attention. I myself almost never actually get to use picolisp, but I think it's an excellent example of simplicity and minimalism language design, and it actually brought me to become a

Re: Wiki fonts etc.

2018-06-17 Thread Michel Pelletier
I am also slightly vision impaired and prefer higher contrast and/or larger fonts. Quite a few good tips here https://webaim.org/techniques/fonts/ On Sun, Jun 17, 2018 at 6:25 AM, Arie van Wingerden wrote: > Hi all, > > being busy with the Wiki, I try to find some nice standards for fonts. > >

Re: Chinese input causes mess in the REPL

2018-01-28 Thread Michel Pelletier
Ah yeah, thanks for clarifying that. Does this "header only" C library seem useful? There's a lot of confusing stuff out there about unicode "width" https://github.com/joshuarubin/wcwidth9 On Sun, Jan 28, 2018 at 10:55 AM, Alexander Burger wrote: > Hi Michel, > > > "by

Re: Chinese input causes mess in the REPL

2018-01-28 Thread Michel Pelletier
I'm not an expert on this, but doing a little digging I see some links on calculating utf-8 character sizes and it seems like a lookup table is not necessary: http://www.daemonology.net/blog/2008-06-05-faster-utf8-strlen.html "by looking at the first byte of a multibyte character, we can

Re: webassembly as a new lisp :) ?

2018-07-20 Thread Michel Pelletier
Interesting read thanks for pointing that out, a strange mashing of lisp syntax with forth semantics, like (func $add (param $lhs i32) (param $rhs i32) (result i32) get_local $lhs get_local $rhs i32.add) (get_local x) pushes one value onto the stack, and (i32.add) pops two and pushes

Re: Mac OS

2018-04-09 Thread Michel Pelletier
PicoLisp works fine on OS X (on x86-64), you just have to build it from source using the instructions in the INSTALL file, I just verified it works well. Another option would be to use docker for mac and run the debian package in a container, but that would be slower than a native install.

Re: Mac OS

2018-04-09 Thread Michel Pelletier
mhe...@gmail.com> wrote: > So you can compile the 64 bit version of PicoLisp on mac? I remember this > wasn't possible. > > I have PicoLisp installed, but it's the 32 bit version. > > 2018-04-09 17:23 GMT-07:00 Michel Pelletier <pelletier.mic...@gmail.com>: > >> PicoLisp w

Re: pgint.l

2019-01-17 Thread Michel Pelletier
Hi Abel, Great work, I'll give it a shot on pg 10 and 11 later today at work. As for the mailing lists, I'd start with pgsql-general mailing list before the -hackers list, the same core devs watch both lists so you'll get the same high grade advice. They'll let you know if you should promote