Commit Graph

31 Commits

Author SHA1 Message Date
Jesse Brault
71ee49761e Updated dvm/main.rs to use new refactored dvm. 2025-04-13 10:20:29 -05:00
Jesse Brault
26d87acff5 More refactoring of dvm; add DvmValue::String and related. 2025-04-13 09:34:09 -05:00
Jesse Brault
172e82025d Rename to implementation.rs. 2025-04-12 21:21:01 -05:00
Jesse Brault
22e8605cc6 Major refactoring of virtual machine. 2025-04-12 21:20:08 -05:00
Jesse Brault
fc9cfcdf7c Clean up of references and Rcs; better information hiding. 2024-12-30 16:27:33 -06:00
Jesse Brault
68553a756b Remove old, unused code from vm; remove pub from various struct fields. 2024-12-30 12:50:55 -06:00
Jesse Brault
258fe824bd Add dvm_panic macro for dumping state before panic call. 2024-12-29 10:36:15 -06:00
Jesse Brault
5322e441c5 Fix memory leak of constant by no longer needing to make copy of constant. 2024-12-29 10:23:16 -06:00
Jesse Brault
7aa93c3986 Clean up op codes. 2024-12-28 15:35:35 -06:00
Jesse Brault
9c4ca23765 Remove deprecated op codes. 2024-12-28 15:14:24 -06:00
Jesse Brault
420db38f70 Properly implement load and store instructions. 2024-12-28 15:10:56 -06:00
Jesse Brault
376ac2fa3a Rename DmAllocObject to DvmObject. 2024-12-28 10:23:05 -06:00
Jesse Brault
652c1dd7f2 Add basic, but failing, implementation of load/store object. 2024-12-28 08:52:35 -06:00
Jesse Brault
e7a7cba26d Successfully printed greeting! 2024-12-26 23:05:59 -06:00
Jesse Brault
3edb00ceb0 A little bit further. 2024-12-26 15:05:09 -06:00
Jesse Brault
21250ea695 Everything compiling and testing successfully. 2024-12-26 14:52:08 -06:00
Jesse Brault
d5153cc9fb Various work on running byte code. 2024-12-13 20:18:02 -06:00
Jesse Brault
6190beaed2 Massive work just to try to start printing a String. 2024-12-08 22:11:33 -06:00
Jesse Brault
d4280f40e1 More work on DvmValues and such to eventually be able to call to_string and get String bytes for printing. 2024-12-06 15:18:19 -06:00
Jesse Brault
cccbc6d819 Work on vm and DvmValues and DmTypes. Added pest to get parser off the ground. 2024-12-06 10:58:19 -06:00
Jesse Brault
7903c1cfb3 Attempt to implement runtime types. 2024-12-01 12:02:52 -06:00
Jesse Brault
9bc27b841b Fix move errors with clone. 2024-12-01 08:50:37 -06:00
Jesse Brault
0dd58cdfdc Add array types/values and misc. work. 2024-12-01 08:42:24 -06:00
Jesse Brault
5732c4d197 All the work to print 42 via a platform call. 2024-11-30 16:03:22 -06:00
Jesse Brault
a14eb550ce Much work on dvm implementation; not compiling yet. 2024-11-30 08:09:19 -06:00
Jesse Brault
21d4f6bb69 Some clean up. 2024-11-29 22:39:24 -06:00
Jesse Brault
438d0e7317 Start work on platform calls. 2024-11-29 22:35:01 -06:00
Jesse Brault
c1618ba9a2 Move macros to util; basic work on load_module. 2024-11-29 17:01:43 -06:00
Jesse Brault
6c8911e7c9 Add macros for fetching 32 and 64 bits from instruction pipeline. 2024-11-29 13:13:16 -06:00
Jesse Brault
e4ee8fd2db Implement basic alloc and dealloc functionality. 2024-11-28 08:01:50 -06:00
Jesse Brault
e8019366ee Start implementation of vm. 2024-11-26 23:34:30 -06:00