mirror of
https://github.com/Mesabloo/diagnose.git
synced 2024-11-22 01:32:56 +03:00
diagnose: create a simple to show-off the library
This commit is contained in:
parent
402bb22274
commit
d81c9d6e10
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Error reporting made easy
|
||||
|
||||
Diagnose is a small library used to report compiler/interpreter errors in a beautiful yet readable way.
|
||||
|
||||
As a great example, here's the output of the last test:
|
||||
|
||||
![first example](./assets/real-world-example-unicode.png)
|
||||
|
||||
If you do not like unicode characters, or choose to target platforms which cannot output them natively;
|
||||
you may alternatively print the whole diagnostic with ASCII characters, like this:
|
||||
|
||||
![second example](./assets/real-world-example-ascii.png)
|
||||
|
||||
-----------------
|
||||
|
||||
Copyright (c) 2021 Mesabloo, all rights reserved.
|
BIN
assets/real-world-example-ascii.png
Normal file
BIN
assets/real-world-example-ascii.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
BIN
assets/real-world-example-unicode.png
Normal file
BIN
assets/real-world-example-unicode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Loading…
Reference in New Issue
Block a user