FsLexYacc icon indicating copy to clipboard operation
FsLexYacc copied to clipboard

Lexer and parser generators for F#

Results 33 FsLexYacc issues
Sort by recently updated
recently updated
newest added

This PR is fixing two minor issues with Json Parser Example. 1. Sections headers were merged with the last paragraph of previous section (see before and after screenshots below) 2....

### Description FSyacc ignores code after the last %% ### Repro steps Write a single grammar and add %% at the end and some code. ### Expected behavior I would...

Hello there, I'm using Fslex/Fsyacc for a complex language, and I'm missing doc information. Typically, I don't get how to use ParseErrorContext. When can I get the value ? Also...

This is not an issue but a question. I'm seeking a way to modify some .fsl files so that I can then see in the generated outputs, the date and...

Reading the docs, I felt it was appropriate to have one more example that shows how to interact with constructors in a common use case: AST parsing. This PR adds...

Lex/Yacc programming enthusiasts, I am very pleased to invite you to try a new series of lex/yacc tools. Fslex is a code generator that uses regular expression syntax as a...

I'm trying to implement error recovery with fslexyacc. I've defined `parse_error_rich` function. The argument to the function is `ctx: ParseErrorContext`*. I see that `ctx.ParseState` has some positional information, but `ParseState.ResultRange`...

Documentation for options for parse error handling and recovery are nonexistent. When a parse error occurs, what happens? What options are available for handling this error? How can I provide...

enhancement
help wanted
question

I see that `FSharp.Text.Parsing` has runtime debug output gated by the preprocessor `#if __DEBUG`. I tried defining the `__DEBUG` preprocessor symbol in my project: ``` $(OtherFlags) --define:__DEBUG ``` And although...

`lex-highlight` is a syntax highlighter written according to the lexical analyzer. So it can correctly analyze all kinds of tokens. and It supports advanced features such as string interpolation and...