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
beneroth__ has quit [Quit: Leaving]
beneroth has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
AragornGuardian has joined #picolisp
<AragornGuardian> hi!!!
<AragornGuardian> how can use pilog?
<AragornGuardian> (load "@lib/pilog.l") dont works...
<abu[7]> Ahoi AragornGuardian
<AragornGuardian> thanks
<abu[7]> "@lib/pilog.l" is automatically loaded if you start 'pil'
<abu[7]> eg pil +
<abu[7]> In which way does is not work?
<AragornGuardian> (be nice(me)) not works
<AragornGuardian> eg pil + is a command inside cli???
<AragornGuardian> undefined...
<AragornGuardian> eg pil +
<AragornGuardian> shows a number
<abu[7]> 'pil +' is the standard way to start PicoLisp from the shell
<AragornGuardian> ok
<abu[7]> Look eg. "man picolisp"
<AragornGuardian> ok
<abu[7]> It is a frontend to the picolisp binary
<AragornGuardian> yes!!!... pil....I was using picolisp
<AragornGuardian> thanks!!!
<abu[7]> aka of minimal env
<abu[7]> OK :)
<AragornGuardian> picolisp seems powerful
<AragornGuardian> did you use it inproduction???
<abu[7]> picolisp is seldom called explifitly
<abu[7]> Yes
<abu[7]> I make my living from it :)
<AragornGuardian> wow!!!
<AragornGuardian> others lisps dialiects dont have such luck...
<AragornGuardian> i lkearn clojure, but no clojure jobs in Brasil
<AragornGuardian> almost none
<AragornGuardian> CL is amazing...as any lisp dialect...
<abu[7]> Hmm, but probably same for Pil ;)
<AragornGuardian> hehehe...sure
<abu[7]> (few jobs)
<AragornGuardian> but you used it by yourself, andin production
<AragornGuardian> is good
<AragornGuardian> seems good
<abu[7]> Yeah
<abu[7]> But I'm a freelancer, so I'm "free"
<AragornGuardian> i was learning scheme and chicken, is good too...
<AragornGuardian> nice
<abu[7]> I was lucky to have customers who didn't care
<AragornGuardian> can compile picolisp? or no need for...
<AragornGuardian> yes!!! cool
<AragornGuardian> I will try this path. as you build some nice, dont matter which language...
<AragornGuardian> just that works...
<abu[7]> The system itself is compiled
<abu[7]> but not the applications
<AragornGuardian> in fact matter completally
<AragornGuardian> ok
<AragornGuardian> gonna play with it...
<AragornGuardian> thanks!!!
<abu[7]> Great!
<abu[7]> Just ask here
<mario-goulart> AragornGuardian: I think Nubank uses Clojure
<mario-goulart> (sorry all about the off-topic)
<abu[7]> no problem
AragornGuardian6 has joined #picolisp
AragornGuardian3 has joined #picolisp
AragornGuardian3 has quit [Client Quit]
AragornGuardian6 has quit [Client Quit]
AragornGuardian9 has joined #picolisp
AragornGuardian9 has quit [Client Quit]
AragornGuardian has quit [Quit: Client closed]
aw- has quit [Ping timeout: 260 seconds]
corecheckno has quit [Read error: Connection reset by peer]
AragornGuardian has joined #picolisp
<AragornGuardian> sorry...could not see messages...
<tankf33der> hi all
<tankf33der> abu[7]: i would like to emulate u64 number(s). (+ u64 u64). how to detect carry and get u64 after overflow ?
<abu[7]> You could use 'bit?' on bit 65
<tankf33der> ok, and overflow?
<abu[7]> It is the same for bignums, no?
<tankf33der> yeap
<abu[7]> Yeah, we have no sign change
<tankf33der> i thought (& (+ u64 u64) max_u64) is correct way.
<abu[7]> Perhaps call some sub-routines from src/big.l directly via native?
<tankf33der> no sure
<abu[7]> & is also good, but bit? gives a bool
<abu[7]> else needs =0 and generates garbage
<tankf33der> bit? for carry detection, right?
<abu[7]> ('&' produces bignum)
<abu[7]> yes
<tankf33der> (& (+ u64 u64) max_u64) will be smaller u64 after overflow, no ?
<abu[7]> right
<abu[7]> pil32 did that in C
<tankf33der> ok, thanks.
<abu[7]> as C has no carry too
aw- has joined #picolisp
AragornGuardian has quit [Quit: Client closed]
aw- has quit [Ping timeout: 244 seconds]
_whitelogger has joined #picolisp