|
3efd2a6d6a
|
Fix some memory leaks and add comment in Parser.cc
|
2023-05-27 20:57:43 +02:00 |
|
|
8e4fae2228
|
Improve behavior of parser when failing on a BlockStart
|
2023-05-27 18:53:38 +02:00 |
|
|
39d576c799
|
Print a Unicode arrow when TextRange is empty in diagnostics
|
2023-05-27 18:48:44 +02:00 |
|
|
cc24825ef1
|
Remove now unused macro BOLT_EXPECT_TOKEN
|
2023-05-27 15:25:52 +02:00 |
|
|
16e85f26bd
|
Add support for parsing record declarations
|
2023-05-27 15:25:17 +02:00 |
|
|
bed5d3cbc4
|
Enhance 'but got x' output on parse error
|
2023-05-26 23:48:58 +02:00 |
|
|
91c4b75bc1
|
Fix crash when parsing invalid class declaration element
|
2023-05-26 23:46:47 +02:00 |
|
|
9afdd1e607
|
Make parser more forgiving
|
2023-05-26 19:51:12 +02:00 |
|
|
4acb76159f
|
Add CST definitions for record expressions and rename StructDeclaration
|
2023-05-26 15:36:14 +02:00 |
|
|
4a501c1f77
|
Remove unused comment in CST.cc
|
2023-05-26 15:19:40 +02:00 |
|
|
06127ff624
|
Improve checking recursive functions and some minor fixes
|
2023-05-26 14:30:50 +02:00 |
|
|
2448a70c76
|
Fix panic when trying to print tokens
|
2023-05-24 20:33:32 +02:00 |
|
|
04fffbe9aa
|
Refactor a bit and split header Diagnostics.hpp
|
2023-05-24 19:38:04 +02:00 |
|
|
31d813e94b
|
Fix spacing in InstanceNotFoundDiagnostic
|
2023-05-24 19:00:02 +02:00 |
|
|
59b553410b
|
Treat all warnings as errors in C++ sources
|
2023-05-24 14:13:08 +02:00 |
|
|
6967f9a060
|
Sort diangostics by node and refactor ConsoleDiagnostics
|
2023-05-24 14:11:59 +02:00 |
|
|
5ac162cd72
|
Add support for nested/tuple type expressions
|
2023-05-23 22:36:01 +02:00 |
|
|
1bba5facc7
|
Fix infix expressions returning invalid types
|
2023-05-23 22:34:21 +02:00 |
|
|
7024b8790d
|
Fix return-statements not being type-checked
|
2023-05-23 21:51:44 +02:00 |
|
|
1d314808a9
|
Fix match-expressions not being properly type-checked
|
2023-05-23 21:51:14 +02:00 |
|
|
3bc77b1bb6
|
Allow more constraints to be eagerly solved
|
2023-05-23 21:50:00 +02:00 |
|
|
ebc51539ad
|
Remove support for 'pervious' environments
|
2023-05-23 21:32:23 +02:00 |
|
|
be6537f9b9
|
Fix eager instantiation for deeply structured types
|
2023-05-23 21:29:27 +02:00 |
|
|
7d694d9a31
|
Fix panic on encountering a member-expression
|
2023-05-23 20:56:11 +02:00 |
|
|
4ecc0d9724
|
Clean up, fix bug and make type classes with var-decls work
Bug to be fixed is a rigid type variable of a type class being added to
the parent context, causing eager solving to fail.
|
2023-05-23 20:47:41 +02:00 |
|
|
b8e989d03f
|
Eagerly solve some constraints when certain conditions are met
|
2023-05-23 20:09:05 +02:00 |
|
|
acbfeb8975
|
Fix type class constraint expressions not being correctly parsed
|
2023-05-23 20:04:41 +02:00 |
|
|
b23dc84f72
|
Fix variable declarations, fix regression due to eager solving, fix unification
|
2023-05-23 16:07:58 +02:00 |
|
|
302823ac9b
|
Split up Checker.hpp and make room for better type mismatch errors
|
2023-05-22 22:37:58 +02:00 |
|
|
508ef40bdf
|
Implement tuples and fix bug with type vars in infer/unify algorithm
|
2023-05-22 17:06:31 +02:00 |
|
|
fd015dcf22
|
Fix crash when MatchExpression is expected
|
2023-05-22 11:55:31 +02:00 |
|
|
bce5bffa85
|
Add support for parsing member expressions
|
2023-05-22 11:54:52 +02:00 |
|
|
09fcaccedc
|
Fix branch name in README.md
|
2023-05-21 20:47:45 +02:00 |
|
|
4e27d778f0
|
Add some comments and lookup type class let declaration with Scope::lookupDirect()
|
2023-05-21 20:33:06 +02:00 |
|
|
6ea27d81f4
|
Fix assertion error in Scope on encountering a LiteralPattern
|
2023-05-21 20:16:15 +02:00 |
|
|
093f307098
|
Fix instance declarations not being correctly typechecked
|
2023-05-21 20:14:41 +02:00 |
|
|
3d19ce988c
|
Add some comments to checkTypeclassSigs()
|
2023-05-21 17:53:07 +02:00 |
|
|
56cbfc6fbe
|
Add support for literal patterns
|
2023-05-21 17:36:44 +02:00 |
|
|
17d21d234b
|
Enable type-checking of match expressions
|
2023-05-21 17:14:11 +02:00 |
|
|
fb5a9df48b
|
Fix some parsing issues for MatchExpression
|
2023-05-21 17:13:47 +02:00 |
|
|
b6706dd801
|
Fix constructors like True and False not being parsed
|
2023-05-21 14:50:28 +02:00 |
|
|
1f94b7f799
|
Add support for match-expressions in parser
|
2023-05-21 11:30:25 +02:00 |
|
|
66d7b90f82
|
Clean up some code and introduce IdentifierAlt
|
2023-05-21 00:25:01 +02:00 |
|
|
db26fd3b18
|
Add experimental support for type classes and many more enhancements
|
2023-05-20 23:48:26 +02:00 |
|
|
a7fdc59440
|
Add missing Stream.hpp
|
2023-05-14 21:20:44 +02:00 |
|
|
936afd3be0
|
Fix bug in inferencer and rename some variables
|
2023-05-08 19:57:24 +02:00 |
|
|
767572b197
|
Fix long command hooks not being recognised
|
2023-04-14 20:33:29 +02:00 |
|
|
aefba5a175
|
Put all additional resources in assets/
|
2023-04-14 20:11:41 +02:00 |
|
|
fd466fb4e8
|
Add missing which npm package to compiler
|
2023-04-14 20:06:43 +02:00 |
|
|
2f7993ea17
|
Add missing .gitignore
|
2023-04-14 20:06:31 +02:00 |
|