[ https://issues.apache.org/jira/browse/THRIFT-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135079#comment-16135079 ]
Sebastian Zenker edited comment on THRIFT-4156 at 8/21/17 11:59 AM: -------------------------------------------------------------------- Rewriting the parser on top of boost spirit is a really cool feature in my opinion. Parser code becomes much shorter and simpler to compile. But in my opinion, the biggest advantage is, that we can easily get rif of the global g_* variables. was (Author: sebastian.zenker): Rewriting the parser on top of boost spirit is a really cool feature in my opinion. Parse code becomes much shorter and simpler to compile. But in my opinion, the biggest advantage is, that we can easily get rif of the global g_* variables. > Using boost spirit instead of lex and yacc > ------------------------------------------ > > Key: THRIFT-4156 > URL: https://issues.apache.org/jira/browse/THRIFT-4156 > Project: Thrift > Issue Type: Improvement > Components: Compiler (General) > Reporter: Mike Gresens > Attachments: ast.hpp, doxygen_enum.png, doxygen_service.png, > doxygen_struct.png, MyService.hpp, MyService.thrift, parser.cpp > > > As a developer I want to use boost spirit to get rid of lex and yacc. > This kicks dependency to lex, flex, yacc, bison or what ever. > This makes building easier, because only c++ code must be compiled. > All grammar is inside the code - all c++. No need to learn ll and yy. -- This message was sent by Atlassian JIRA (v6.4.14#64029)