IRC channel logs
2024-11-26.log
back to list of logs
<graywolf>Would there happen to be reStructuredText parses for guile? <dsmith>graywolf, I don't see anything there ^^ <graywolf>So I guess I will round-trip via markdown <graywolf>Oh, even better, pandoc can convert it to texi and after light sed-ing I can just load it using (texinfo) module. <graywolf>Is there a way to "namespace" patterns defined using (ice-9 peg)? <ekaitz>are you going for string-peg or only for peg? <ekaitz>in the case you are going for string-peg, I made a full rewrite of it that and sent the patch to the ml <ekaitz>as for PEG janneke sent a set of patches that add error reporting and some other stuff <ekaitz>i suggest you to take a look into the error reporting one <graywolf>Thanks, will check that out. Yeah this is a single script, to I do not really have a separate module to put it into. Wait, I can just use define-module multiple times, right? <graywolf>But I guess geiser will get confused a bit <graywolf>Is my understanding regarding PEG that it can produce just strings? So convertions to numbers I need to do later when going through the tree? <mwette>graywolf: maybe you mean `(symbol->string (quote type))' <graywolf>The error message contains the #<syntax:unknown file:804:41 quote>, but other than that the error is the same <mwette>I have something working but it chokes on Default. (I don't know peg syntaxx.) I converted to #`(define-peg-pattern type all (and (ignore #,(symbol->strings (syntax->datum #'type)))) (ignore " ") Default) <cow_2001>dthompson: think it would be okay if we had a blog post reader for org-mode using emacs itself? maybe an optional dependency? i wrote an elisp script yesterday that first exports into markdown, then lets haunt do the reading, but maybe it could be a direct path from org to html using elisp?