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.

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

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料