Re: native/lisp in picolisp32

2020-05-08 Thread C K Kashyap
Got it - thanks Alex. I wish there was a libposix (perhaps using libuv) that PicoLisp would work against and then it would magically work on Mac and Windows too :) I was working on miniPicoLIsp with the idea of building in those features into miniPicoLisp (since it already works on Windows - buil

Re: native/lisp in picolisp32

2020-05-08 Thread Alexander Burger
On Fri, May 08, 2020 at 06:42:33PM +0200, Alexander Burger wrote: > Yes, miniPicoLisp and Ersatz do not depend on POSIX. Mini just uses the C > standard I/O stuff. "POSIX" basically means "Unix". It means processes (yes, fork()) and process groups, terminal handling, signals, pipes, file control (

Re: native/lisp in picolisp32

2020-05-08 Thread Alexander Burger
On Fri, May 08, 2020 at 09:28:36AM -0700, C K Kashyap wrote: > again, miniPicoLisp is also POSIX compliant right - but it uses a very > narrow slice of the POSIX API. Or am I understanding POSIX wrong here? Yes, miniPicoLisp and Ersatz do not depend on POSIX. Mini just uses the C standard I/O stuf

Re: native/lisp in picolisp32

2020-05-08 Thread C K Kashyap
> > > How do you mean that? Pil21 is not even finished for the first version. > > Perhaps I am remembering it incorrectly - I thought pil21 (a couple of months ago I think) - did not support 'fork'/'call' etc thereby making me thing it did not depend POSIX as heavily yet - when I say that I mean, d

Re: native/lisp in picolisp32

2020-05-08 Thread Alexander Burger
Hi Kashyap, > If I remember correctly - pil21 initially did not have the POSIX > requirement. Is there a way to get older versions of pil21 (I know that it > is a strange request for a POC :) ) How do you mean that? Pil21 is not even finished for the first version. But anyway it was always POSIX

Re: native/lisp in picolisp32

2020-05-08 Thread C K Kashyap
Thanks Alex, I think I'll try and see if I can get a simple SDL callback to work with miniPicoLisp - that way, I can really understand the issues better. If I remember correctly - pil21 initially did not have the POSIX requirement. Is there a way to get older versions of pil21 (I know that it is a

Re: native/lisp in picolisp32

2020-05-08 Thread Tomas Hlavaty
Hi Kashyap, C K Kashyap writes: > I am now trying to figure out how to do FFI min miniPicoLisp and I > realized that only pil64 has native/lisp support. Is there any reason > it could not be done in the 'c' implementation of pil32? I just wanted > to make sure that there is no "impossibility" abo