标签: java regex antlr antlr4 antlrworks
我对antlr很陌生,我试图在antlr4.x中开发语法,以帮助构建表达式树,如图所示,来自以下表达式:
antlr
antlr4.x
*a=value1 and c.size()>10 or (d=value3 and compare(after(today(),2),value4)) and compare(before(today(),2),value4)*