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

Mike Gresens commented on THRIFT-4156:
--------------------------------------

Unfortunately the IDL grammar in
https://thrift.apache.org/docs/idl
does not know anything about comments.

So I assume 2 types of comments
/* ... */ and // ... <eol> are normal comments (skipped while parsing)
and
/** ... */ 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 code.

> 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, 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.3.15#6346)

Reply via email to