https://github.com/chaosunity/nenggao
A diagnostic library for parser / interpreter usages.
https://github.com/chaosunity/nenggao
diagnostic java java-8 library
Last synced: 10 months ago
JSON representation
A diagnostic library for parser / interpreter usages.
- Host: GitHub
- URL: https://github.com/chaosunity/nenggao
- Owner: ChAoSUnItY
- License: mit
- Created: 2022-06-12T14:22:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-18T07:27:15.000Z (about 3 years ago)
- Last Synced: 2025-03-27T11:43:25.018Z (10 months ago)
- Topics: diagnostic, java, java-8, library
- Language: Java
- Homepage:
- Size: 126 KB
- Stars: 22
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Nenggao](https://en.wikipedia.org/wiki/Mount_Nenggao)
[](https://jitpack.io/#ChAoSUnItY/Nenggao)
> Makes diagnostic easier!
A diagnostic library for parser / interpreter usages.


## About
Nenggao is a diagnostic library mainly designed for [Yakou Lang's compiler](https://github.com/CASC-Lang/CASC),
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.