Re: Modifying nested dictionary/alist type data

2016-04-15 Thread Andreas Rottmann
Paul Morris writes: > Hi, I’m rewriting one of LilyPond's C++ routines in Guile/Scheme in > order to customize it for my own use, and it uses some nested > dictionary/map/alist-style data structures that you can modify using > something like this in C++: > > mydata[aaa][bbb].ccc = 10; > Dependi

Re: Modifying nested dictionary/alist type data

2016-04-15 Thread Wette, Matthew R (3441)
> On Apr 14, 2016, at 4:44 PM, Paul Morris wrote: > But if you have nested alists like this > > (define my-alist ‘((aaa . ((bbb . ((ccc . 10))) > > and you want to change ccc, then the “set!” trick doesn’t help. (...what > would you “set!”?) So what’s the best approach here for such nes

Modifying nested dictionary/alist type data

2016-04-15 Thread Paul Morris
Hi, I’m rewriting one of LilyPond's C++ routines in Guile/Scheme in order to customize it for my own use, and it uses some nested dictionary/map/alist-style data structures that you can modify using something like this in C++: mydata[aaa][bbb].ccc = 10; Ok, maybe use alists, but how to modify

nyacc version 0.71.0 released

2016-04-15 Thread Matt Wette
nyacc version 0.71.0 is released as beta nyacc is a LALR parser generator written from the ground up in guile Features/Updates: * clean scheme-flavored syntax for grammar specification * prototype parsers for C99,(partial) javascript, matlab that output parse trees in a SXML format * update: C99