IRC channel logs

2018-06-15.log

back to list of logs

***Raimondii is now known as Raimondi
***Raimondii is now known as Raimondi
***megane_ is now known as megane
<chris_>I wonder if anyone can make any recommendation for an IDE for Guile - I'm considering creating a template-processing program and wish to run it line by line... I used debug back in the day, 't' and 'p' for trace
<chris_>Is gdb capable of this?
***Raimondii is now known as Raimondi
<jlicht>(ice-9 peg) is simply wonderful :D
<jlicht>I started looking into it this morning, and I already have things working the way I want them to.
<hugo>chris_ emacs with geiser is a start for a guile IDE.
<hugo>It works per sexp, and not line. But that shouldn't be a problem
<hugo>jlicht: It is great. My I felt a bit let down when using it, since Haskell's parsec is stronger and more flexible
<jlicht>hugo: fair point, but the nice thing is that the `define-peg-string-patterns' works almost as-is on Backus-Naur grammars.
<jlicht>although parsec is also great fun
<rain1>I am a fan of PEG parsers, I made a PEG parser system in racket
<rain1>half way through I found out guile had one already... so I tried to make mine closer to guiles one as possible
<hugo>That is a nice feature. But when using it I drifted towards using the sexp based rules instead. Something with everything being expressed in similar ways
<rain1>it would be cool to get the same code working in both, then people can share parsing code and stuff but quite difficult
<wingo>if someone wants to maintain and extend (ice-9 peg) as needed, it currently has no maintainer :)
<hugo>Full compatibility between the two would be preferable
<wingo>not a bad situation, more of an opportunity i think..
<rain1>i attempted to make my racket code work in guile but they have different macro systems and I got stuck but I'll try again
<hugo>wingo: What do you actually do as a maintainer?
<chris_>hugo: is there geiser tool to trace sexps one by one? pausing the runtime after each one?
<hugo>chris_: not that I'm aware of, but it should be possible to implement
<hugo>Regular sexp can be handled by elisp, but some of the more advanced forms might pose a problem
<hugo>Elisp doesn't support reader macros
<hugo>There is always Guile Emacs, but that isn't really ready yet
<chris_>hugo: shame... I'm looking for the equivalent of DEBUG.COM's t and p... or TurboPascal F7 and F8 from back then :)
<chris_>the ,trace tool is rather nice but digs into undesired territory eg I don't really wish to dig into (format) loops...
<janneke>chris_: i've put some effort into an emacs GUD mode for Guile, but that needs some more love and integration on the Guile side