Commit Graph

22 Commits

Author SHA1 Message Date
Kayne Ruse
33f360c9cf Fixed a way to have a bad type, thanks neuf! 2023-01-21 13:33:25 +00:00
Kayne Ruse
8009f410a4 Added mustfail test, fixed compound type decl bug 2023-01-08 12:43:25 +00:00
Kayne Ruse
a7ca6d23d7 Reviewed the spec, fixed some bugs 2022-09-10 14:11:13 +01:00
Kayne Ruse
f2443fbde0 Moved type checking into the type checking function 2022-09-09 19:39:05 +01:00
Kayne Ruse
6511d652f2 It's bloody never-ending 2022-09-06 20:43:45 +10:00
Kayne Ruse
f80709ae41 Solved a function scope issue 2022-09-05 16:39:09 +10:00
Kayne Ruse
1f6b3e232d I feel like there's just a few bugs left 2022-09-02 05:47:48 +10:00
Kayne Ruse
90b504d3a4 No segfaults, still failing tests 2022-09-01 14:00:31 +10:00
Kayne Ruse
3a4017cea5 Lots of runtime errors 2022-08-30 12:09:11 +10:00
Kayne Ruse
1937d727bb Working on refactoring, read more
The main program segfaults, but right now I'm working on the tests, mainly.
2022-08-29 10:21:25 +10:00
Kayne Ruse
ec91bac8a5 Native functions are working 2022-08-27 15:39:42 +01:00
Kayne Ruse
a4f1e048e9 Function calls, with args and single returns are working 2022-08-26 01:48:26 +01:00
Kayne Ruse
ebe1d712c9 Null values are always allowed 2022-08-22 18:26:05 +01:00
Kayne Ruse
df6bd58b1a Types are first-class citizens 2022-08-22 01:59:29 +01:00
Kayne Ruse
574a864dd0 Reworked the type system, types now have a single value 2022-08-17 17:39:33 +01:00
Kayne Ruse
7e01ead6ff Fixed some issues in scope 2022-08-15 10:15:24 +01:00
Kayne Ruse
6b834ca6d1 Type checking in place 2022-08-15 03:52:44 +01:00
Kayne Ruse
8d12db7dbe Some declaration guards 2022-08-15 03:12:10 +01:00
Kayne Ruse
e9ab6f3f96 Variables now persist between statements 2022-08-13 21:27:39 +01:00
Kayne Ruse
afad0d99cb I think var declarations are working correctly; no type checking yet 2022-08-13 15:57:30 +01:00
Kayne Ruse
55aa6eb273 The value is displaying correctly, but not the type 2022-08-12 17:27:57 +01:00
Kayne Ruse
6d5549fc8e Added scopes using '{}' symbols, read more
I've also added a new literal type called 'identifier'. This will be
used for variable names, and has a type mask embedded in it.
2022-08-08 15:02:12 +01:00