dlang-community / Pegged

A Parsing Expression Grammar (PEG) module, using the D programming language.
534 stars 66 forks source link

Provide a custom file logger that gets rid of the time stamps. #189

Closed veelo closed 8 years ago

veelo commented 8 years ago

I just wrote https://github.com/PhilippeSigaud/Pegged/wiki/Grammar-Debugging in anticipation of the pulling of this PR.

PhilippeSigaud commented 8 years ago

On Sun, Feb 28, 2016 at 1:21 AM, Bastiaan Veelo notifications@github.com wrote:

I just wrote https://github.com/PhilippeSigaud/Pegged/wiki/Grammar-Debugging in anticipation of the pulling of this PR.

Very good, I'll merge this PR. I see on the wiki page that internal peg parsers are traced as well. IIRC, there was a way to get tracing only on the user-defined rules, or am I misremembering?

veelo commented 8 years ago

IIRC, there was a way to get tracing only on the user-defined rules, or am I misremembering?

It is in the next sentence :-)

PhilippeSigaud commented 8 years ago

Drat, sorry. In my defense, I had a severe flu yesterday. I asked the question while reading the very last paragraph and apparently forgot I read the answer one minute earlier :-)