IRC channel logs
2017-06-15.log
back to list of logs
<catonano>rekado: thank you fofr discussing paredit. Yesterday night I fell asleep <catonano>tere's an example script by the Freexl project. It reads a xsl ile and wrtes a sql file to populate a db <catonano>I want to see suuch sql file because I'm not sure I am understanding corrrectly the code <catonano>reading code in general is hard. C code specifically is not exactly my thing <catonano>well, the state of grace of the early morning is over <catonano>so the next step in my wrapping of Freexl is accessing what I think is an attribute of the istance of something. Like this <civodul>catonano: if you're using the FFI, you'll have to use make-c-struct to declare the struct type of 'cell' <civodul>and from there you can access the fields of these C structs <civodul>oh, too bad you were missing a fix from last year <CustosLimen>I'm going to quote 2.0.11 but I think problem is same in later versions <CustosLimen>so here we have condition defining # define RE_ENABLE_I18N of #if (defined MB_CUR_MAX && HAVE_WCTYPE_H && HAVE_ISWCTYPE) || _LIBC <CustosLimen>so I'm going to take that re_free (cset->range_starts); and re_free (cset->range_ends); out of the define block <ijp>I might need to change my function representation in js-il <ijp>well currently the "hierarchy" is functions have clauses (a la case-lambda) and clauses have conts <ijp>but if conts can be shared across clauses, then it makes some sense to hoist them up to the same level <ijp>then I can get rid of the $local type, but the inliner will probably need to be rewritten <ijp>an alternative is to keep the same process for now, but all the conts in each clause, and let the inliner remove them. It may result in some duplication, but is a smaller change <ijp>yeah that might be better <paroneayea>ACTION prints out "Contification Using Dominators" to read during lunch <paroneayea>ijp: sounds like you're thinking things through well... keep hacking! :) <spk121>So, the captcha for webchat.freenode.net is so complicated now, that I don't always get it right. <spk121>I may not be clever enough to use IRC. haha. <spk121>paroneayea: IRC is blocked at work <ijp>not runnable yet, there are a few new primitives that will need to be implemented <ijp>the reference of srfi-1 also compiles, but I will spare you that <ijp>suffice to say wc -l /tmp/srfi-1.js -- 10634 /tmp/srfi-1.js <ijp>hmmm, k_7 is free, but the linter I was using didn't say that <ijp>which I think means I'm not handling $ktail correctly <stis_>perhaps scheme to but I want syntax-case and syntax parameters <ijp>or maybe it was just that the define! primitive changed from returning no value, to returning one <ijp>wingo: look at all these primitives you've added for unboxing :( <slyfox>does giule have a debug mode to aid debugging when guile SIGSEGVs itself? <Muto>I'm not sure about Guile itself, but I think the GDB supports Scheme languages. <slyfox>i think it's a bug of interpreter itself <slyfox>it's guile itself crashing when it build it's own source <slyfox>guile-2.0.14/libguile $ GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 ../meta/build-env guild snarf-check-and-output-texi </dev/null <Muto>slyfox: Hm.. That's interesting... Did you install Guile from a package (like apt in debian) or build it yourself from a tarball? <slyfox>it's a gentoo package. it builds guile from source tarball <Muto>slyfox: Ah, makes sense. I've never used Gentoo but personally I think it's probably not a distribution problem, however, I've never gotten an error code like this so I don't think I can help, sorry. <slyfox>yes. it's a rare case of not-so-common CPU architecture :) <spk121>slyfox: one thing you can do is manually edit the libguile Makefile to remove the guile-procedures.texi build step. This will let you carry on to build guile. From there you can run the "./check-guile" to do the unit tests, which will help you find your problem. <spk121>slyfox: I seem to recall that that doesn't work for some reason. But it is worth a try. <slyfox>i think i can get guile-1.8.8 on that system <dsmith-work>slyfox: Ah. No I meant if you *do* already have one that might be interfering with your build. <slyfox>can i run ./meta/guile on a minimal hello world example to see if basic functions work? <slyfox>perhaps is does not matter. './meta/guile --help' also fails