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
aw- has joined #picolisp
<rick42> Regenaxer: yes :)
<aw-> hi rick42, just heading out now.
<aw-> have a good night
<rick42> gnite, aw-!
orivej has quit [Ping timeout: 246 seconds]
_whitelogger has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
ubLIX has joined #picolisp
DKordic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ubLIX has quit [Quit: ubLIX]
freemint has quit [Ping timeout: 268 seconds]
natrys has joined #picolisp
ubLIX has joined #picolisp
orivej has joined #picolisp
freemint has joined #picolisp
<freemint> Regenaxer, how do i check that my code is running in pil64 and not emu?
<Regenaxer> Look at *CPU
<Regenaxer> emu is also pil64, but special CPU
<freemint> so (== 64 64) does work in emo too?
<Regenaxer> yes
<Regenaxer> Same VM
<freemint> My picolisp script gets data piped in ( cat blat | pil script.l ) how can i "read" that?
<Regenaxer> (in NIL ...
<freemint> ah thanks
<freemint> I got an idx with keys(strings) and numbers i want to print the keys in order largest to smallest number associated.
<Regenaxer> If the tree is big, you need to iterate recursively, if not, get a sorted list with (idx 'var)
<freemint> tree is big
<Regenaxer> ok, then a simple iteration
<Regenaxer> As an example, look at e.g. 'depth'
<freemint> (idx 'var) is sorted by (key)string not by value rigth?
<freemint> (i want to count occourence of words)
<Regenaxer> or 'view' perhaps
<freemint> (in files)
<Regenaxer> yes, sorted by the keys
<freemint> I want them sorted by how often i seen them
<Regenaxer> So you must sort the results anyway
<Regenaxer> I think better use 'accu' instead of 'idx'
<Regenaxer> Then sort only in the end
<Regenaxer> 'accu' does the counting for you
<freemint> Of yeah accu is better
<Regenaxer> at least easier
DKordic has joined #picolisp
<Regenaxer> for many words it may be slower, as it is searcher linearly
<Regenaxer> not sure what is better
<freemint> I try both on the source
<Regenaxer> I would start with 'accu' and see if it is too slow
<Regenaxer> yeah
<freemint> There is no "to slow" it is a for programming language comparison
<Regenaxer> ok
<DKordic> freemint: How could "read" be more uniform?
aw- has quit [Quit: Leaving.]
ubLIX has quit [Quit: ubLIX]
pointfree has quit [Ping timeout: 252 seconds]
pointfree has joined #picolisp
<freemint> DKordic, ?
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
natrys has quit [Ping timeout: 250 seconds]
alexshendi has joined #picolisp
natrys has joined #picolisp
freeemint has joined #picolisp
freemint has quit [Read error: Connection reset by peer]
freemint has joined #picolisp
freeemint has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #picolisp
natrys has quit [Quit: natrys]
ubLIX has joined #picolisp
f8l has joined #picolisp