Commit Graph

21 Commits

Author SHA1 Message Date
Mattia Giambirtone 42ba738620
Added 'is' identity operator and implemented equality for booleans 2023-05-01 16:37:33 +02:00
Mattia Giambirtone de9b51152e
Fixed issue with resuming from incremental compilation 2023-05-01 16:27:00 +02:00
Mattia Giambirtone cd853bb140 Reverted variable hoisting and fixed minor issue during name resolution. Updated comments 2023-05-01 15:30:55 +02:00
Mattia Giambirtone a7899e8473
Fixed bug with globals and hoisted global declarations 2023-03-27 19:08:58 +02:00
Mattia Giambirtone 2d9a6b9a8d
Incremental compilation now works in the REPL 2023-03-27 17:57:18 +02:00
Mattia Giambirtone 32ae21d143 Forbid use of automatic types in lambdas 2023-03-07 11:41:37 +01:00
Mattia Giambirtone e926696953 Super clunky lambda implementation 2023-03-05 16:49:14 +01:00
Mattia Giambirtone 97698b28af Initial work on fixing lambdas and minor improvements to error reporting 2023-03-04 12:13:19 +01:00
Mattia Giambirtone 81e10ae1ea Reformatted help menu, added -w option. All code can now be disassembled 2023-01-26 12:11:29 +01:00
Mattia Giambirtone bf2be7deac Minor documentation changes 2023-01-24 12:19:06 +01:00
Mattia Giambirtone f10d813414 Added visibility checks to forward declarations 2023-01-24 12:08:29 +01:00
Mattia Giambirtone d16d4d5977 Minor changes and fixes 2023-01-23 01:12:09 +01:00
Mattia Giambirtone dccaf7dda4 Minor changes and additions to comments 2023-01-22 18:02:31 +01:00
Mattia Giambirtone d1d5c10e49 Fixed issue with self-referencing variable declarations 2023-01-22 17:58:52 +01:00
Mattia Giambirtone ace04ee34c Minor additions and cleanup 2023-01-17 12:53:23 +01:00
Mattia Giambirtone e97653cbc7 Initial ground work on typed AST, minor fixes to compiler, switch statement now looks for equality operator instead of emitting the Equal opcode 2023-01-05 12:44:11 +01:00
Mattia Giambirtone ffe57c134a Minor improvements to modularization (moved even more procedures to generalized methods) 2022-12-16 14:32:20 +01:00
Mattia Giambirtone db021cb821 Initial ground work on the C backend 2022-12-15 16:49:27 +01:00
Mattia Giambirtone 385701ab83 Minor change (all test suite is passing) 2022-12-15 13:32:17 +01:00
Mattia Giambirtone 76ee8c7454 Further work on compiler modularization: converted expression handlers to methods 2022-12-15 13:22:34 +01:00
Mattia Giambirtone dc393bbb34 Initial work on multi-backend support 2022-12-15 11:48:43 +01:00