Ken Domino

Results 839 comments of Ken Domino

Sorry, there's no F# target for the standard Antlr4 tool. And, there isn't one either for the Antlr4cs tool and runtime, which is a rewrite of Antlr4 in C# by...

You are right.. The warning should not be treated as an error. I will check what is wrong.

Does your .csproj have a `true` within the `` element?

Antlr4BuildTasks is a thin layer on top of the Java Antlr4 Tool. The package creates a process for `java -jar antlr-version-complete.jar ...`. When `true` is set, the Antlr tool is...

One of the projects in Antlr4BuildTasks includes the old Core3.1 target, among others, all completely unnecessary. https://github.com/kaby76/Antlr4BuildTasks/blob/fead9d489106d2956b9c2825427617aea6c08db2/Antlr4BuildTasks/SharpCompress/SharpCompress.csproj#L9 All targets except the netstandard2.1 should be removed.

* Updated the package reference. * Added Dependabot updates to help avoid these kinds of problems in the future. * Release configuration is now the default for this package. *...

I was just looking at error reporting. https://github.com/antlr/antlr4/issues/3700#issuecomment-2102551486. You have to override the error strategy as well since that is where the error message is constructed from the parser state.

It is unclear what it could be because the tester uses the latest available. https://github.com/antlr/antlr4/blob/380ce4b8b1658df16ada45e1d56d5aa476052376/.github/workflows/hosted.yml#L247 The plugin itself recommends setting an explicit version: (`we recommend always setting Python version explicitly...

> Where'd you find that line? Sorry, it is from https://github.com/actions/setup-python , the first big paragraph under ["Basic usage"](https://github.com/actions/setup-python?tab=readme-ov-file#basic-usage). Yes, validating the supported versions of a runtime environment is another...

For the CSharp target, this does not work because of symbol conflict: https://github.com/trinodb/trino/blob/75bc783419482f30c103cf74510498ff480e82fc/core/trino-parser/src/main/antlr4/io/trino/sql/parser/SqlBase.g4#L522 All "base" names in the grammar must be renamed to something else. The grammar contains the lexer...