[
https://issues.apache.org/jira/browse/THRIFT-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735811#comment-16735811
]
James E. King III commented on THRIFT-4156:
-------------------------------------------
With THRIFT-4720 we've removed the runtime library dependency on boost. This
would introduce a build-time dependency on boost to build the compiler.
Boost.Spirit has one of the widest dependency lists in Boost, requiring much of
the release. I agree it is a cool idea. I don't necessarily see flex and
bison as difficult dependencies compared to boost however, especially in a
product with a stable IDL. It would be nice to see this completed if the dev
team thinks it's worth introducing boost as a dependency for building the
compiler. We could link boost static to the compiler to eliminate runtime
dependencies but you would still need it to build, and that's a pretty big
dependency.
> 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
> Priority: Major
> Attachments: MyService.hpp, MyService.thrift, ast.hpp,
> doxygen_enum.png, doxygen_service.png, doxygen_struct.png, 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
(v7.6.3#76005)