You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Sebastian Zenker (JIRA)" <ji...@apache.org> on 2017/08/21 12:00:09 UTC

[jira] [Commented] (THRIFT-4156) Using boost spirit instead of lex and yacc

    [ https://issues.apache.org/jira/browse/THRIFT-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135079#comment-16135079 ] 

Sebastian Zenker commented on THRIFT-4156:
------------------------------------------

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)