Commit Graph

345 Commits

Author SHA1 Message Date
Mattia Giambirtone c1a2c9bc55
Updates to README. Cleanup & refactoring 2023-10-01 13:16:40 +02:00
Mattia Giambirtone 5fa463d9b4 It is now possible to test the serializer on arbitrary bytecode files 2023-07-22 16:19:52 +02:00
Mattia Giambirtone 68a6e2e83b
Minor fixes and changes to the parser 2023-07-11 13:46:04 +02:00
Mattia Giambirtone 37f35bec08
Minor updates to test runner v2 2023-07-05 14:54:24 +02:00
Mattia Giambirtone c1f765332b
Minor updates to test runner 2023-07-05 14:43:15 +02:00
Mattia Giambirtone 88073194f2
Fixed test suite and added test suite runner. Also yeeted templates 2023-07-04 14:33:32 +02:00
Mattia Giambirtone 20a2f07eba
Initial work on fixing the hellish nightmare of bugs of this repo 2023-06-30 17:26:42 +02:00
Mattia Giambirtone 919cc25579
Get rid of REPL + minor refactorings 2023-06-29 13:58:03 +02:00
Mattia Giambirtone 45c5be7470
Update copyright notice in help menu 2023-06-28 17:35:38 +02:00
Mattia Giambirtone 6979d0316f
Minor refactor + fix minor oopsie 2023-06-28 17:33:48 +02:00
Mattia Giambirtone f0ae805773
Added test for type casts 2023-06-01 12:57:32 +02:00
Mattia Giambirtone 71f44313da
Work on keyword arguments. REPL has been disabled (it's broken). Fixed various issues with casts and typevars 2023-06-01 12:56:59 +02:00
Mattia Giambirtone 86231291c4
Fixed bugs with globals and added related test 2023-05-23 12:10:30 +02:00
Mattia Giambirtone bc0f614143
Fixed issues with generic specialization and other minor bugs 2023-05-23 11:13:10 +02:00
Mattia Giambirtone 789462c86a
Bugfixes 2023-05-22 15:54:38 +02:00
Mattia Giambirtone b281961a5c
Fixed bug with imports and added missing time module 2023-05-22 14:38:03 +02:00
Mattia Giambirtone 879fec20fe
Various components are now debuggable without recompiling 2023-05-22 13:10:15 +02:00
Mattia Giambirtone 40d0f23135
Fixed various bugs related to lambdas and imports. Added module info section to bytecode dumps 2023-05-22 12:57:38 +02:00
Mattia Giambirtone 20da594116 Merge 2023-05-09 11:00:35 +02:00
Mattia Giambirtone 7bae3ad249
Minor fix in handleBuiltinFunction() (whoopsie) 2023-05-01 16:46:58 +02:00
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 dc195409c9
Removed old note about pointer tagging 2023-05-01 16:07:41 +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 a706fdad7a
Made VM helpers pure 2023-03-27 19:14:22 +02:00
Mattia Giambirtone a7899e8473
Fixed bug with globals and hoisted global declarations 2023-03-27 19:08:58 +02:00
Mattia Giambirtone 3e9b84fb4f
Got rid of pointer tagging (was probably useless) 2023-03-27 18:33:00 +02:00
Mattia Giambirtone 2d9a6b9a8d
Incremental compilation now works in the REPL 2023-03-27 17:57:18 +02:00
Mattia Giambirtone 8277472819
Initial work on the new compiler module 2023-03-27 09:53:56 +02:00
Mattia Giambirtone 32ae21d143 Forbid use of automatic types in lambdas 2023-03-07 11:41:37 +01:00
Mattia Giambirtone 61f554d563 Merge branch 'lambdas' into compiler-refactor 2023-03-05 16:50:26 +01:00
Mattia Giambirtone 2a11a52aa6 Added lambda test 2023-03-05 16:50:14 +01:00
Mattia Giambirtone 0bb4f1b9fa Merge branch 'master' into compiler-refactor 2023-03-05 16:49: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 0e2a66ce61 Added choosenim link 2023-03-03 01:02:30 +01:00
Mattia Giambirtone d98feb499d Added choosenim link 2023-03-03 01:02:18 +01:00
Mattia Giambirtone 1a2c13cd4f Merge branch 'master' of https://git.nocturn9x.space/nocturn9x/peon 2023-03-03 00:57:35 +01:00
Mattia Giambirtone 5cc058023d Added basic build instructions 2023-03-03 00:57:28 +01:00
Mattia Giambirtone 4cdb92150d Added basic build instructions 2023-03-03 00:56:58 +01:00
Mattia Giambirtone 47ac1be6aa Merge branch 'gc-upgrade' into compiler-refactor 2023-02-25 17:37:32 +01:00
Mattia Giambirtone f4752a9f7c Added pointer tagging to GC to resolve potential memory leak 2023-02-25 17:35:57 +01:00
Mattia Giambirtone f2dbfcbd0a Simplified GC implementation by removing unnecessary metadata 2023-02-25 16:17:38 +01:00
Mattia Giambirtone 197367edae Merge branch 'compiler-refactor' of https://git.nocturn9x.space/nocturn9x/peon into compiler-refactor 2023-02-11 13:44:52 +01:00
Mattia Giambirtone c69daba89a Removed unnecessary old code from the lexer 2023-02-08 17:55:44 +01:00
Mattia Giambirtone f284da7691 Fixed minor bug in the REPL 2023-02-02 15:29:41 +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 ae819daac4 Added draft for peon's grammar 2023-01-25 10:20:37 +01:00
Mattia Giambirtone 88dc610363 Updated nim.cfg with more general import search path 2023-01-24 12:25:01 +01:00
Mattia Giambirtone c666c66813 Added short type aliases to peon stdlib + minor comment fixes 2023-01-24 12:22:26 +01:00