Commit Graph

23 Commits

Author SHA1 Message Date
tali 22a11c7e47 add recursive bytecode printout for vtables 2023-12-13 17:12:40 -05:00
tali a3f92e5621 improve code pretty printer 2023-12-13 16:59:54 -05:00
tali dd27dc04d2 reimplement bc compiler to utilize a simpler intermediate repr 2023-12-13 16:40:44 -05:00
tali 898cf7380c change LOC ins pretty printer 2023-12-07 12:54:17 -05:00
tali d7bf73a17c change RET instruction to take an argument 2023-12-06 22:25:16 -05:00
tali 44406a233e add back CALl instruction 2023-12-06 22:20:59 -05:00
tali c51b482607 big clean up of Code, Interp, removed all of Bcc 2023-12-06 21:49:54 -05:00
tali 333b8e7450 switch formatter to ocp-indent 2023-12-02 17:02:40 -05:00
tali d523c5c997 slightly improve pretty printing 2023-12-02 16:12:51 -05:00
tali 88fff1c119 add standard library / initial environment 2023-12-02 16:08:29 -05:00
tali 62cf27b0c7 refactor codegen emitting slot indices 2023-12-02 15:36:53 -05:00
tali 0460e6b646 refactor handling slot/method indices 2023-12-02 15:31:29 -05:00
tali 24409f7902 add named fields and preliminary method support 2023-12-02 13:51:15 -05:00
tali c089d893c6 fix eval true/false :O 2023-11-30 13:57:18 -05:00
tali 2bdb1511ab add GRT instruction and implement missing comparators 2023-11-30 13:57:18 -05:00
tali 58827f230d prettier printing for basic block labels 2023-11-29 23:06:07 -05:00
tali 3d88cbe319 add comparison instructions and compile some more operators 2023-11-29 22:48:58 -05:00
tali c1eaa5baef remove lir, add basic single pass compiler 2023-11-29 22:27:05 -05:00
tali 846cae64ff temporarily remove branch ins 2023-11-29 21:42:44 -05:00
tali 7569cd2ee4 add object values, CON instruction 2023-11-29 17:56:42 -05:00
tali fb8a2cdcab add code interpreter 2023-11-29 16:52:45 -05:00
tali ee5ca040c7 add runtime value data type 2023-11-29 16:48:24 -05:00
tali b17531b799 add bytecode-like data type 2023-11-29 16:48:12 -05:00