orivej has quit [Ping timeout: 260 seconds]
twelvemonkeys has quit [Ping timeout: 265 seconds]
twelvemonkeys has joined #picolisp
_whitelogger has joined #picolisp
aw- has quit [Ping timeout: 256 seconds]
aw- has joined #picolisp
Blukunfando has joined #picolisp
orivej has joined #picolisp
<
Regenaxer>
Hi Nistur
aw- has quit [Ping timeout: 246 seconds]
aw- has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
aw- has quit [Ping timeout: 260 seconds]
aw- has joined #picolisp
aw- has quit [Client Quit]
aw- has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 272 seconds]
orivej_ has joined #picolisp
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
_whitelogger has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
<
tankf33der>
checking grid on pil21
<
Regenaxer>
yes, your favourite ;)
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #picolisp
<
tankf33der>
in general works.
<
beneroth>
I'm really looking forward to do native apps using pil21 :-)
<
beneroth>
I guess windows will still be out of reach, but MacOS compatibility will be useful
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
KingRiverLee has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej_ has joined #picolisp
KingRiverLee has quit [Ping timeout: 260 seconds]
KingRiverLee has joined #picolisp
KingOfCSU has joined #picolisp
KingRiverLee has quit [Ping timeout: 272 seconds]
KingOfCSU has quit [Ping timeout: 272 seconds]
KingOfCSU has joined #picolisp
KingOfCSU has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
<
tankf33der>
wow, I found in my repo tomohiko's implementation of calendar routines.
<
tankf33der>
pil21 passed.
<
tankf33der>
added to test suite.
<
tankf33der>
insane.
<
Regenaxer>
Indeed:
<
Regenaxer>
: (day (date 1 1 1))
<
Regenaxer>
-> "Monday"
<
tankf33der>
Regenaxer: please add lib/simul.l and frac.l to pil21
<
tankf33der>
i would like use it for testing.
<
Regenaxer>
Yes, good
<
tankf33der>
i already found frac and grid code for testing. passed.
alexshendi has joined #picolisp
<
Regenaxer>
I added, but cannot release now. This weekend
<
Regenaxer>
Also, I think we should put them all into their own nagespaces
<
tankf33der>
i never ever used namespace. no comment.
<
Regenaxer>
ok, let't try how it feels
<
Regenaxer>
I use them more and more
<
tankf33der>
namespace ?
<
tankf33der>
: 'libA~foo # Look up 'foo' in namespace 'libA'
<
tankf33der>
-> libA~foo # "foo" is not interned in the current namespace
<
tankf33der>
like this, right ?
<
Regenaxer>
Look into pil21/src/lib/llvm.l
<
tankf33der>
yea, seen.
<
Regenaxer>
heavy use of namespaces
<
Regenaxer>
Also in pil64
<
tankf33der>
then i know what is it, i dont understand when i ever need this
<
Regenaxer>
lib/android, lib/gis.l
<
Regenaxer>
and Vip
<
Regenaxer>
It avoids symbol name conflicts
<
tankf33der>
eh. i see. my code was always small.
<
Regenaxer>
Also small code needs it sometimes. For example PilBox apps all run in the same PicoLisp instance
<
Regenaxer>
so namespaces give them privacy ;)
twelvemonkeys has quit [Ping timeout: 260 seconds]
twelvemonkeys has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
<
beneroth>
Regenaxer, I think it would be really nice if we could get the namespace of an interned symbol...
<
Regenaxer>
(nsp 'sym) ?
<
Regenaxer>
But there is not
*the* namespace of a symbol
<
Regenaxer>
it can be zero or many
<
Regenaxer>
Depending also on the current search order
<
beneroth>
so it could return NIL or a lsit
<
beneroth>
I missed nsp
<
Regenaxer>
A list would be also possible, yes
<
Regenaxer>
But perhaqs not useful
<
beneroth>
so... a version of 'pretty could be made to print out the namespace-prefix too, using (nps), I see...
<
beneroth>
(which doesn't guarantee correctness, ofc)
<
Regenaxer>
I think it is not needed
<
Regenaxer>
It does print ~ if necessary
<
Regenaxer>
symmetrical to the reader
<
beneroth>
it does?
<
beneroth>
wow I missed some updates
<
Regenaxer>
No, it always did
<
Regenaxer>
we discussed it here too
<
Regenaxer>
: (symbols 'foo 'pico)
<
Regenaxer>
-> (pico)
<
Regenaxer>
: (local) (cdr recurse)
<
Regenaxer>
: (pp 'recur)
<
Regenaxer>
(de recur pico~recurse
<
Regenaxer>
(run (pico~cdr pico~recurse)) )
<
Regenaxer>
-> recur
<
Regenaxer>
This is pil21, so there is no ns in qrompt yet
<
Regenaxer>
but behavior is the same in pil64
<
beneroth>
hm... I don't get it
<
beneroth>
cat test.l
<
beneroth>
(symbols 'foo 'pico)
<
beneroth>
(de bar ()
<
beneroth>
(prinl "I'm foo~bar") )
<
beneroth>
(local) (bar)
<
beneroth>
pil test.l +
<
beneroth>
: (foo~bar)
<
beneroth>
-> "I'm foo~bar"
<
beneroth>
I'm foo~bar
<
beneroth>
: (pp 'foo~bar)
<
beneroth>
(de "bar" NIL
<
beneroth>
(prinl "I'm foo~bar") )
<
beneroth>
-> "bar"
<
beneroth>
nevermind
<
beneroth>
another time
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
<
beneroth>
tankf33der, thx! (though that is not the issue)
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp