Commit Graph

80 Commits

Author SHA1 Message Date
Jesse Brault
815168603c Update grammar. 2025-04-16 09:12:48 -05:00
Jesse Brault
aa3f4b3a8b Start translating ast to instructions. 2025-04-15 18:58:30 -05:00
Jesse Brault
ae8f89bb4e Update calling conventions. 2025-04-15 14:31:41 -05:00
Jesse Brault
1263d84802 Work on grammar and AST building. 2025-04-14 08:00:05 -05:00
Jesse Brault
94f496a63d Sketch DvmObjectFile type and related functions. 2025-04-14 07:59:51 -05:00
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
a1ceab9d8f Updated TODO with more ideas for how to namespace entities. 2025-02-04 13:35:33 -06:00
Jesse Brault
feb02f3349 Set up namespace declarations as desired. 2025-02-04 13:05:52 -06:00
Jesse Brault
1d3a1593ee Organized module source files. 2025-02-03 11:03:25 -06:00
Jesse Brault
3906374866 Removed yaml format for namespace declaration. 2025-02-03 11:01:15 -06:00
Jesse Brault
5c75b7ab82 Remove unused import. 2025-02-03 10:39:05 -06:00
Jesse Brault
36955295bc Add enough to AST building to parse current std lib. 2025-02-03 10:30:56 -06:00
Jesse Brault
d566fc046a Add ns.yaml metadata to std::core. 2025-02-03 10:23:40 -06:00
Jesse Brault
80c3aa9f19 Create dmc bin. 2025-01-31 19:12:30 -06:00
Jesse Brault
18551af61a More work upon AST building. 2025-01-31 14:40:46 -06:00
Jesse Brault
173ec3ab38 Merge remote-tracking branch 'origin/main' 2025-01-30 18:37:33 -06:00
Jesse Brault
040961ed67 Finally building an AST with Pest. 2025-01-30 18:36:35 -06:00
Jesse Brault
9ffcf68695 Some more http sketching. 2025-01-14 14:31:09 -06:00
Jesse Brault
114a16e1e8 More http sketching. 2025-01-14 13:55:16 -06:00
Jesse Brault
f6c4d634ab More curl sketching. 2025-01-14 11:09:39 -06:00
Jesse Brault
a4c4357b31 Small change to string.dm. 2025-01-14 11:02:34 -06:00
Jesse Brault
085f60ab4f Add curl sketch. 2025-01-13 15:20:38 -06:00
Jesse Brault
d4fb4680a5 Update to Pest grammar for hello world. 2024-12-31 17:23:36 -06:00
Jesse Brault
db83cb7403 Add basic sketch of needed core components for hello world. 2024-12-31 17:23:03 -06:00
Jesse Brault
1a3e48fddf Rename dm_lib to dm_lib_sketching 2024-12-31 12:07:48 -06:00
Jesse Brault
2967ceb2fc Remove old lexer/parser code, in preparation for Pest usage. 2024-12-31 09:48:29 -06: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
cf0c44e627 Update of semantics of Move Register operation. 2024-12-28 16:42:43 -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
574f7ea7a1 Add load_object to op codes documentation. 2024-12-27 11:31:19 -06:00
Jesse Brault
a7a8b39836 Write some documentation about op codes. 2024-12-27 10:41:03 -06:00
Jesse Brault
e7a7cba26d Successfully printed greeting! 2024-12-26 23:05:59 -06:00
Jesse Brault
b7588b8787 Start documentation. 2024-12-26 20:58:49 -06:00
Jesse Brault
a6d6ca3f70 Small cosmetic change in op_codes.rs. 2024-12-26 15:09:55 -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
97376bad72 Work on Trie. 2024-12-07 16:23:24 -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