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
_whitelogger has joined #picolisp
schulze has quit [Ping timeout: 256 seconds]
rob_w has joined #picolisp
schulze has joined #picolisp
beneroth has joined #picolisp
<Nistur> mornin'
<beneroth> Ahoy Nistur :)
<Nistur> hulloo :)
<Nistur> I forget, is there a collection of old releases of pil, so I could find one that works on AWS?
<Regenaxer> Hi Nistur! Yes, on software-lab.de
<Regenaxer> picoLisp.tg
<Regenaxer> the last pil64
<Regenaxer> Though I would recommend to try to get pil21 running
<Regenaxer> i.e. update llvm, readline etc?
<Nistur> yeah, the repositories AWS uses only has readline... 6.2?
<Nistur> and one of the things in pil21 needs 6.3
<Nistur> My intention is to rebuild my website (or at least _a_ website for me) in pil, so I don't want to spend _too_ long arguing with getting the environment running. Once the site is up, I can tinker with pil21 to see if I can get that working
<Regenaxer> good
<beneroth> Huhu Regenaxer :)
<beneroth> Nistur, you gonna use the wiki?
<Regenaxer> Hi beneroth!
<Nistur> beneroth: for my site?
<Nistur> maybe
<Nistur> just grabbed the web example from rosetta code for now and tried to get that running
<Nistur> (during my daily standup because people like waffling on about nothing for 20-30 minutes)
<Nistur> I think I need to enable routing on AWS to get it to work
<Nistur> http://13.40.122.254/ tadaa
<Nistur> not sure why the buttons don't work...
<Regenaxer> It is a JavaScript "same origin" issue
<Regenaxer> either needs httpGate or some initial setup
<Regenaxer> Mia described examples in her blog
<Nistur> I'll take a look, but it was just meant to test that I can route to the AWS instance and run a pil generated page
<Regenaxer> yes, looks good
<Regenaxer> No problem with the buttons I think
<Nistur> My old website was untouched, running an ancient version of wordpress. I think my webhosting shut it down because it got compromised and took too much CPU usage... but quite honestly, most of the stuff on there, I'm not _too_ bothered about losing. The problem is, my CV pointed to a few pages for expanding on experiences... and I quite liked that, but rather than try to rescucitate the bloated and old
<Nistur> wordpress page, I thought I'd try to make something minimal to do the job I need
<Nistur> And I want to do it (relatively) quickly, because I think I'm going to apply for another job soon... I have my eye on one in Aachen :P
<Regenaxer> Cool :)
razzy has quit [Ping timeout: 268 seconds]
razzy has joined #picolisp
<aw-> Nistur: hi
<aw-> is your website going to serve 'dynamic' content?
<aw-> if not then perhaps you can use picolisp to generate some static html pages, and simply upload those and serve with Nginx..
razzy has quit [Ping timeout: 268 seconds]
cranium has joined #picolisp
razzy has joined #picolisp
razzy has quit [Ping timeout: 250 seconds]
razzy has joined #picolisp
<Nistur> aw-: also a possibility. I'm not entirely sure yet
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
<beneroth> yeah that is what I did
<beneroth> just used @lib/xhtml.l decorated with some bootstrap
<beneroth> that way I didn't had to write so much html and could reuse elements.. just created picolisp functions for them
razzy has quit [Ping timeout: 240 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 265 seconds]
rob_w has quit [Quit: Leaving]
aw- has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
<razzy> good evening to all. i got to weird situation. I crave goto function. I am trying catch throw, i maybe missunderstanding.
<Regenaxer> Good evening razzy
<Regenaxer> A normal goto does not exist in pil, yes
<Regenaxer> but 'throw' is probaly a way
<Regenaxer> Why do you need 'goto'?
<razzy> I made a mess, I do not want to clean it up
<razzy> :]
<Regenaxer> 'throw' is not really a goto, but a 'return' from an arbitrarily nested call hierarchy
<razzy> I do not understand doc examples of throw.
<razzy> i have chosen different way. thank you Regenaxer
<beneroth> razzy, maybe use (state) instead ? that would be the equivalent to switch between goto labels
<beneroth> razzy, (catch) has two very different functionalities, depending if the first argument is list (catching error messages) or an atom (usually a symbol) (catching a throw)
<beneroth> you can not intermix them
<Regenaxer> T
<beneroth> so do (catch 'foo ... (throw 'foo))
<Regenaxer> 'state' is easy to forget
<beneroth> or (catch T ... (throw 'foo))
<beneroth> Regenaxer, I love 'state, I use it whenever I do parsing
<Regenaxer> My last use was in vip
<Regenaxer> also ako parsing
memories has joined #picolisp