Commit Graph

20 Commits

Author SHA1 Message Date
Nocturn9x 0d48f86149 Collections are no longer a compiler intrinsic. Added parser support for ptr/ref arguments 2022-05-04 14:01:38 +02:00
Nocturn9x 1ceedde8e9 Completely reworked the type inference system. Initial work on specializing the constants table in the bytecode chunk 2022-05-02 17:26:38 +02:00
Nocturn9x 299643e8be Removed broken optimizer module 2022-05-02 12:38:43 +02:00
Nocturn9x 69a585b117 The parser can now correctly recognize returning functions from other functions 2022-05-02 11:13:04 +02:00
Mattia Giambirtone 8ca5caabb7 Experimental support for multiple arguments of the same type using only one type declaration + various compiler fixes 2022-05-01 13:08:02 +02:00
Nocturn9x 85fb778647 Removed old JAPL type system. Initial dummy VM for testing purposes 2022-04-28 18:06:53 +02:00
Nocturn9x 78d955541d BROKEN: Initial work on closed-over variables and attempt to cleanup the AST type structure 2022-04-27 16:03:48 +02:00
Nocturn9x 625d090350 Bytecode is now serialized to a file 2022-04-26 16:22:23 +02:00
Nocturn9x ff7dc450ae Turned off optimizer (breaks compiler) further work on closures and scope resolution 2022-04-26 09:29:59 +02:00
Nocturn9x 7d409b6070 Initial work on inferring types 2022-04-12 12:18:25 +02:00
Nocturn9x 5202bf5489 Minor changes 2022-04-11 14:41:20 +02:00
Nocturn9x 9588ace741 Hooked up old JAPL components 2022-04-07 15:06:15 +02:00
Nocturn9x 64ff6a12ca Hooked up the compiler and debugger (VERY experimental) 2022-04-07 13:02:23 +02:00
Nocturn9x 79af16ccc9 Parser support for forward declarations 2022-04-07 12:15:34 +02:00
Nocturn9x 32e0c20417 Added notes to README, minor changes to lexer and test file 2022-04-07 11:51:36 +02:00
Nocturn9x fe8d1926c9 Minor changes to test.nim 2022-04-06 20:29:51 +02:00
Nocturn9x 2e4091de1f Experimental support for arbitrary user-defined operators 2022-04-06 20:08:36 +02:00
Nocturn9x 7edf072093 Initial work on adding type support to the parser for declarations + fixes for lambdas 2022-04-05 15:52:58 +02:00
Nocturn9x c91cbf0ac1 Wired up the parser 2022-04-05 11:23:59 +02:00
Nocturn9x 5ea6f91ce4 Huge lexer refactoring 2022-04-05 00:26:01 +02:00