Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.19 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.19 KB

Makes diagnostic easier! A diagnostic library for parser / interpreter usages.

image image

About

Nenggao is a diagnostic library mainly designed for Yakou Lang's compiler, though it's target for Yakou's development, you can still use it in your own project with its api, which has very good extendibility for customization.

Limitations

Yes, I'm about to say this, this library is still not powerful enough to handle several scenarios, such as multi reference to same position. To avoid this, you should:

  • Break up your error message, this can keep up readability

Here's a list of unworkable examples:

  • Multiple Multiline labels refer to same line
  • Multiple Single line label's span conflicted

License

This work is licensed under the MIT license.

Copyright (c) 2022 ChAoS-UnItY, all rights reserved.