thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Zenker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4156) Using boost spirit instead of lex and yacc
Date Mon, 21 Aug 2017 12:00:09 GMT

    [ 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)

Mime
View raw message