Skip to content

Improve error handling in parser #23

@longfangsong

Description

@longfangsong

Is your feature request related to a problem? Please describe.
现在 parser (无论是 ir 的 parser 还是代码的 parser) 里出错就直接 panic 了。

Describe the solution you'd like
错误提示能告知是哪里出了问题。

Additional context
可用的包:

可以参考的文章:

https://fasterthanli.me/series/advent-of-code-2022/part-11

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA request for a certain featuremediumThis issue is not so easy to fix

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions