Unsubscribe
Good bye Daniel Cerqueira :-( You are now unsubscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Subscribe
Hello Daniel Santos :-) You are now subscribed -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Status of Picolisp 32-bit (was Re: Installing Pilbox on arm 32)
Hi, Where is the source code for the "final version" of pil32? On Fri, May 7, 2021, 12:11 AM Alexander Burger wrote: > Hi Daniel, > > > In that case, what is the status of Picolisp 32-bit? > > I read in the doc in many places "64-bit version only". Is Picolisp > 32-bit > > deprecated? > > All PicoLisp versions except pil21 (e.g. pil32, pil64, miniPicoLisp, > ErsatzLisp, > PilMCU and PilOS) are still around, but I don't actively maintain them any > more. > > > > If so, it creates a cognitive dissonance in my mind. A system > > created to be small and fast runs only on 64-bit? > > I believe this is no contradiction. The system is still small and fast, > just the > pointer size is 64 instead of 32 bits. > > The trend is towards 64 bits, in servers, desktops, notebooks, smartphones > and > even single-board computers (RasPi). Only small embedded systems remain, > and > there just miniPicoLisp makes sense. > > BTW, the "pico" in the name never meant the system size (you can build > large > applications with PicoLisp), but the small number of basic concepts. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >
Re: Status of Picolisp 32-bit (was Re: Installing Pilbox on arm 32)
Thank you for the precisions and Picolisp, it is a very nice system. On Fri, May 7, 2021, 12:11 AM Alexander Burger wrote: > Hi Daniel, > > > In that case, what is the status of Picolisp 32-bit? > > I read in the doc in many places "64-bit version only". Is Picolisp > 32-bit > > deprecated? > > All PicoLisp versions except pil21 (e.g. pil32, pil64, miniPicoLisp, > ErsatzLisp, > PilMCU and PilOS) are still around, but I don't actively maintain them any > more. > > > > If so, it creates a cognitive dissonance in my mind. A system > > created to be small and fast runs only on 64-bit? > > I believe this is no contradiction. The system is still small and fast, > just the > pointer size is 64 instead of 32 bits. > > The trend is towards 64 bits, in servers, desktops, notebooks, smartphones > and > even single-board computers (RasPi). Only small embedded systems remain, > and > there just miniPicoLisp makes sense. > > BTW, the "pico" in the name never meant the system size (you can build > large > applications with PicoLisp), but the small number of basic concepts. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >
Status of Picolisp 32-bit (was Re: Installing Pilbox on arm 32)
In that case, what is the status of Picolisp 32-bit? I read in the doc in many places "64-bit version only". Is Picolisp 32-bit deprecated? If so, it creates a cognitive dissonance in my mind. A system created to be small and fast runs only on 64-bit? Just curious, I didn't dig much in the mailing list archive. On Thu, May 6, 2021, 8:12 AM Alexander Burger wrote: > Hi Daniel, > > > The subject line says: on arm 32 ie. Arm 32-bit. > > Oops, overlooked, that's the problem! > > > > The PilBox doc page says: > > > > If your device has an Arm32 CPU, you can - after installing the PilBox > App > > but before starting it - download and install the emulator version > > Oh, sorry! The page in the PicoLisp Wiki is outdated :( > > The README in PilBox.tgz is up to date though. The Wiki page must be fixed. > > Due to new restrictions by Google, Android Apps are no longer allowed to > start > executable binaries which were loaded dynamically (i.e. not packaged > inside the > APK). Therefore the above way had to be abandened. > > Another reason is that PilBox is meanwhile ported to pil21, which runs on > 64-bit > CPUs only (and has no emu as pil64). > > So I'm sorry, but I see no way at the moment to support PilBox on 32 bits > :( > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >
Re: Installing Pilbox on arm 32
Thanks for the reply. The subject line says: on arm 32 ie. Arm 32-bit. The PilBox doc page says: If your device has an Arm32 CPU, you can - after installing the PilBox App but before starting it - download and install the emulator version https://software-lab.de/arm32.zip. So it seems that it can work on a arm 32 device (both of my devices are Arm-32). I downloaded the apk from the picolisp website. On Thu, May 6, 2021, 12:18 AM Alexander Burger wrote: > Hi Daniel, > > > I have tried to installed Pilbox on my old cell (Android 5.1) and a new > > cheap tablet (Android 9), and I get the same result. I get a screen > saying > > it is installing then a message saying 'App not installed'. > > PilBox should run on Android >= 5, and needs a 64-bit Arm CPU (ARMv8). Is > the > latter the case on your devices? > > Did you install from PlayStore? If so, the above conditions should be > checked > automatically. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >
Installing Pilbox on arm 32
Hi, I have tried to installed Pilbox on my old cell (Android 5.1) and a new cheap tablet (Android 9), and I get the same result. I get a screen saying it is installing then a message saying 'App not installed'. I don't have a laptop with adb, I'm on vacation.
Subscribe
Re: Pil21 is now in Debian Unstable
Happy 2021! Starting with pil21 :) Em ter., 29 de dez. de 2020 às 21:19, pd escreveu: > great news! thanks! > > On Tue, Dec 29, 2020 at 4:26 PM r cs wrote: > >> Alex: >> >> Congratulations and thank you! >> >> ☺ / rcs >> >> On Tue, Dec 29, 2020 at 6:01 AM Alexander Burger >> wrote: >> >>> Hi all, >>> >>> pil21 is now available in Debian unstable. >>> >>> This means we are now "officially" on pil21! >>> >>> ☺/ A!ex >>> >>> -- >>> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >>> >> >> >> -- >> *Níl aon tinteán mar do thinteán féin. *[Irish Gaelic] >> (There is no fireside like your own fireside.) >> >> >>
Re: using vip in a local install
Thanks for the overview! On Wed, Jul 10, 2019 at 12:39 AM Alexander Burger wrote: > Hi Daniel, > > > I'm using a local install and the script at bin/vip expects a global > > install. I've tried a few things and while they all halfway work, none > seem > > like a particularly good solution: > > > > 1. modify bin/vip and update PATH to include the local install's bin > > directory > > 2. create a wrapper script, similar to the pil script for local installs > > 3. call ./pil ./lib/vip.l -vip~vi -bye > > Yes, modifying bin/vip is not a good idea, as it will be overwritten at > next > update of PicoLisp. > > I always have a ~/bin/ directory on every machine I use, which is the > first entry in my PATH search order, so I us a script 'vi' like > >#!/data/data/com.termux/files/home/pico/bin/picolisp > /data/data/com.termux/files/home/pico/lib.l ># 04oct17abu > >(load "@bin/vip") > > The path in the hash bang depends on the machine, the above example is for > Termux on Android. > > > Another, more direct way, (as I mentioned in some other mail) is: > >$ ./pil @lib/vip.l + >: (vi "file") > > > > Also, does PicoLisp provide a function to set vip as the editor? (i.e., > is > > there something for vip that's analogous to em for emacs or vi for vim) > > Unfortunately not (yet) completely. If you start as above, by loading > @lib/vip.l, and do > >: (vi 'vi) > > it *does* use Vip to browse the sources, but things like > >: (edit 'vi) > > still use Vim. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >
using vip in a local install
I've been using PicoLisp for a few months and just found out about vip. It's a nice little editor! I'm using a local install and the script at bin/vip expects a global install. I've tried a few things and while they all halfway work, none seem like a particularly good solution: 1. modify bin/vip and update PATH to include the local install's bin directory 2. create a wrapper script, similar to the pil script for local installs 3. call ./pil ./lib/vip.l -vip~vi -bye None are as smooth as the local install's pil script. Is there a nice way to use vip smoothly with a local install? Also, does PicoLisp provide a function to set vip as the editor? (i.e., is there something for vip that's analogous to em for emacs or vi for vim) Thanks!
Subscribe
Subscribe
-- Daniel
Re: sending data over udp
Thank you for the answer and the suggestions. I will look into them furthe= r. - dan On Sat, Aug 14, 2010 at 11:28 AM, Alexander Burger a...@software-lab.de wr= ote: Hi Dan, You mean, for example, by sending a list of numbers representing bytes= ? e.g. =3DA0 (udp Host Port (1 2 3 4 5 6 7)) Yes, but without the extra bytes for the list data structure. Unfortunately, the existing 'udp' function cannot do that. It can handle only Lisp data. You could make your own custom function, e.g. with inline-C using 'gcc' =A0 (load @lib/gcc.l) =A0 (gcc net NIL 'rawUdp) =A0 any rawUdp(any ex) { =A0 =A0 =A0... =A0 =A0 =A0byte buf[UDPMAX]; =A0 =A0 =A0... =A0 =A0 =A0fill 'buf' with bytes =A0 =A0 =A0sd =3D socket(AF_INET, SOCK_DGRAM, 0) =A0 =A0 =A0sendto(sd, buf, ...) =A0 =A0 =A0close(sd); =A0 } =A0 /**/ but this is rather tedious, manipulating the buffer and byte data. I don't know any really easy way at the moment. How about writing raw bytes to a pipe or temp file, and using an external tool like 'nc' to actually transfer the data? Cheers, - Alex -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
sending data over udp
A few weeks ago I asked about sending data over TCP. Well, my program must now use UDP and it appears that UDP simply sends PicoLisp data structures. Prior to this, I was simply creating a list of byte-sized numbers and using wr to send them via TCP. Is there any way to do something similar using UDP? By the way, this question is somewhat time sensitive. Thank you. - dan -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
Re: PL vs. BSD License
Hello. Does the GPL affect code that I write that runs on PicoLisp, or just changes to the PicoLisp interpreter? If only changes to the interpreter are affected, than GPL is the way to go as far as I am concerned. However, I should add that many large companies (at least in the US) are irrationally terrified of anything GPL. It is very annoying. - dan On Mon, Aug 2, 2010 at 3:50 AM, Mansur Mamkin mmam...@mail.ru wrote: Hi all, Hi all, as this discussion popped up recently and in the past, and will surely pop up in the future: What do you think if PicoLisp were released under the BSD license instead of GPL? Why not? It would be great to see PicoLisp under BDS license Oops, sorry, I mean BSD -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
Fwd: PicoLisp Browser GUI example error
Didn't see the mailing list until after I sent this email. Any ideas? -- Forwarded message -- From: Daniel Elliott danelliotts...@gmail.com Date: Tue, Jul 27, 2010 at 8:45 AM Subject: PicoLisp Browser GUI example error To: a...@software-lab.de, josef.ba...@2bartl.de Mr. Burger and Mr. Bartl, Thank you for your work on PicoLisp. =A0It is absolutely perfect for an important portion of a agricultural system prototype my startup is building. =A0We want to use PicoLisp on a device running OpenWRT. =A0We have already successfully built and installed PicoLisp on the device with the help of Jeronimo Pellegrini's package. However, I am having difficulty with the Browser GUI example. =A0When I run picolisp this is what I get: r...@openwrt:/usr/share/picolisp# pico dbg.l lib/http.l lib/xhtml.l lib/form.l -'server 8080 ~/helloworldhttp.l' tput: can't exec tput: can't exec [/usr/bin/../share/picolisp/lib/debug.l:147] !? (in l...@lib/tags (while (read) (let Sym @ (if (get Sym '*Dbg) (set @ (read)) (put Sym '*Dbg (cons (read))) /usr/bin/../share/picolisp/lib/tags open: No such file or directory Is it looking for a tags.l file in the lib? =A0If so, it is not present. Thanks, again, for your work on this language. =A0We are hopeful we will be able to use it for other parts of our system (perhaps in place of common Lisp) but are starting with running it on an embedded device. By the way, is there a better place to post this question? Thank you. - dan elliott -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
Re: PicoLisp Browser GUI example error
Thanks! That got me over the hump. I put a tags file in lib. It turns out the ht library was also missing from the package. I will let Jeronimo Pellegrini know. Once I added those two things, I was able to run the first couple lines of the example. - dan On Tue, Jul 27, 2010 at 9:25 AM, Alexander Burger a...@software-lab.de wro= te: Hi Dan, Didn't see the mailing list until after I sent this email. =A0Any ideas? No problem. In general it is better to ask such questions in the mailing list, though, as other people might also benefit then. Next time then ;) Thank you for your work on PicoLisp. =A0It is absolutely perfect for an important portion of a agricultural system prototype my startup is Hehe, that's interesting :-) Josef Bartl an me initially also worked on agricultural systems (warehoses) when we first met (almost 20 years ago). building. =A0We want to use PicoLisp on a device running OpenWRT. =A0We have already successfully built and installed PicoLisp on the device with the help of Jeronimo Pellegrini's package. OK However, I am having difficulty with the Browser GUI example. =A0When I run picolisp this is what I get: r...@openwrt:/usr/share/picolisp# pico dbg.l lib/http.l lib/xhtml.l lib/form.l -'server 8080 ~/helloworldhttp.l' tput: can't exec tput: can't exec I see. The 'tput' command seems not available on OpenWRT. This makes sense, as this is not very useful in such an environment. I would suggest to remove the whole expression (when (sys TERM) ..) from lib/dbg.l. It is not important, it only sets the '*Tsm' console mode (the transient symbol markup, which underlines transient symbols (strings)). [/usr/bin/../share/picolisp/lib/debug.l:147] !? (in l...@lib/tags (while (read) (let Sym @ (if (get Sym '*Dbg) (set @ (read)) (put Sym '*Dbg (cons (read))) /usr/bin/../share/picolisp/lib/tags open: No such file or directory Is it looking for a tags.l file in the lib? =A0If so, it is not present. Yeah, it seems it didn't get included into the distribution. It is rather large, and only needed for source access during debugging. I would suggest to create an empty file lib/tags. Please let me know how you get along, and don't hesitate to ask! :-) Cheers, - Alex -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
threading in PicoLisp
Hello again, I have my HTTP-based GUI but my process is going to do a bunch of stuff and it would be nice if the web server were still responsive. The GUI will only display information about the status of the program and will be able to display information from the DB. Would this be best handled by threading or through sharing a PicoLisp database? How is threading handled in PicoLisp? - dan elliott -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe