Re: minipicolisp with big num

2024-01-26 Thread C K Kashyap
:) ... thanks Alex!

On Fri, Jan 26, 2024 at 10:37 AM Alexander Burger 
wrote:

> Hi Kashyap, Mike,
>
> > Hey Mike ... I am actually asking if there is such a port/variation of
> > miniPicoLisp that has big num support - just like the regular picoLisp.
>
> I have never heard of any such version. In fact, I believe that at the
> moment
> you are the de-facto specialist of miniPicoLisp.
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: minipicolisp with big num

2024-01-26 Thread Alexander Burger
Hi Kashyap, Mike,

> Hey Mike ... I am actually asking if there is such a port/variation of
> miniPicoLisp that has big num support - just like the regular picoLisp.

I have never heard of any such version. In fact, I believe that at the moment
you are the de-facto specialist of miniPicoLisp.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: minipicolisp with big num

2024-01-26 Thread C K Kashyap
Hey Mike ... I am actually asking if there is such a port/variation of
miniPicoLisp that has big num support - just like the regular picoLisp.

Regards,
Kashyap

On Fri, Jan 26, 2024 at 9:14 AM Mike  wrote:

>
>
> > On Jan 26, 2024, at 18:19, C K Kashyap  wrote:
> >
> > 
> > Hey all,
> > Has anyone tried a port of miniPicoLisp with the added big num support?
>
> How did you test it?
>
> (mike)
>
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe
>


Re: minipicolisp with big num

2024-01-26 Thread Mike



> On Jan 26, 2024, at 18:19, C K Kashyap  wrote:
> 
> 
> Hey all,
> Has anyone tried a port of miniPicoLisp with the added big num support?

How did you test it?

(mike)


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: docker for pil21

2024-01-26 Thread C K Kashyap
Nice - I did not know about the --no-cache option :)

On Fri, Jan 26, 2024 at 8:09 AM Dmitry Non  wrote:

> Heya!
> Interestingly, I wrote a dockerfile for myself too at the end of Dec.My
> versions should be lighter due to the lack of build dependencies in the
> final image:
>
> FROM alpine:3.19 AS build
>
> RUN apk add --no-cache readline-dev libffi-dev libressl-dev binutils make
> clang llvm llvm-dev pkgconf
> RUN sh -c ' \
> wget https://software-lab.de/picoLisp-23.12.tgz; \
> tar xfz picoLisp-23.12.tgz; \
> cd pil21/src; \
> make \
> '
>
> FROM alpine:3.19
> RUN apk add --no-cache readline-dev libffi-dev libressl-dev
> COPY --from=build /pil21 /usr/lib/picolisp
>
> # RUN ln -s /pil21 /usr/lib/picolisp
> RUN ln -s /usr/lib/picolisp/bin/picolisp /usr/bin
> RUN ln -s /usr/lib/picolisp/bin/pil /usr/bin
>
> ENTRYPOINT ["pil"]
>
> It's availalbe at https://hub.docker.com/r/dmitrynon/picolisp
> but I didn't intend it for public consumption so you're better off using
> your own dockerfile with some additions from mine
>
> On 24 Jan 2024, at 18:47, picolisp@software-lab.de wrote:
>
> hi all,
>
> I have created a docker file for pil21 you can play with.
> Comments are welcome.
>
> https://git.envs.net/mpech/pil21-docker
>
> (mike)
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>
>
>


minipicolisp with big num

2024-01-26 Thread C K Kashyap
Hey all,
Has anyone tried a port of miniPicoLisp with the added big num support?
Regards,
Kashyap


Re: miniPicoLisp + libuv +libSDL

2024-01-26 Thread C K Kashyap
Thanks Alex - I'll take the "very good" for now :)

I think I found a better example for demo - libuv's file change callback
.. I'll do a demo using that -> make changes to a picolisp script and the
screen gets updated as I save the script :)

Regards,
Kashyap

On Fri, Jan 26, 2024 at 7:48 AM Alexander Burger 
wrote:

> Hi Kashyap,
>
> > ping Alex :)
>
> Yes, very good! There is just not much I can say here :)
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: docker for pil21

2024-01-26 Thread Dmitry Non
Heya!
Interestingly, I wrote a dockerfile for myself too at the end of Dec.My 
versions should be lighter due to the lack of build dependencies in the final 
image:

FROM alpine:3.19 AS build

RUN apk add --no-cache readline-dev libffi-dev libressl-dev binutils make clang 
llvm llvm-dev pkgconf
RUN sh -c ' \
wget https://software-lab.de/picoLisp-23.12.tgz; \
tar xfz picoLisp-23.12.tgz; \
cd pil21/src; \
make \
'

FROM alpine:3.19
RUN apk add --no-cache readline-dev libffi-dev libressl-dev
COPY --from=build /pil21 /usr/lib/picolisp

# RUN ln -s /pil21 /usr/lib/picolisp
RUN ln -s /usr/lib/picolisp/bin/picolisp /usr/bin
RUN ln -s /usr/lib/picolisp/bin/pil /usr/bin

ENTRYPOINT ["pil"]

It's availalbe at https://hub.docker.com/r/dmitrynon/picolisp
but I didn't intend it for public consumption so you're better off using your 
own dockerfile with some additions from mine

> On 24 Jan 2024, at 18:47, picolisp@software-lab.de wrote:
> 
> hi all,
> 
> I have created a docker file for pil21 you can play with.
> Comments are welcome.
> 
> https://git.envs.net/mpech/pil21-docker
> 
> (mike)
> 
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



Re: miniPicoLisp + libuv +libSDL

2024-01-26 Thread Alexander Burger
Hi Kashyap,

> ping Alex :)

Yes, very good! There is just not much I can say here :)

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: miniPicoLisp + libuv +libSDL

2024-01-26 Thread C K Kashyap
ping Alex :)

On Wed, Jan 24, 2024 at 7:58 AM C K Kashyap  wrote:

> Hi Alex et al,
> For quite some time now (years), I've been attempting to have a
> miniPicoLisp + libSDL + libUV working (on Windows as well) for a while and
> I have finally got it working :) ... Much of my time was wasted attempting
> "3 part cell" etc.
>
> I thought that I'd record a video of the demo before sharing but I am
> becoming impatient now :). I have the working version here -
> https://github.com/lispware/minilisp/tree/libuv2
> To see the demo, simply execute server.l (which listens on port 8080 for
> the mouse click locations and returns an RGB color). Then execute client.l
> - this opens an SDL window and sends the mouse click location to port 8080
> and draws a square on the window with the color returned from the server.
> [Please take a look at the Docker file to see the dependencies that are
> needed]
>
> I think I need to work on modelling the callbacks better. It would be
> great if I could have some pointers on how to do it better/right. For
> example, I modelled uv_tcp_listen here -
> https://github.com/lispware/minilisp/blob/2c4581d2288eafd4b5f65b88e37411e22993fc5a/src/lisp_sdl_libuv.c#L573
>  I
> execute the callback from the C callback "on_connection
> 
> "
>
> Regards,
> Kashyap
>