thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Gresens (JIRA)" <>
Subject [jira] [Commented] (THRIFT-4156) Using boost spirit instead of lex and yacc
Date Wed, 05 Apr 2017 08:06:41 GMT


Mike Gresens commented on THRIFT-4156:

Unfortunately the IDL grammar in
does not know anything about comments.

So I assume 2 types of comments
/* ... */ and // ... <eol> are normal comments (skipped while parsing)
/** ... */ and /// ... <eol> are documentation comments (like in doxygen/javadoc).

These documentation comments can occur before the same points in IDL files like doxygen or
javadoc expect it in code.
These documentation comments can be used to generate doxygen/javadoc comments in generated

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