grmtools icon indicating copy to clipboard operation
grmtools copied to clipboard

Rust grammar tool libraries and binaries

Results 30 grmtools issues
Sort by recently updated
recently updated
newest added

In #318, start state logic was added for start states defined by name. In the POSIX lex standard, start states can be used by numeric id Q: Should this include...

At the moment we serialise a number of `usize` things which means if you cross-compile for a different machine word size (e.g. you cross-compile on a 64-bit machine with a...

In a couple of places (e.g. https://github.com/softdevteam/grmtools/blob/master/lrlex/src/lib/ctbuilder.rs#L419) we use debug formatting in a non-debug location. This feels somewhat unsatisfactory, particularly as there are fewer guarantees about stability.

In pr #299 which adds spans to various Error types, the Spans returned are based off of the existing offset data from which we can derive a line & column....

One of the "fun" things about my project is running the parser on strange, half edited/incomplete changes. Here is one such case I encountered that way, and have minimized. given...

Question / Feature Request: Is there any way to parse a specific rule as the starting parser? For example, if I have: ``` %start Expr %% Expr -> ...; Int...

enhancement

Flex has a directive `%option caseless` to lex tokens in a case insensitive way. Is there currently a way (besides using regular expressions) to accomplish the same?

enhancement
good first issue

In Yacc we can define implicit tokens like. From the documentation: ``` date : month_name day ',' year ; ``` > The comma `,` is enclosed in single quotes; this...

Headed out the door for a few days, and haven't gone over this rebasing of my branch with a fine tooth comb, as such I'm marking it as a draft....

Before I try and come up with a patch, I figured it would be good to discuss this in an issue, I was considering potentially adding a declaration `%grammar-kind Original(NoAction)`,...

enhancement