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
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
<razzy> how do i start debugging in the middle of program? is there a shorcut?
<razzy> shortcut?
<razzy> i know how to change symbol on the fly when debugging. is there a good way to change loaded code on the fly?
<Regenaxer> Good morning razzy, tankf33der
<Regenaxer> razzy, you mean in a breakpoint?
<Regenaxer> Just (setq Var "xxx")
<razzy> Good morning I wish to all :)
<Regenaxer> or (v Var) to edit it with Vip
<Regenaxer> :)
<Regenaxer> (v Var) is a shortcut for (vi '(Var))
<razzy> tankf33der: i have glanced through tutorial, it does not seem of help
<razzy> Regenaxer: I would need to encapsulate everything into symbol for that. I was hoping for something like (v pico)
<Regenaxer> I do not understand what you want to do
<razzy> i want to edit loaded file
<Regenaxer> (v pico) is dangerous, as 'pico' is the system namespace
<Regenaxer> "edit loaded file": (vi "file.l") or (vi 'sym) if 'sym' is defined in "file.l"
<razzy> dangerous for human errors? or system unexpected behaviour
<Regenaxer> Human. 'pico' is a binary tree, hard to edit
<Regenaxer> Why edit 'pico'?
<Regenaxer> you can 'intern' and 'zap' symbols etc.
<razzy> Regenaxer: does (vi "file.l") edit file.l in picolisp memory or on the disk
<Regenaxer> On the disk of course. It is a file
<Regenaxer> 'v' edits a *symbol* in memory
<Regenaxer> value and properties
<razzy> ok, so no better way than encapsulate everything importatnt into symbols. my request is propably meaningless. :]
<razzy> Thank you all :)
<Regenaxer> Yeah, everything *is* reachable from symbols only
<Regenaxer> What else would you try to access?
<razzy> Regenaxer: I loaded program from file. and I wanted to change some parameters on the fly to debug it. I just encapsulate it into symbol and edit it in the fly
<Regenaxer> Yes, you can all do that
<Regenaxer> 'v' or 'setq' or 'def' or whatever
<Regenaxer> anything
<Regenaxer> changes in memory
<Regenaxer> There is nothing you cannot change after you 'load'ed it
<Regenaxer> I think it is well explained in tankf33der's link above
razzy has quit [Ping timeout: 250 seconds]
razzy has joined #picolisp
razzy has quit [Client Quit]
razzy has joined #picolisp
Nistur has quit [Ping timeout: 240 seconds]
Nistur has joined #picolisp
beneroth has joined #picolisp
razzy has quit [Quit: Lost terminal]
razzy has joined #picolisp
<beneroth> I just found a nice distinction of types of software
<beneroth> in context of intention, which is sometimes hard to differentiate but clearly makes a huge difference for the design approach and which tools to be used
<beneroth> so some peoples idea of functional programming, or programming in general, focuses primarily (and only, as we would claim) on S-programs and P-programs
<beneroth> while the most guiding principle with PicoLisp is, that it is optimal for some (subset) of E-programs
<beneroth> I guess all is fine and legitimate (simply serving different purposes), but mixing these types up (S/P/E) is a major fallacy
<Regenaxer> Yes
<Regenaxer> Pil in itself is a P then
<Regenaxer> I'm stuck with the pseudo terminal of PilBox
<Regenaxer> In Debian it works fine (the pil part), but in PilBox it seems to be inhibited to get the controlling terminal
<Regenaxer> Again some f*cking restriction of Android?
<Regenaxer> The hopeful aspect is that it *does* work in Termux. Termux *does* open pseudo ttys
<Regenaxer> I asked about this in the Termux list nearly 3 hours ago, but no answer so far :(
<beneroth> :/
razzy has quit [Ping timeout: 245 seconds]
razzy has joined #picolisp
aw- has quit [Quit: Leaving.]
razzy has quit [Ping timeout: 272 seconds]
razzy has joined #picolisp
aw- has joined #picolisp
razzy has quit [Ping timeout: 276 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
inara has quit [Quit: Leaving]
razzy has quit [Ping timeout: 250 seconds]
inara has joined #picolisp
razzy has joined #picolisp
inara has quit [Quit: Leaving]
inara has joined #picolisp
inara has quit [Client Quit]
inara has joined #picolisp
peterhil has quit [Ping timeout: 252 seconds]
razzy has quit [Ping timeout: 276 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 276 seconds]
peterhil has joined #picolisp
razzy has joined #picolisp