dongyou2635 2019-03-04 22:36
浏览 374
已采纳

antlr4的golang访问者模式是否处于可用状态?

I see no working examples, and I see a few pull requests that remain open. I would like to avoid going down the garden path.

https://github.com/antlr/antlr4/pull/1807

https://github.com/antlr/antlr4/issues/1843

There are also pull requests that make me think the golang target might be dead in the water.

https://github.com/antlr/antlr4/issues/2152

So all I am really asking is should I steer clear of golang, or is the documentation just somewhere that google doesn't see :-)

  • 写回答

1条回答 默认 最新

  • dongtiran7769 2019-04-18 09:45
    关注

    To people who don't click on the issue. The visitor pattern is usable. I wrote a sample app here I don't think it is written the way I was supposed to but it does what I wanted it to do. More discussion can be found on the issue and if I learn something new I will change my code.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题