IRC channel logs
2025-10-13.log
back to list of logs
<dsmith>rlb, Is that that the gnu date args issue? There is a bug for NetBSD on that. Just saw it yesterday I think.. <rlb>No, I meant the compilation/load issue. <rlb>OK, I suppose I'll see about creating one later. <daviid>any fluidsynth user by any chance? i now have a low level api binding to a few of the fluidsynth api, enough to play a sound (to mke this msgshort) - but i fail to change the instrument, I am wondering if anyone would know (afaict, there is unfortunately no irc nor matrix channel/room to discuss fluidsynth api quiz) <sneek>euouae, mwette says: I believe ,si is the right meta command. You can also (use-modules (system vm vm)) (vm-add-next-hook! your-hook) if I read right <euouae>I'm reading some bytecode instructions but I cannot comprehend them <euouae>In particular things like (static-ref 2 16356). This supposedly loads ip[16356] into sp[2]. There's a few of these instructions with these random ip offsets. What are they referencing?? <euouae>I'm looking at this disassembly: <https://termbin.com/uhl5>. There's a single jump, and the procedure ends with tail-call. If so, when does this ever finish? I don't understand <euouae>ah in this case it just reuses the stack frame, so it probably configures some other procedure to be called <euouae>Hey all, I've been messing around with the brainfuck implementation to get an idea <euouae>I can do something like: (use-modules (language brainfuck parse)) (define bf-program ",+.") (define bf-IL (call-with-input-string bf-program read-brainfuck)) (define tree-IL (compile bf-IL #:from 'brainfuck #:to 'tree-il)) <euouae>That works fine. But (compile bf-IL #:from 'brainfuck #:to 'scheme) does not work. Why not? I get "no way to compile #<<language> ...>" <euouae>In the language spec, there is (scheme . compile-scheme). The compile-scheme procedure works: (compile-scheme bf-IL '() '()) is okay. <dsmith>rlb, Oh! The <= or < thing? Yeah, no bug# for that as far as I know. <ArneBab>euouae: can you turn it into a pull request? <euouae>I haven't tested it yet, but I'll test it soon <ArneBab>euouae: it looks good to me, and without risk to other parts. Please tell me when you tested it. <euouae>yup I will; I'll add a unit test too <euouae>ACTION runs that make -j6 and waits <euouae>ArneBab: okay, it seems to work. but let me work on this patch a bit more. <euouae>I want to fix the docs (include examples of how to compile brainfuck) and I also want to add one more compiler (the 'value compiler that "runs" brainfuck programs) <euouae>I also want to include unit tests <euouae>ACTION is confused as to show test-suite/tests/brainfuck.test passes if at all <euouae>Wait, lol. Is anyone ever running make check on the Guile repo? <euouae>ah wait, my patch altered something. ignroe the baove