Commit Graph

37 Commits

Author SHA1 Message Date
Jesse Brault
e802fc70d8 Move all parser tests to generated tests. 2025-09-14 08:28:06 -05:00
Jesse Brault
0c2d9f8b2f Add primitive type uses and related. 2025-05-19 13:52:42 -05:00
Jesse Brault
0c18b976d7 Refactor name-analysis for multiple files; set up (failing) test case for multiple files. 2025-05-18 08:00:32 -05:00
Jesse Brault
f5a82c414c Much work to produce better errors during name analysis. 2025-05-16 15:58:42 -05:00
Jesse Brault
4224055860 Refactor name-analysis code into separate module/files. 2025-05-16 10:56:57 -05:00
Jesse Brault
6ab9efa8fd Add codespan-reporting to project for awesome error reporting. 2025-05-16 09:09:25 -05:00
Jesse Brault
2b4e042602 Change unparse to work with IndentWriter. 2025-05-16 08:05:59 -05:00
Jesse Brault
ce20cece21 Work on basic name analysis. 2025-05-15 21:13:43 -05:00
Jesse Brault
9805a3aad5 Finish current version of pretty print. 2025-05-15 16:12:17 -05:00
Jesse Brault
58c66b437e More work on pretty print; add dmc p3 command. 2025-05-15 11:27:05 -05:00
Jesse Brault
a9457c1ab9 Successful work to compile, parse, and unparse basic Deimos. 2025-05-15 09:40:39 -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
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
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
5c75b7ab82 Remove unused import. 2025-02-03 10:39:05 -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
040961ed67 Finally building an AST with Pest. 2025-01-30 18:36:35 -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
420db38f70 Properly implement load and store instructions. 2024-12-28 15:10:56 -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
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
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
4fb7ada6b8 Very skeleton work on parser. 2024-11-29 21:25:21 -06:00
Jesse Brault
921a7fe834 Change crate name to 'deimos'; make compiler bin subproject. 2024-11-29 19:13:59 -06:00