Commit Graph

21 Commits

Author SHA1 Message Date
b03e68bb28 Add more built-in boolean-specific instructions. 2020-09-10 12:44:41 -07:00
9393e35a84 Register booleans as internal types. 2020-09-10 00:54:35 -07:00
b6df158280 Make sure to delete LLVM target machine. 2020-09-09 23:45:48 -07:00
adc95c8d04 Initialize graph indegree. 2020-09-09 23:44:53 -07:00
c7b2a4959f Add prototype impl of case specialization.
Boolean cases could be translated to ifs, and
integer cases to jumps. That's still in progress.
2020-09-09 22:49:35 -07:00
c1a8dc4557 Add 'internal' types. 2020-09-09 18:08:38 -07:00
92a9ec2021 Replace throw 0 with real exceptions or assertions. 2020-09-09 17:19:23 -07:00
1f7a53ccf6 Add sources for unification type errors. 2020-09-09 15:26:18 -07:00
80f181cbb6 Add extra line after code fence. 2020-09-09 15:25:48 -07:00
34357163cd Print locations in non-unification type errors. 2020-09-09 15:15:25 -07:00
945d0f31c3 Add locations to patterns. 2020-09-09 15:15:09 -07:00
bdaa046a8c Require C++17 for optionals 2020-09-09 15:14:37 -07:00
588ce99601 Add locations to error reporting. 2020-09-09 15:08:43 -07:00
07ac3d72e4 Add a method to print location. 2020-09-09 14:41:16 -07:00
2752703038 Touch up source index code. 2020-09-09 14:20:10 -07:00
c648e20a02 Keep track of locations in definitions. 2020-09-09 14:19:46 -07:00
350a630213 Make driver keep track of line numbers and locations. 2020-09-09 13:57:01 -07:00
5a9d4c1e92 Update ASTs to actually take in locations.
Didn't realize I broke the build by leaving this out.
2020-09-09 13:29:28 -07:00
a6839c548e Start using driver, and switch to file IO. 2020-09-09 13:28:43 -07:00
2f09401685 Enable locations. 2020-09-09 12:21:50 -07:00
e7367ef86e Fork off version 13 of the compiler. 2020-09-08 18:38:05 -07:00