f695f8a52e
Improve switch's diagnostics
2026-05-02 19:40:37 +07:00
e29ffb2a9c
Improve selectors' diagnostics
2026-05-01 18:43:55 +07:00
c58bcd4aac
Change new() parser to make use of matching-) functionality
2026-04-30 17:27:27 +07:00
b1f0714483
Improve block body's diagnostics
2026-04-29 20:13:58 +07:00
9d3313995e
Add delimeter matching to lexer
2026-04-29 13:50:45 +07:00
150bd2f5cf
Clean control flow code
2026-04-28 21:28:34 +07:00
519d0cd3a7
Implent better diagnostics for control flow and primaries
2026-04-28 14:54:36 +07:00
8632ba0a86
Add more diagnostic messages
2026-04-12 17:52:39 +07:00
588790b9b4
Refactor everything
...
Huge dump of refactored code. Still in the middle of the changes that
are to be squashed later in a one huge monster commit, because there is
no value in anything atomic here.
2026-04-05 20:32:11 +07:00
5bd9aadc55
Add DeclarationLiteral parsing
...
Added method for parsing simple literals for use in top-level class
declarations.
Along with this change we've also moved out methods specific for parsing
low-level literals into the same file as new method, since that
structure made more sense.
2025-09-23 20:27:12 +07:00
47693fc5a5
Update rottlsp code to support new lexer API
2025-09-16 08:24:55 +07:00
bb54c6a124
Update dev tests to work with incomplete parser
2025-09-16 08:23:53 +07:00
688121c5a1
Add first version of parser
2025-09-16 08:22:54 +07:00
c79e552f09
Add BraceKind import to lexer module
2025-09-16 08:21:21 +07:00
d2e1913c63
Fix lifetime naming
2025-09-16 08:20:29 +07:00
0fa8140644
Add EndOfFile variant to TokenLocation
2025-09-16 08:19:42 +07:00
7ed934e2b8
Rename some tokens to standartize naming
2025-09-16 08:17:33 +07:00
2a31ed08b8
Add method for checking whether token can be type
2025-09-16 08:14:22 +07:00
41672a7125
Add token for goto
2025-09-16 08:13:56 +07:00
d9923fd762
Fix comments
2025-09-16 08:13:04 +07:00
d519ecab2e
Fix documentation and comments
2025-08-11 03:31:26 +07:00
933722bd42
Add iterator over tokens to TokenizedFile
2025-08-07 17:25:43 +07:00
9ab65b0b02
Add missing tokens to lexer
2025-08-07 13:49:19 +07:00
9ff20c7a60
Rename TokenSpan to TokenPiece and tidy code layout
2025-08-06 23:18:08 +07:00
579c2a4d3d
Refactor Line
...
Previous definition of `Line` type was obnoxious and too difficult to
work with. This one should make iterator implementation much easier and
has clearer structure on its own.
2025-08-06 23:17:55 +07:00
4b9d6a6adb
Initial commit
2025-07-30 19:47:11 +07:00