<Hunar[m]>
Can i use (doc) with PilBox pty? currently it says (w3m: Can't exec)
<abu[m]>
Hi Hunar! Unfortunately there is no w3m on Android
<abu[m]>
Could be installed, but needs a rebuild of the APK
<Hunar[m]>
But can I e.x use vip or sonething else to view it?
<abu[m]>
Yes, but onlt the HTML
<abu[m]>
(vi "@doc/refX.html")
<abu[m]>
Or use the "Browser" PilBox app
<abu[m]>
But that's not as convenient when in PTY
<Hunar[m]>
(vi "@doc/refX.html") is empty for me.. I wanted to simplify my procedure of looking up pilbox specific functions. Currently i (grep -R funName) in PilBox/assets/run/lib then look at source code
<Hunar[m]>
On my computer, not in pilbox
<abu[m]>
Oh, you are right! "@doc" is not included in PilBox
<abu[m]>
To look up source code, you can call Vip directly
<abu[m]>
(vi 'car) in PTY
<abu[m]>
Then Shift-K to go down
<Hunar[m]>
Aaaah, why did i forget about that :(
<Hunar[m]>
Thanks :)
<abu[m]>
☺
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
aw- has quit [Quit: Leaving.]
<Hunar[m]>
How does the (local) function work, i mean its parameters are outside.. And why it isnt used like (local *A *B)
aw- has joined #picolisp
<abu[m]>
The symbols are not function parameters in the normal sense
<abu[m]>
(local) uses (read)
<abu[m]>
(local *A *B) would not work, because *A and *B are already *read* when the expression executes
<Hunar[m]>
Ahaaa
<Hunar[m]>
Great :) I understand now
<abu[m]>
☺
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
<Hunar[m]>
Why doesn't this work (<h1> "center" (if T "Hi" "Bye"))
<abu[m]>
The HTML functions use 'htPrin'. This means that (1) Atoms are evaluated and printed, and (2) expressions are just evaluated (and must thus print themselves)
<abu[m]>
So (<h1> "cls" (prin (if ...
<Hunar[m]>
Cool thanks :)
<abu[m]>
Otherwise would be nesting things like (<p> ... (<span> ... difficult
pfd has quit [Quit: Client closed]
rob_w has quit [Remote host closed the connection]
calle has joined #picolisp
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
mgd has joined #picolisp
<mgd>
Hello. I've just started learning lisp and I've started with Common Lisp. What are the differences between pico lisp and something like SBCL? is picolisp a good place to learn from or should I start with common lisp?
<abu[m]>
PicoLisp is very different from Common Lisp
<abu[m]>
It is a lot simpler, and completely open, so you have access to the whole system at any moment
<mgd>
Thanks, so would I be missing anything if I started from picolisp?
<abu[m]>
But it *demands* that you understand what you are doing (though understanding is possible)
<abu[m]>
yes, you miss a lot :)
<mgd>
Also, are there any recommendations on an IDE or is Vim enough?
<abu[m]>
It is very different
<abu[m]>
PicoLisp comes with Vip, a simplified Vim