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
Currently the program crashes with a sometimes-helpful message, whenever the LCGS program is faulty. Ideally it should give a (or multiple) compiler errors describing exactly what is wrong.
Additionally, the compile errors can be improved immensely if we calculate the spans of AST nodes. That is, the start and end position of the text that resulting in the AST node. Span is already defined in lcgs::parse.rs as well as a helper function to capture the spans of parsed text.
The text was updated successfully, but these errors were encountered:
Currently the program crashes with a sometimes-helpful message, whenever the LCGS program is faulty. Ideally it should give a (or multiple) compiler errors describing exactly what is wrong.
Additionally, the compile errors can be improved immensely if we calculate the spans of AST nodes. That is, the start and end position of the text that resulting in the AST node.
Span
is already defined inlcgs::parse.rs
as well as a helper function to capture the spans of parsed text.The text was updated successfully, but these errors were encountered: