Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Feature: Better error reporting, messaging #38

Open
wants to merge 28 commits into
base: vardec_varass_dependency
Choose a base branch
from

Conversation

deavmi
Copy link
Contributor

@deavmi deavmi commented Apr 2, 2024

Please see this.

- New type added

Token

- Added `getCoords()`
- Fixed missing import
- Made `abstract`
- New module added

LineInfo

- Added newtype
- Added `setLineInfo(LineInfo)` and `getLineInfo()`
- Addd `niknaks` version `0.9.8`
- Added `setOrigin(string)` and `getOrigin()`

Coords

- Now has a `getLine()` and `getColumn()`
- Added textual reporting mechanism
@deavmi deavmi added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 2, 2024
deavmi added 18 commits April 2, 2024 18:57
- Moved
- Work on a new more first-principles reporting mechanism is being done
- Fixed up `LineInfo`
- Token-based reporter uses base method now
- Disabled that code for now
- Now has getter and setter for `LineInfo`
- Fixed doc
- Moved `Coords`

Reporting

- Added Coords
- Cleaned up reporting
- Added derivation to `LineInfo`
- Use `Token`-based `LineInfo` direct derivation
- Cleaned up

Reporting

- Use new `Token` API
- Made `getOrigin()` private
- Updated API
- The generated message now uses `report(string, Token)` to generate its `msg`
- Cleaned up
- Added some doodads
- Documented
- Fixed typo
- Set line information for `WhileLoop`
- Fixed unittest from not compiling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants