Menu

Feedback - tell us what you think!

2016-11-20
2019-07-08
  • Robert van Engelen

    This is a new project. Tell us what you think. What parts are good and what can be improved?

    The code is thoroughly tested. But if you find a bug then we want to know! Post your ticket in the project tracker https://sourceforge.net/p/re-flex/tickets/

    • Robert
     
  • Vignesh jayaraman

    Hello Robert,
    Wanted to try reflex, but am not able to use it with Visual Studio.Could provide a detailed explanation for Windows users.
    Thank You.

     
  • Robert van Engelen

    Sure, will add instructions to the README. Basically, you can either run reflex/bin/reflex.exe from the command line or use a "custom-build step" from MSVC++ (will explain) to run reflex.exe on a .l file. Then to compile your program with MSVC++, make sure to drag the C++ header files
    located in reflex/include/reflex to "Header Files" in the "Solution Explorer"
    panel, and drag the C++ source files located in reflex/lib and
    reflex/unicode to the "Source Files" in the "Solution Explorer" panel.
    reflex/unicode.

     
    • Peter R

      Peter R - 2019-02-05

      Hello, I'm adding to this old thread. I'm wanted to give re/flex a try and currently I'm little annoyed by the comments with the line numbers for error messages in generated lexer files. When I specify a file with native Windows path separators, the comments in the generated output keep the native separator, which causes warnings (and other subtle problems in IDE).
      I'm using QtCreator with VisualC compiler and custom rules for generating the output and can't find a way to send the path with forward slashes to the compiler...
      Example input:

      reflex.exe -o sample.l.cpp ..\src\sample.l
      

      Output in file sample.l.cpp:

      ...
      #line 2 "..\src\sample.l"
      ...
      

      VisualC complains:

      C4129: 's': unrecognized character escape sequence
      C4129: 'c': unrecognized character escape sequence
      

      Would it be possible for reflex.exe to either escape the backslashes, or convert them to forward slashes?

      Thanks.

       
  • Robert van Engelen

    I am happy to report that this problem was fixed a while ago in version 1.1.2 based on your feedback. Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.