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
{{ message }}
Repository navigation
179 tracked .flow files do not parse with the Python reference parser #997
179 tracked .flow files do not parse with the Python reference parser (flow.parser.parse_flow_code). They are listed in compiler/parse_coverage/python_rejects.txt, which compiler/scripts/parse_coverage.sh uses to leave them out of the flowc coverage count.
Unexpected token in expression: PLUS (33), for example examples/verify/math/derived/List-append-assoc.flow
Expected RPAREN (22)
Unexpected declaration: IDENTIFIER (13)
Unexpected character (about 35), for example the set-difference backslash in card(s \ empty) in examples/verify/math/derived/Finset-card-diff-empty.flow
Some are presumably intentional negative fixtures (tests/fuzz). The examples/verify ones look like proof syntax the parser does not yet have, or files that need a preprocessing step before parsing. Each file should either be fixed, moved under a fixtures directory for invalid input, or have its grammar added to both parsers. When a file here starts parsing, regenerate the list with the command in the header of parse_coverage.sh.
Activity
parse coverage: classify every file the Python parser rejects (#997)
parse coverage: classify every file the Python parser rejects (#997)
parse coverage: classify every file the Python parser rejects (#997)
parse coverage: classify every file the Python parser rejects (#997)
parse coverage: classify every file the Python parser rejects (#997)