Skip to content

Joining statements broken across lines and splitting semi-colon seperated statements #4

@mkhattab940

Description

@mkhattab940

https://docs.python.org/2/reference/lexical_analysis.html#explicit-line-joining

I propose we do a pass through the code before calling the parser which splits semi-colon seperated statements onto their own lines and joins statements broken across several lines (explicitly-joined) into one line

Definitely want to do a pass before we do anything else that splits by semi-colon. This part is crucial to implement.

I think we could get away with not joining explicitly-joined lines, but doing so would be better since it eliminates potential edge cases that it would fail on due to explicit line-joining

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions