Re: Vip screen resize

2020-04-09 Thread Alexander Burger
Hi Wojtek, > for some reason it won't allow me to exit insert mode. It worked fine > yesterday and I have no idea what changed. Initially I thought it > might be some escaping issue, i.e. Esc/C-[ being interpreted as some > other symbol, but it works fine for Vim (both Esc and C-[). What I'm >

Re: minipicolisp with Microsoft C compiler

2020-04-09 Thread Alexander Burger
Hi Kashyap, > I just realized that picolisp source has tests and I am going to try and > find out how many of them are valid for miniPicoLisp. Yes, lib/test.l is a good way to start. But you musst probably throw out the larger part of it. > better way to get the tests for miniPicoLisp, please

Re: miniPicoLisp/picoLisp difference

2020-04-09 Thread Alexander Burger
Hi Kashyap, > (let (A 1 (B . C) (2 3)) B) -> 2 > > where as in miniPicoLisp (compiled using gcc 7.5 on ubuntu with -m32 added > to gcc in the Makefile) I get NIL for the same expression. Is that expected? Yes, 'let' with list arguments (destructuring bind) is supported only in pil64. ☺/ A!ex

Re: 64bit miniPicoLisp

2020-04-09 Thread Alexander Burger
On Thu, Apr 09, 2020 at 09:46:05PM -0700, C K Kashyap wrote: > gcc. Things work fine when I use gcc 7.5 or above on Linux. However, when I > use gcc 6.3, I find that some of the symbols are not found. I have not dug Not sure, this looks like an issue with linker options for exported symbols. ☺/

miniPicoLisp/picoLisp difference

2020-04-09 Thread C K Kashyap
Hi Alex, I noticed that in picoLisp the following is true (let (A 1 (B . C) (2 3)) B) -> 2 where as in miniPicoLisp (compiled using gcc 7.5 on ubuntu with -m32 added to gcc in the Makefile) I get NIL for the same expression. Is that expected? Regards, Kashyap

64bit miniPicoLisp

2020-04-09 Thread C K Kashyap
Hi Alex, I am running into a weird situation when I build miniPicoLisp with 64 bit gcc. Things work fine when I use gcc 7.5 or above on Linux. However, when I use gcc 6.3, I find that some of the symbols are not found. I have not dug into this much but I was wondering if there is any advice on

minipicolisp with Microsoft C compiler

2020-04-09 Thread C K Kashyap
Hi all, I am working on building minipicolisp with Microsoft C compiler the last few days. It looks like getting rid of the uses of variable length array is the bulk of the work. I was able to get it running after compiling with CL.exe (32bit) -

Re: Vip screen resize

2020-04-09 Thread Wojciech Gac
Thanks Alex! This is very elegant and concise. And it works. One other problem I noticed with my Vip (this is under Termux) is that for some reason it won't allow me to exit insert mode. It worked fine yesterday and I have no idea what changed. Initially I thought it might be some escaping issue,

Re: Vip screen resize

2020-04-09 Thread Мансур Мамкин
Hi all, what about also comparing new values with current values, and do something only when anything has changed. Best regards, Mansur Mamkin On Wed, Apr 8, 2020 at 10:08 PM Wojciech Gac wrote: > Hi, > > I typically use my Vip/Picolisp setup inside Tmux. I've noticed that when > I resize the

Re: Vip screen resize

2020-04-09 Thread Wojciech Gac
Hi Mansur, Could be done, but since the function is meant to be run by manual invocation *and* after an infrequent operation (Tmux window resize), I'm not sure it matters that much. Assuming, that is, that (eqwin) is cheap to run. Wojtek On Thu, Apr 9, 2020 at 1:21 PM Мансур Мамкин wrote: >

minipicolisp with Microsoft C compiler

2020-04-09 Thread C K Kashyap
[Sorry if this message messes up your thread - something went wrong with my email and my sent emails got deleted] I just realized that picolisp source has tests and I am going to try and find out how many of them are valid for miniPicoLisp. If someone knows of a better way to get the tests for