Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否考虑更新依赖到“github.com/antlr/antlr4/runtime/Go/antlr/v4”模块 #60

Open
Rick-xuy opened this issue Feb 19, 2023 · 1 comment

Comments

@Rick-xuy
Copy link

v1版本的模块“github.com/antlr/antlr4/runtime/Go/antlr”好像已经“deprecated”了
https://github.com/antlr/antlr4/blob/master/runtime/Go/antlr/go.mod

// Deprecated: Please switch to the new v4 module path: github.com/antlr/antlr4/runtime/Go/antlr/v4 - see https://github.com/antlr/antlr4/blob/master/doc/go-target.md
module github.com/antlr/antlr4/runtime/Go/antlr

新的v4模块似乎对Go下游兼容性更好而且能有效避免ambiguous import的问题。

@cookedsteak
Copy link

这边fork了一下,升级到了 github.com/antlr4-go/antlr/v4 v4.13.0,
同时修复了一些小问题,添加了逻辑运算符兼容,以及decimal的支持。有需要可以看下。
https://github.com/cookedsteak/gengine/tree/decimal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants