37 check-ins related to "refactor-for-better-error-handling"
2020-09-19
| ||
17:31 | Massive re-write to improve the reporting of errors. Fixes [20df8f9a8f] and [759b63d71d]. check-in: 4c389f6d48 user: robin.hansen tags: trunk | |
17:29 | Add human readable description of type errors. Closed-Leaf check-in: f33a172238 user: robin.hansen tags: refactor-for-better-error-handling | |
16:50 | Add human readable description of qualification errors. check-in: 753e779840 user: robin.hansen tags: refactor-for-better-error-handling | |
16:31 | Add human readable description of parser errors. check-in: ee5cd8bd0d user: robin.hansen tags: refactor-for-better-error-handling | |
16:07 | Setup infrastructure for proper stringification of errors. check-in: c189c12b58 user: robin.hansen tags: refactor-for-better-error-handling | |
15:50 | Moved problem types into their own modules. check-in: 0a1f3aa103 user: robin.hansen tags: refactor-for-better-error-handling | |
15:31 | Add unit tests for typechecking errors. check-in: d9553ea041 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-17
| ||
06:27 | Fixing tests was easier than I thought. check-in: 3dd670e563 user: robin.hansen tags: refactor-for-better-error-handling | |
06:19 | TypeChecker now retains source positions and reports proper errors. Tests are broken, though. check-in: e520ce4b13 user: robin.hansen tags: refactor-for-better-error-handling | |
04:36 | Removed code comment after a review. check-in: e152fda726 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-14
| ||
04:34 | Refactor into smaller functions. Could still do more of this, but I'll stop here. check-in: 5c5a82ff0e user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-12
| ||
06:56 | Moved more functions from TypeChecker module to Type module. check-in: 4dd60aa0f3 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-11
| ||
05:03 | Moved functions specific to types from type checker to type module. check-in: 9d6f8d468e user: robin.hansen tags: refactor-for-better-error-handling | |
04:33 | Minor efficiency improvements in type checker. check-in: 4dd47b0546 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-10
| ||
04:24 | Do not expose Elms Parser.DeadEnd type from Play.Parser. check-in: b0809bb0a5 user: robin.hansen tags: refactor-for-better-error-handling | |
04:21 | Add tests to see if qualifier catches unknown word and type referenes. It didnt catch the latter cas... check-in: e08d7e3e14 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-09
| ||
04:56 | Qualifier now reports detailed errors. Missing tests. check-in: 77a26eedbd user: robin.hansen tags: refactor-for-better-error-handling | |
03:54 | Fixed regression which caused stack overflow. check-in: bdc0171d44 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-08
| ||
13:37 | Fixed all but two tests. check-in: 4a0832373e user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-07
| ||
04:56 | Update qualifier to retain types from parser step. This broke all the tests. check-in: 5401959451 user: robin.hansen tags: refactor-for-better-error-handling | |
04:19 | Qualifier now resolves unions, simplifying the type checker code. check-in: fb186e507c user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-04
| ||
04:52 | Fix a bug regarding quotes within quotes. check-in: 3951afaeae user: robin.hansen tags: refactor-for-better-error-handling | |
04:30 | Do not qualify generic variables check-in: 735a332963 user: robin.hansen tags: refactor-for-better-error-handling | |
04:27 | Do not rely on a dictionary for naming quotes. check-in: cb86c1e096 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-03
| ||
17:35 | Detect wrong metadata usage in definitions. check-in: a6d9663004 user: robin.hansen tags: refactor-for-better-error-handling | |
14:46 | Fix compile error in Main.elm check-in: ff4520bae1 user: robin.hansen tags: refactor-for-better-error-handling | |
04:35 | Parser now detects and reports error on multiple word and type definitions of the same name. check-in: f2f2062d65 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-09-02
| ||
04:52 | Split parser tests into seperate modules, or at least start to. check-in: 199433248a user: robin.hansen tags: refactor-for-better-error-handling | |
04:17 | Make sure parser retains correct line information, for better compiler messages. check-in: cd0320e5cd user: robin.hansen tags: refactor-for-better-error-handling | |
2020-08-31
| ||
05:46 | Parser unit tests now run again. check-in: 2098c1afe3 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-08-28
| ||
19:38 | Parser now keeps track of where different elements reside in the source code. check-in: 25588c1ea7 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-08-16
| ||
11:49 | Differantiate type signatures provided by user from those provided by the parser. Can later be used ... check-in: 6dd698867f user: robin.hansen tags: refactor-for-better-error-handling | |
10:50 | Upgrade parser to use advanced parsing for better errors (to come in a later commit). check-in: 376e6f8517 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-08-15
| ||
14:09 | Clean up and simplify parser code. check-in: 6348f47581 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-08-14
| ||
14:01 | Trim indentation from source in unit tests. check-in: 09d9f97ed9 user: robin.hansen tags: refactor-for-better-error-handling | |
2020-08-12
| ||
12:37 | Create new branch named "refactor-for-better-error-handling" check-in: cdbf279a57 user: robin.hansen tags: refactor-for-better-error-handling | |
12:31 | Auto (un)boxing of integers that are involved as the target of multiwords. Fixes [143c4a153a]. check-in: 24260843e0 user: robin.hansen tags: trunk | |