You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: possible to run this as a CLI tool or as a dotnet tool? #212
fsyacc <filename>
-o <string>: Name the output file.
-v: Produce a listing file.
--module <string>: Define the F# module name to host the generated parser.
--internal: Generate an internal module
--open <string>: Add the given module to the list of those to open in both the generated signature and implementation.
--light: (ignored)
--light-off: Add #light "off" to the top of the generated file
--ml-compatibility: Support the use of the global state from the 'Parsing' module in FSharp.PowerPack.dll.
--tokens: Simply tokenize the specification file itself.
--lexlib <string>: Specify the namespace for the implementation of the lexer (default: FSharp.Text.Lexing)
--parslib <string>: Specify the namespace for the implementation of the parser table interpreter (default: FSharp.Text.Parsing)
--codepage <int>: Assume input lexer specification file is encoded with the given codepage.
--buffer-type-argument <string>: Generic type argument of the LexBuffer type.
--help: display this list of options
-help: display this list of options
Any reason the MSBuild integration is not working for you?
Activity
nojaf commentedon Jul 10, 2024
Hello, this is currently not distributed as a tool (some properties are missing in https://github.com/fsprojects/FsLexYacc/blob/master/src/FsYacc/fsyacc.fsproj).
Downloading the
FsLexYaccnuget package does contain the command line tool:gives
Any reason the MSBuild integration is not working for you?