thrift-dev mailing list archives

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


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:
>             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

View raw message