beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
rob_w has joined #picolisp
<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
<abu[m]> Perhaps you start reading a little?
<mgd> ok, I might stick with Common Lisp until I have a better understanding. I've been working with Java for years and dabbled with Clojure
<mgd> Yes, I had a look through that. Thank you though
<abu[m]> OK. Clojure again is different in another way
<abu[m]> In any case, just play around with all and have fun
calle has quit [Ping timeout: 252 seconds]
mgd has quit [Quit: Client closed]
calle has joined #picolisp
calle has quit [Ping timeout: 276 seconds]
pfd has joined #picolisp
Hunar[m] has quit [Ping timeout: 248 seconds]
Hunar[m] has joined #picolisp
calle has joined #picolisp
calle has quit [Quit: Leaving]