Skip to content

Commit 2201a00

Browse files
committed
Add v0.0.4 changelog and improve errors
Insert a ## V 0.0.4 section into CHANGELOG.md and update release notes. Documented improvements to error handling: clearer and more consistent error messages (e.g., 'undefined identifier') and structured internal compiler error diagnostics that include version info, a stack trace, and reporting instructions. Also cleaned up placeholder ellipses in the file.
1 parent 9c151cb commit 2201a00

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Next Release
22

3+
...
4+
5+
## V 0.0.4
6+
37
### New Features
48

59
- Added `version` command — run `papyrus version` to display the current compiler version.
@@ -18,6 +22,8 @@
1822
- The compiler now reports an error when two scripts with the same name are found in different source folders.
1923
- Added a check that the script name declared in `Scriptname` matches the source file name.
2024
- Default parameter values are now validated to be type-compatible with the declared parameter type.
25+
- Improved error messages to be clearer and more consistent (e.g., "undefined identifier" instead of "variable declaration not found").
26+
- Internal compiler errors now display a structured diagnostic message with version info, a stack trace, and instructions for reporting the issue, instead of crashing with an unhelpful message.
2127

2228
### Fixes
2329

@@ -27,8 +33,6 @@
2733
- Fixed an issue where calling a function with default parameters inside a `State` block was not validated correctly (#14).
2834
- Fixed parsing of comments inside parenthesized expressions and call argument lists (for example, `if !(PlayerRef ;/comment/;)`). The compiler now accepts these scripts instead of failing with a parser error.
2935

30-
...
31-
3236
## V 0.0.3
3337

3438
### Fixes

0 commit comments

Comments
 (0)