theruran has quit [Quit: Connection closed for inactivity]
pk has joined #picolisp
pk is now known as pl_
pl_ is now known as kpl
<kpl>
Hi! Is it possible to convert decimal numbers to symbols, instead of numbers? i.e. How to make '(a 1.23) become '(a "1.23") instead of '(a 1)? I tried to modify src/io.l, but failed. How to modify reader?
<kpl>
It would be good if this can be set with (setq *Scl NIL), to allow decimal numbers as just "data"!
kpl has quit [Quit: Ping timeout (120 seconds)]
<Regenaxer>
Don't knew if kpl will read this, but in fact this is a valid idea. I wonder what is the use case?
<Regenaxer>
*know
pk has joined #picolisp
pk has quit [Client Quit]
rob_w has joined #picolisp
rob_w has quit [Client Quit]
rob_w has joined #picolisp
<beneroth>
Regenaxer, agreed
<beneroth>
use case might be: handling arbitrary precision of decimal numbers without possibly knowing the *Scl in advance.
<abu[m]>
yeah. But then I think it should not be the task of the Lisp level reader
<abu[m]>
Still the idea of using the special case of *Scl == NIL is good
<beneroth>
T
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
aw- has quit [Ping timeout: 240 seconds]
theruran has joined #picolisp
<tankf33der>
Gonna test pil21 on newly released llvm 14 asap.
<abu[m]>
Good, thanks!
Regenaxer has left #picolisp [#picolisp]
emacsomancer has quit [Ping timeout: 240 seconds]
emacsomancer has joined #picolisp
rob_w has quit [Read error: Connection reset by peer]