You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Reacted by Tatu Aalto, Shashank Mehra, Javier Moragón and Joonas Köppä
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.
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.
Activity
pekkaklarck commentedon Feb 4, 2019
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.
Initial lexer for new parser. #3076
Lexer fixes. #3076
Initial lexer for new parser. #3076
Lexer fixes. #3076
Initial lexer for new parser. #3076
Lexer fixes. #3076
Initial lexer for new parser. #3076
Lexer fixes. #3076
Initial lexer for new parser. #3076
5 remaining items
pekkaklarck commentedon Sep 3, 2019
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.
Unit tests for lexing settings. Ease creating error tokens.
Enhancements to tokenizing settings.
Tokenize "WITH NAME" syntax separately.
Enhance tokenizing FOR loop header
Tokenize suite init files correctly.
Unit tests for lexing settings. Ease creating error tokens.
Enhancements to tokenizing settings.
Tokenize "WITH NAME" syntax separately.
Enhance tokenizing FOR loop header
Tokenize suite init files correctly.