alexshe63 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe5 has joined #picolisp
alexshe5 has quit [Ping timeout: 245 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- IRC for Android 2.1.60]
alexshendi has joined #picolisp
alexshendi has quit [Client Quit]
rob_w has quit [Remote host closed the connection]
superjuice543 has joined #picolisp
<superjuice543>
Hello all
<abu[7]>
Hi superjuice543
<superjuice543>
Hey abu, I'm looking into lisps for a mobile app dev (clojure + react natve, clojuredart, lambdanative, pilbox)
<superjuice543>
How viable is pilbox for developing standalone apk's for distribution on the playstore?
<abu[7]>
x
<abu[7]>
This is possible
<abu[7]>
there are two ways: Either uss standard PilBox and just supply a ZIP
<abu[7]>
Or, better, modify it from the sources and release a new app
<abu[7]>
If you rewrite "App.l" you can build a completely different app
<abu[7]>
i.e. assets/run/App.l
<superjuice543>
good to know. thanks
<abu[7]>
PilBox starts a standard PicoLisp and simply 'load's App.l
superjuice543 has quit [Quit: Client closed]
superjuice543 has joined #picolisp
geri has joined #picolisp
<geri>
silly question - why can we setq a transient symbol but not a number? :D
<abu[7]>
A number has no value field
<geri>
only its name basically?
<geri>
s/^/it has/
<geri>
s/its/a/
<geri>
xd
<abu[7]>
It is even less. The name of a symbol is a number
<geri>
another silly question - everything is a cell, right?
<geri>
if i setq X 5
<geri>
how does it look like in cell representation?
<abu[7]>
Yes
<abu[7]>
I recommend @doc/structures
<abu[7]>
There is a pict of a symbol
<abu[7]>
The VAL part
<abu[7]>
It is also explained in @doc/ref.html iirc
<geri>
there are so many branches for val explanation xd
<abu[7]>
:)
<geri>
what's a tail here?
<abu[7]>
The other is the *type* val
<abu[7]>
It is at least the name (possibty empty)
<abu[7]>
plus properties
<geri>
i feel very stupid xd
<abu[7]>
nono
<geri>
so what im understanding fro the symbol graph - a symbol is a cell, where cdr is its value and car is a pointer to some other cell whose car is val/key and cdr is key and pointer to some more stuff
<geri>
xdd
<geri>
oh wait, is it related to unrestricted symbol name length?
<abu[7]>
Perfect
superjuice543 has quit [Quit: Client closed]
<abu[7]>
The name is a number, so it may be a bigmum
superjuice543 has joined #picolisp
<superjuice543>
Just browsed the pilbox sources and some of the tutorials at picolisp-explored,
<superjuice543>
I read pilbox may have issues terminating in the background. Does this still apply to standalone apk's built from the
<superjuice543>
"Unfortunately it can happen that the PilBox app terminates the process while running in the background. The screen will show "Zombie" when you re-open it. In this case, just swipe it out and restart it."
<abu[7]>
This can happen with any app in fact
<abu[7]>
Google kills ;)
<geri>
i think termux had some issue like that on android 12/13?
<geri>
google kills...
<geri>
is `chop' heavy?
<superjuice543>
Glad to hear its not pilbox specific
<abu[7]>
'chop' is relatively heavy, it allocates cells
<geri>
rip text processing
<geri>
(joek)
<superjuice543>
When would you choose native platforms (java, kotlin) over PilBox. Put another way is there category (or scale) of app that pilbox development is unsuited for?
<abu[7]>
In general I think it is easier, because you can develop interactively on the device
<geri>
im really happy termux is a thing
<geri>
i get my linux fix anywhere if im really into it
<superjuice543>
Good news, I've run into a bunch of issues trying to set up a dev environment and emulator in android studio
<geri>
good news cause literally cant use "native platforms" so its pilbox time? :D
<abu[7]>
Right :)
<geri>
do you use pilbox yourself?
<geri>
or mostly just termux
<abu[7]>
I use it all the time, about 10 apps atm
<geri>
what'd you write in it?
<abu[7]>
Mostly the step counter, the broweer and a customer app