ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
freemint has joined #picolisp
freemint2 has quit [Ping timeout: 252 seconds]
freemint2 has joined #picolisp
freemint has quit [Ping timeout: 252 seconds]
freemint2 has quit [Remote host closed the connection]
pierpa has joined #picolisp
ubLIX has quit [Quit: ubLIX]
pierpa has quit [Quit: Page closed]
<Regenaxer> tankf33der, beneroth, converting PLIO is indeed not trivial
<Regenaxer> But a pipe is too much overkill
<Regenaxer> Let me try
<beneroth> T, pipe is spawning extra process, not nice :)
<beneroth> Good morning Regenaxer :)
<Regenaxer> Good morning :)
<Regenaxer> It is some bit-fiddling
<Regenaxer> (let (Lst (4 0 8) Cnt (>> 2 (++ Lst)) Acc (++ Lst))
<Regenaxer> (for I (dec Cnt)
<Regenaxer> (setq Acc (| Acc (>> (* -8 I) (++ Lst)))) )
<Regenaxer> (>> 1 Acc) )
<Regenaxer> oops
<Regenaxer> Lst was not from the example, correct:
<Regenaxer> (let (Lst (8 0 8) Cnt (>> 2 (++ Lst)) Acc (++ Lst))
<Regenaxer> (for I (dec Cnt)
<Regenaxer> (setq Acc (| Acc (>> (* -8 I) (++ Lst)))) )
<Regenaxer> (>> 1 Acc) )
<Regenaxer> This assumes that it is a number, ie it ignores the tag in the first byte
<Regenaxer> '8' is tag 0 (NUM) and a count of 2
<beneroth> tankf33der will need full plio support, so for all tags
<Regenaxer> yeah
<Regenaxer> He can use the C plio lib
<Regenaxer> software-lab.de/plio.tgz
<beneroth> T, prolly the best way for this case.
<beneroth> bbl, will prolly be away until tomorrow noon
<beneroth> have a nice time! :)
<Regenaxer> You too! :)
<Regenaxer> Here is a holiday toi
<Regenaxer> too
<beneroth> it isn't in my area (not catholic area), but it is where my gf lives :)
<beneroth> no holiday for me.
<beneroth> cu
<Regenaxer> Have a good time! :)
<tankf33der> morning
<tankf33der> i will check plio.tgz
<tankf33der> distribution works now
<tankf33der> (** 2 10) evaluated on servers side and returns
<tankf33der> but
<tankf33der> *Pid this server crashs, server return pid id and crash :)
<tankf33der> dont know yet why
<Regenaxer> Good morning tankf33der!
<Regenaxer> The local one crashes?
<tankf33der> yea
<tankf33der> server part
<Regenaxer> I see
<tankf33der> but client receive the pid
<tankf33der> i just want a simple demo, nothing special, 99% ready
<tankf33der> even plio converting is ok
<Regenaxer> I always take 'go' from @app/main.l as example
<tankf33der> i have quite the same.
<Regenaxer> ok
<Nistur> mornin'
<Regenaxer> Moin Nistur
<tankf33der> plio.tgz is ok
<tankf33der> just copy from pil32
<Nistur> o7
<Regenaxer> well pil32's plio is more
<Regenaxer> it supports bignums while C only has 32 and 64 bit ints
<tankf33der> ok
<tankf33der> all works.
<tankf33der> handshake+chacha20 for plio.
<Regenaxer> Wow, impressive! *Lots* of native calls!
<Regenaxer> Where is 'plio' defined?
<tankf33der> functions.l
<Regenaxer> 'pliopr' uses pipe
<tankf33der> yea.
<tankf33der> its ok.
<tankf33der> as is.
<Regenaxer> I cannot find 'plio'
<tankf33der> you find plio in test.l, right ?
<Regenaxer> yep
<tankf33der> its wrong, checking.
<Regenaxer> source version mismatch?
<tankf33der> yea
<tankf33der> fixed.
<tankf33der> no plio anymore
<Regenaxer> Great :)
<tankf33der> already inside decr
ubLIX has joined #picolisp
ubLIX has quit [Remote host closed the connection]
ubLIX has joined #picolisp
<razzy> are there any difference between symbol and variable? from output point of view? did they differ internaly from the speed of processing point of view?
<razzy> i would love if there is no difference
<Regenaxer> They are *completely* different
<Regenaxer> and have nothing to do with "output"
<Regenaxer> They are different concepts
<razzy> Regenaxer: in repl they behave the same (as i can verify)
<Regenaxer> A symbol is a data type
<Regenaxer> Variables are places where a value is stored
<razzy> Regenaxer: do they differ internaly in proccesing? i bet they could be different because compilation
<Regenaxer> The question is wrong
<Regenaxer> they can't "differ internaly in proccesing"
<Regenaxer> Variables don't exist internally
<Regenaxer> they are a concept
<razzy> Regenaxer: so they are completelly the same from computer view, yes?
<Regenaxer> Only symbols exist in pil
<Regenaxer> A variable may be a symbol or the CAR of a list
<razzy> functions are important for compilers :]
<razzy> functions/variables distinction are important for compilers
<Regenaxer> irrelevant
<razzy> thx, i think i have my answer.
ubLIX has quit [Ping timeout: 252 seconds]
ubLIX has joined #picolisp
<tankf33der> added README file
<razzy> ah soo classes are property of symbol,.. nice
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
<Regenaxer> razzy, not completely correct. Classes *are* symbols, with methods and superclasses in the value
ubLIX has quit [Quit: ubLIX]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #picolisp
<razzy> i know you named tag something in coroutines. but i always thinked about property list as a list of "tags" (my stupid name).
<razzy> so is my statement right? one symbol could have many properties. one property could have many symbols. and symbols could inhereted some other symbol property :?
<Regenaxer> yes, the keys of properties might perhaps be called "tags" (though I use that term only for catch/throw and coroutines)
<Regenaxer> Properties are key/value pairs
<Regenaxer> and a symbol can have an arbitrary number of properties
<Regenaxer> They are not inherited normally, inheritance is only in OOP, and there only for behavior (methods), not data
<razzy> i still study the difference
<razzy> between methods and data
<Regenaxer> Methods are like functions, but dynamically dispatched at runtime depending on the class of that object
alexshendi2 has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
alexshendi has joined #picolisp
ubLIX has joined #picolisp
alexshendi has quit [Ping timeout: 244 seconds]
grp has joined #picolisp
mtsd has joined #picolisp
alexshendi has joined #picolisp
alexshendi has quit [Ping timeout: 260 seconds]
mtsd has quit [Quit: Leaving]
sloflo has joined #picolisp
sloflo has quit [Client Quit]
mtsd has joined #picolisp
mtsd has quit [Client Quit]
mtsd has joined #picolisp
mtsd has quit [Client Quit]
alexshendi has joined #picolisp
grp has quit [Quit: box shutting down...]
ubLIX has quit [Quit: ubLIX]
ubLIX has joined #picolisp