***Server sets mode: +nt
<daviid>ZombieChicken: I don't think so, but the author is here very regurlarly, as a matter of fact, he's here now :) str1ngs <str1ngs>ZombieChicken: the channel is #nomad-browser ***wleslie_ is now known as wleslie
***inoaffep is now known as pinoaffe
***ng0_ is now known as ng0
<manumanumanu>I have decided to never again store documentation in HTML. It is a sucky format. What options do I have? I could roll my own XML for just documenting procedures and rolling my own xslt for outputting pretty other formats. <dsmith-work>manumanumanu: I usually do things in org-mode. Exports to html, libreoffice, LaTeX, more. <dsmith-work>And I can use things like graphviz and plantuml with it easily. <manumanumanu>Which is what I have used as well, but now suddenly I have to do texi <manumanumanu>I don't really mind xml, and with NXML and a proper DTD it is really not bad. <lloda>it's too bad texinfo doesn't do math in html exports <jcowan>I have come to prefer markdown for writing documentation <dsmith-work>I was messing with xml/docbook for a while. Heh, even helped with the org->docbook exporter. <lloda>I like the autoindex etc. from texinfo <lloda>I would just do latex if it wasn't for the rotten html export options <lloda>a colleague proposed sphinx to me, but it depends on Python <lloda>I've tried the racket system too, but only a bit <jcowan>What's wrong with depending on Python? <lloda>I don't like releasing a pure Guile or Guile + C package that depends on Python <jcowan>dsmith-work: Well, translate the Python code into Guile, then. Or translate CLPython into Scheme. Or implement Python as a Guile language. <dsmith-work>jcowan: Heh. Neglected a ;^} Been doing Python at last two $DAYJOBs for about 4-5 years now. <jcowan>My first professional job was writing a file sort in Dibol, a sort of combination of Cobol and Fortran <manumanumanu>jcowan: stis is already at it! (regarding python in guile). ***jao is now known as Guest95385
<jcowan>manumanumanu: Excellent! Any emails, posts, or other artifacts to look at yet? <jcowan>stis: going through the manual atm, looks very nice! <jcowan>I take it that it's primarily aimed at new development rather than porting existing Python applications <decent-username>I wanted to try out the Chickadee game engine, but I'm not familiar with using modules. I've only worked through the first 3 chapters of SICP. <decent-username>Guile doesn't seem to find the module "chickadee". How do I make guile use it? <decent-username>I executes "guile chickadee-hello-world.scm", but it just gives me an error. <stis>jcowan: a good part of the pytyhon lib is implemented as well so with luck an already made application might run <stis>but to be compatiable there is a lot of more work needed. <manumanumanu>decent-username: Did you try loading (chickadee) from the repl? <jcowan>Bridging the FFIs would no doubt be hard. <stis>yah and I did not do anything regarding asynchs as I feel scheme have better approaches <manumanumanu>decent-username: I just find it weird: it says that your (run-game ...) does not support the keyword argument #:draw. <decent-username>It's looking for chickadee.scm in the same directory as my game file. <decent-username>That's the issue apparently. But I have no clue how to tell guile about the existence of that library. <manumanumanu>if you have installed everything from guix, that should work. <stis>pickling works but not according to standard protocol. Also python parser format is not the same as python's and we don't support the interface to the parser as python allows <stis>A cool thing is that python-on-guile can serialize python generators and iterators <decent-username>manumanumanu: I'm not on GuixSD though. I had to export a bunch of environment variables in order to make things work. <manumanumanu>decent-username: run guile from the terminal without any arguments and try (use-modules (chickadee)) <stis>python doesn not allow that <manumanumanu>it finds everything, but it believes your run-game procedure does _not_ accept the keyword #:draw. <decent-username>manumanumanu: I'm using Emacs and installed Geiser. When using Geisers "run-guile"-REPL and try to load the file via "(load "chickadee-hello-world.scm)" I get the following error: ERROR: In procedure primitive-load: In procedure open-file: No such file or directory: "/home/user/Informatik/guile/chickadee.scm" <decent-username>manumanumanu: I don't want to bother you though, if you're busy or have better things to do. I just don't want to read through the entire Guile documentation. I'm already proficient in Common Lisp and decent at writing Scheme, so I thought I could get things to work. <decent-username>("/home/user/.emacs.d/elpa/geiser-20191126.933/scheme/guile/" "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/2.2" "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/site/2.2" "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/site" "/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile") <manumanumanu>decent-username: I should be doing a bunch of boring stuff. This is more fun :D <decent-username>user@computer:/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/2.2$ ls -R | grep chickadee <decent-username>I used "guix package --install guile-chickadee". I've also installed guile-sdl2 and guile-opengl <manumanumanu>The only difference you have compared to the example "text.scm" is your (display "hello"), but that shouldn't be a problem. <decent-username>manumanumanu: Yes. I'm right now redifining %load-path inside the guile-repl to the value which guile returned when it was run inside a terminal outside of Emacs. *decent-username just learned another thing. <manumanumanu>I am sorry to say, I am on a mac, so I can't run any code you are pasting. I had enough problems getting guile2.9.4 to work. <decent-username>I think I'm getting close though. It seems to find chickadee. It's located in "/home/user/.guix-profile/share/guile/site/2.2/". <manumanumanu>I have to do some christmas planning with the family... sorry. Maybe someone with chickadee installed can help you better than I can. <manumanumanu>and run-game is on line 200-something in chickadee.scm, not 59 <decent-username>manumanumanu: Let me quickly finish my university homework and then I'll give you a proper answer. ;D <manumanumanu>decent-username: It's bedtime in my timezone, so I'll read whatever reply you have at a later time. Best of luck! <daviid>lloda: ^^ skribilo is written in guile