Abhinandan-Pal / qiwi

Quantum Programming Language
MIT License
2 stars 0 forks source link

Error Running Qiwi #1

Open PersonaUnknown opened 10 months ago

PersonaUnknown commented 10 months ago

Hello, I am a University student that was studying Quantum Programming Languages and I came across Qiwi. There's seems to be a slight issue with running things in Qiwi in main.py from line 64: parsed_result = cast(list[qiwiast.ASTNode], parser.parse(lexer_result))

list[qiwiast.ASTNode] is not a valid way to create a list and should actually be parsed_result = cast([qiwiast.ASTNode], parser.parse(lexer_result))

image

Abhinandan-Pal commented 10 months ago

Please check the Rust implementation, the link to which can be found in the ReadMe file.