IRC channel logs

2014-12-12.log

back to list of logs

<DeeEff>ArneBab: I'm slowly reading through it but I'm not really gonna critique it in depth. I did notice a typo though: onthology. I believe the correct spelling is accepted as "ontology", with no h. It's in several places, but the first place I noticed it was on page 15
<nalaginrut>morning guilers~
<davexunit>hey nalaginrut
<nalaginrut>oh, hello then goodbye? ;=D
<civodul>Hello Guilers!
<lloda`>OT question
<lloda`>AC_PROG_LIBTOOL and AC_PROG_CC_C99, which should go first?
<lloda`>AC_PROG_LIBTOOL apparently does AC_PROG_CC, but I want the _C99
<lloda`>time make check in last master
<lloda`>
<lloda`>i7-4930K CPU @ 3.40GHz
<nalaginrut>ArneBab: can you point me out the Guile tutorial you wrote before, for newbies from Python
<nalaginrut>I want to put the link on the manual
<davexunit>has anyone happened to have written a markdown parser for guile?
<davexunit>does guile have any generalized procedures to make writing new parsers easier? I haven't found anything yet.
<ijp>what do you mean?
<ijp>there are some simple ones for lexing as part of sxml
<davexunit>ijp: I was reading the source to a markdown parser in chicken scheme, and it looks like they use a module called 'comparse' to do the parsing.
<ijp>module/sxml/upstream/input-parse.scm, but we don't seem to expose it
<ijp>davexunit: that doesn't really tell me what it does
<davexunit>I'm trying to figure out what it does, myself.
<ijp>oh right, parser combinators
<davexunit> https://bitbucket.org/DerGuteMoritz/lowdown/src/24acddce613cfc4240f393e333cae7342dee404b/lowdown.scm?at=master
<ijp>they don't work as nicely when you don't have laziness, but look at wak-parscheme
<ijp>I was too bored to finish my parser combinator library based on iteratees
<davexunit>okay
<ijp>which are no longer cool anyway
<davexunit>either that, or I'll just write my own stuff. I think having a markdown parser would be nice.
*davexunit wants to write a static site generator for guile
<ijp>I started writing an org mode parser, but that's a hugely masochistic task
<ijp>davexunit: there is a lalr parser generator included in guile if you want to use that
<ijp>it's used for the js parser
<davexunit>ijp: yes, writing an org-mode parser sounds like a nightmare
<DerGuteMoritz>comparse is built on streams (a la srfi 41)
<davexunit>DerGuteMoritz: well if it isn't the author of the markdown library :)
<DerGuteMoritz>heh yeah, that's me
<davexunit>knew that name looked familiar
<DerGuteMoritz>I was highlighted because you pasted the url
<ijp>DerGuteMoritz: well, that wasn't the only laziness I was referring to
<DerGuteMoritz>ijp: ah you mean also for evaluation?
<ijp>yeah, you notice it straight away when you try and write some kinds of recursive parser
<DerGuteMoritz>right, right
<DerGuteMoritz>I have a hacky recursive-parser macro in comparse for that
<stis_>or just the recursive part in a lambda mo?
<DerGuteMoritz>yeah, that's kind of what it does, plus it also memoizes the result after the first invocation
<DerGuteMoritz>so a bit like delay
<ijp>stis_: well, yes, you need to delay it
<ijp>but if joe implementer just copies the haskell one without thinking, they won't notice it till late
<dsmith-work>Happy Friday, Guilers!!
<DerGuteMoritz>joe implementer hehe
<stis_>I have similar technology in guile-log, I know these issues by hart and indeed you can get burned by the delay issue. On the other hand by not delaying it you can get more optimal code.
<stis_>I would recomend that library if you want backtracking abilities to your combinators.
<stis_>I've made a python parser and compiles prolog with it.
<stis_>Happy friday dsmith-work:
*stis_ is feeling smashed by a days night with a sick child, throw ups all night.
<ArneBab>sneek: later tell nalaginrut: http://draketo.de/proj/guile-basics and http://draketo.de/proj/py2guile
<sneek>Got it.
<ArneBab>sneek: botsnack
<sneek>:)
<civodul> http://kvardek-du.kerno.org/2014/11/cons-cat-cons-cat-nil.html
***fangism1 is now known as fangism
<mario-goulart>Out of curiosity: does guile support shared strings?
***dje_ is now known as xdje
<ozzloy>now i need to find 2 cats and 3 cardboard boxes
<dsmith-work>mario-goulart: Um. I think it used to.
<dsmith-work>mario-goulart: https://www.gnu.org/software/guile/docs/docs-1.6/guile-ref/Shared-Substrings.html
<dsmith-work>mario-goulart: https://www.gnu.org/software/guile/manual/html_node/String-Selection.html
<mario-goulart>dsmith-work: thanks
<davexunit>off topic, but does anyone a know a good place to host a mailing list that isn't google groups?
<davexunit>I could run mailman myself but I'm not excited to maintain it.
<mark_weaver>davexunit: what's the mailing list for, if I may ask?
<davexunit>mark_weaver: for sly.
<mark_weaver>I could host it on my server if you like, or maybe the nongnu stuff?
*mark_weaver goes afk for a bit
<davexunit>I thought of nongnu, but I don't really want to use the rest of the nongnu resources. the source is already on gitorious, the home page is on my own web server, etc.
<davexunit>mark_weaver: I might take you up on the hosting offer. I'm going to do a little bit of reading to see how hard setting up mailman actually is. I'm not very knowledgable when it comes to the details of how email works.
<mark_weaver>I'm hosting email for a bunch of domains already, as well as mailman, and I'd be glad to host for sly.
<mark_weaver>but if you go somewhere else, that's fine too, no hard feelings either way :)
<davexunit>mark_weaver: I'll take you up on that offer :)
<mark_weaver>cool!
<mark_weaver>busy now at radio, but let's talk later!
<davexunit>sure thing! I'm about to head to band practice, so we'll chat the next time we both have some spare time. many thanks! :)
<mark_weaver>np!
<mark_weaver>have fun!
<ArneBab>DeeEff: thank you! (I fixed it locally)
<zacts>hi guile