Skip to content

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

Open

Description

@Rick-xuy

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的问题。

Activity

  1. cookedsteak commented on Sep 8, 2023

    @cookedsteak

    这边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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions