gocc icon indicating copy to clipboard operation
gocc copied to clipboard

Parser / Scanner Generator

Results 37 gocc issues
Sort by recently updated
recently updated
newest added

Hi guys! I'm about to check some implementations for a scanner in go. Because I need to process log files, I can't feed the data at once. I would need...

My gocc has been running for _over a day_ now at 100% CPU: ![image](https://user-images.githubusercontent.com/422244/151296063-20bb0f46-571f-4018-ab6d-5cc2aa683f93.png) First time seeing it, hopefully there is no endless loop caused by my grammar.

WIP This fixes #127, however does so in an ugly manner. I just changed every "$" to the SUBstiture character "␚", in hopes that it is used by no one....

There are LR-1 grammars for which gocc introduces unnecessary LR-1 conflicts, because it treats the symbol '$' and actual EOFs as the same token. No conflicts: ``` S : empty...

I try to build Markdown compiler. not actually compiler to machine code but to HTML, XML, JSON and other formats. Would be better to call it Markdown processor. I wanted...

_note: not using any of my branches for this_ Scenario: An sdt action that yields an error produces an error token corresponding to the end of the match, this is...

Changes summary: - gocc now parses its own grammar and produces a working parser for itself - bugfixes in handling of dots and regdefids in the lexical analyzer - eliminated...

Currently, gocc messages are a bit obtuse for anyone not directly using gocc, and in particular they aren't in the FLC format that makes tools easy to integrate with That...

Tripped myself on subtle difference between token and production definitions :) ``` identifier: 'a'-'z' { 'a'-'z' }; File: Enum; Enum: "enum" identifier "{" { identifier } "}"; ``` -> ```...

I find that when I use `gocc -p xxxx/xxxx -o ./analysis xxx.bnf`, the package is still the default value. It seems that because these lines. https://github.com/goccmack/gocc/blob/19e54f37e2bc8b72e65fef4a5a484070a404ad53/internal/config/config.go#L183-L186 If I use `-o`...