Commit graph

14 commits

Author SHA1 Message Date
566baad939
Allow getting the file path out of a SourceFile 2025-02-14 16:15:27 +01:00
76bfa1c0e2
Add OpenFileFailedDiagnostic 2025-02-14 16:13:51 +01:00
4e1771cf2a
Refactor parser to pass around a 'forkable' TokenStream 2024-07-11 21:08:52 +02:00
aa23420c5f
Fix compilation errors due to missing Type::Kind member 2024-07-11 21:06:58 +02:00
4b9fbc1d0c
Type-check match-expressions, nested expressions and literal patterns
Also introduces '$' as a new binding
2024-07-11 10:09:57 +02:00
d4af7f5059
Add some extra methods to MatchExpression 2024-07-11 10:08:25 +02:00
556fc28eb7
Add parsing support for function expressions and format Parser.cc 2024-07-10 23:09:45 +02:00
e386a7095b
Adjust syntax to distinguish between variables and functions 2024-07-10 17:17:09 +02:00
560c689fc7
Sort NodeKind members in different categories 2024-07-10 16:15:16 +02:00
2a257275e8
Remove unused code in CST.hpp 2024-07-10 16:04:12 +02:00
87bb0d0b10
Refactor CST and enable typechecking of do-expressions 2024-07-10 16:02:07 +02:00
449991d0c9
Enable parsing of block expressions
Part of fixes for issue #65
2024-07-10 12:03:24 +02:00
5ba2aafc68
Switch to bidirectional type-checker and many more improvements 2024-06-21 00:23:27 +02:00
c907885420
Make C++ implementation the main implementation 2024-04-08 20:08:15 +02:00