Re: Vip Editor

2017-01-03 Thread Alexander Burger
Hi David, > Thank you Alex for another exciting utility as well as more example code to > learn from. I'm having some difficulty installing vip and I hope someone > can help me out. Using a 64-bit Netrunner (based off of Manjaro based off > Arch) install, a fresh 16-12 picolisp installation,

Re: matching a simple string variable

2017-01-03 Thread Alexander Burger
On Tue, Jan 03, 2017 at 07:52:34AM +0100, Alexander Burger wrote: >(match (append '(@A) (chop Varstring) '(@B)) ... BTW, better is perhaps (match (cons '@A (conc (chop Varstring) '(@B))) ... because 'append' unnecessarily copies the list just built by 'chop'. 'conc' avoids that garbage.

Re: matching a simple string variable

2017-01-03 Thread Joe Golden
That does the trick. Thank you Alex! I think Haskell makes a big deal about Pattern Matching. I'm using your "match" here as a simple string matcher. I'm sure there are better ways, but I'm happy with my baby steps that appear to work! Happy 2017. On Tue, Jan 03, 2017 at 10:21:38AM +0100,

pil64 on Android/Termux

2017-01-03 Thread Erik Gustafson
Hi Alex, What's the current process to get pil64 running on Android/Termux? I tried the method from the original announcement (wget, dpkg, etc) with more recent versions of PL to no avail. Thanks in advance, Erik

Re: matching a simple string variable

2017-01-03 Thread Erik Gustafson
Hi Joe, Also note that it's fairly easy to pull in regex functionality, should you need it. See http://rosettacode.org/wiki/Regular_expressions#PicoLisp for an example (pil64).

Re: pil64 on Android/Termux

2017-01-03 Thread Alexander Burger
Hi Erik, > What's the current process to get pil64 running on Android/Termux? I tried > the method from the original announcement (wget, dpkg, etc) with more > recent versions of PL to no avail. That's not necessary. It is very easy. Just install the Termux App, then do $ apt update $

Re: pil64 on Android/Termux

2017-01-03 Thread Erik Gustafson
Hi Alex, It is very easy. Just install the Termux App, then do $ apt update $ apt install picolisp Hmm, that leaves me with pil32. : (version) 16.12.22 C -> (16 12 22) : *CPU -> NIL I've been using pil32 for awhile now, so I did $ apt purge picolisp $ apt update

Re: pil64 on Android/Termux

2017-01-03 Thread Erik Gustafson
False alarm. A bit of research showed I needed to force a fresh install of Termux to get access to 64-bit packages, even though the app was already up to date. pil64 is a go!

Re: matching a simple string variable

2017-01-03 Thread Alexander Burger
Hi Joe, > > (match (cons '@A (conc (chop Varstring) '(@B))) ... > I'm using your "match" here as a simple string matcher. I'm sure there are > better ways, but I'm happy with my baby steps that appear to work! If you are only interested in a boolean result, but don't need the values of '@A'

Re: Vip Editor

2017-01-03 Thread David Bloom
Thank you Alex for another exciting utility as well as more example code to learn from. I'm having some difficulty installing vip and I hope someone can help me out. Using a 64-bit Netrunner (based off of Manjaro based off Arch) install, a fresh 16-12 picolisp installation, and ncurses installed

Subscribe

2017-01-03 Thread ted888