Open DetachHead opened 5 months ago
Parser used for python is filbert which is fairly old (8 years old) and it seems that syntax is not supported by filbert. We could try to integrate another python parser.
Just in a quick search I could find: https://www.npmjs.com/package/dt-python-parser (Published 2 years ago) https://www.npmjs.com/package/jspython-interpreter (Published 4 months ago) https://www.npmjs.com/package/python-ast (Published 3 years ago)
Describe the bug a "Unexpected token" error occurs on an ellipsis literal (
...
), which is valid python syntax: see https://docs.python.org/3/library/constants.html#EllipsisTo Reproduce Steps to reproduce the behavior:
...
)Expected behavior no error
Screenshots![image](https://github.com/fkling/astexplorer/assets/57028336/6bb7b937-460d-43cd-ad0f-482d50586e02)
Browser (please complete the following information):
astexplorer settings:
explorerSettingsV1
(code can be removed if you don't want it to be public):