Hey Ralph, I don't use Comma. I'm not a fan of IDE's and generally stick to vi for all my needs. Old habits are hard to break especially once you've been using the same tool for ~25 years like I have. ;( I've been switching back and forth between:
use Grammar::Tracer; and use Grammar::Tracer::Compact; Both I've found helpful, though obviously not fool proof. It'd be nice if it show'd why it failed (i.e. what it encountered vs what it expected ) rather than just a 'failed'. The difference was partly my fault for not even considering the differences between '%' and '%%'. It was a fork lift from JSON::Tiny and it's one change I overlooked entirely. As an aside, I'm coming back to raku after a year hiatus in hopes that the support for FreeBSD has improved and to some degree, have to reteach myself the little tidbits I've forgotten. Ultimately, I'm looking to parse the following using Grammars: ---- data ----- objectKey: { a = "bi"; b = "hi"; newObjectKey: { a = "go"; } anotherObjectKey: { a = 'ho'; } c = "no"; } ---------------- ... and naturally with a Match object that represents this as a hierarchical hash structure containing all the elements. The differences between this and JSON are close enough that I thought a mere copy/paste from JSON::Tiny w/ just enough changes to account for the differences would be enough, but they are in fact different enough that this was an oversight. At least I learned a bit in the process. Thanks, Paul On Sun, Dec 26, 2021 at 5:37 PM Ralph Mellor <ralphdjmel...@gmail.com> wrote: > On Sun, Dec 26, 2021 at 6:01 AM Paul Procacci <pproca...@gmail.com> wrote: > > > > Hope everyone had a Merry Christmas and takes likings to corny opening > statements. ;) > > I love me some corn but it's especially appropriate to share some > in winter if you've got hungry mice. :) > > As others have noted, you need `%%` instead of `%`. > > Grammar::Tracer isn't always intuitive. Have you tried CommaIDE's > Grammar Live View? https://commaide.com/docs/grammar-live-view > > I wonder if you would have immediately known what the problem was > with the latter or if the problem was just that you were thinking `%` did > what `%%` does? > > -- > love, raiph > -- __________________ :(){ :|:& };: