Re: minipicolisp pointers
On Sat 21 Oct 2023 at 12:26, C K Kashyap wrote: > By "call", I mean the regular PicoLisp "call", which is used to call > external programs. I see. Maybe you could take the "call" function from the old full picolisp which was in C. -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: minipicolisp pointers
Thanks Tomas, By "call", I mean the regular PicoLisp "call", which is used to call external programs. My link should take you to github - I tried the link on an incognito mode browser and it does take me to the code. On Sat, Oct 21, 2023 at 12:11 PM Tomas Hlavaty wrote: > On Sat 21 Oct 2023 at 10:50, C K Kashyap wrote: > > Could I have some pointers on extending MiniPicoLisp to implement > > "call" and external objects? > > not sure what do you mean by "call" and external objects > but https://logand.com/sw/mplisp/files.html shows how to extend > minipicolisp with ffi. > > > My attempt at external object is here - > > > https://github.com/ckkashyap/pl/blob/bcf834075358e21abd4c7ec4adf6862e76df4348/miniPicoLisp/09012023/miniPicoLisp/src/main.c#L764 > > this does not show any code, does it require javascript? > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >
Re: minipicolisp pointers
On Sat 21 Oct 2023 at 10:50, C K Kashyap wrote: > Could I have some pointers on extending MiniPicoLisp to implement > "call" and external objects? not sure what do you mean by "call" and external objects but https://logand.com/sw/mplisp/files.html shows how to extend minipicolisp with ffi. > My attempt at external object is here - > https://github.com/ckkashyap/pl/blob/bcf834075358e21abd4c7ec4adf6862e76df4348/miniPicoLisp/09012023/miniPicoLisp/src/main.c#L764 this does not show any code, does it require javascript? -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe