Skip to content

New test data parser #3076

Closed
Closed

Description

@pekkaklarck

We have made a decision re-implement Robot Framework's test data parser. The main reasons are:

  • Adding new syntax like IF/ELSE (Native support for IF/ELSE syntax #3074) and TRY/EXCEPT (Native support for TRY/EXCEPT functionality #3075) to the current parser is too complicated. New parser is considered a precondition for these two important features targeted for RF 3.3.

  • The current parser doesn't have good APIs for editors and other tools inspecting or manipulating Robot's test data. We want to add better Python APIs and are also considering adding support for Language Server Protocol (LSP). Possible LSP server would be implemented as a separate project, but it would utilize the new parser.

Activity

  1. added this to the v3.2 milestone on Feb 4, 2019
  2. pekkaklarck commented on Feb 4, 2019

    @pekkaklarck
    MemberAuthor

    The new parser will use the ply tool internally. Development happens in the newparser branch until the parser is ready and RF 3.1.2 with the old parser has been released. The branch is currently very much work-in-progress. This means that lot of tests are failing and that none of the new APIs are stable yet.


    UPDATE: In the end the ply tool wasn't used. The parser is fully home grown.

  3. added a commit that references this issue on Jun 8, 2019
  4. 5 remaining items

  5. pekkaklarck commented on Sep 3, 2019

    @pekkaklarck
    MemberAuthor

    The branch where the new parser was developed has now been merged to master. APIs to external tools (incl. Tidy) are still under design and development, but the actual parser is ready. This issue can be considered done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions