Commit Graph

  • 9f5e27b289 Add with-keyword sketching. main Jesse Brault 2025-05-26 16:24:51 -0500
  • 234f40ec58 Use ast walking to verify that identifiers have saved symbols and linking symbols are resolved. Jesse Brault 2025-05-26 16:24:40 -0500
  • d38b30b755 Add depth-first traversal (walk_depth_first) to walk.rs. Jesse Brault 2025-05-26 12:53:07 -0500
  • 22deb90c3e Move ast nodes to new ast/node module. Jesse Brault 2025-05-26 08:30:15 -0500
  • cbf7921c95 Refactor name-analysis module to use new AST api. Jesse Brault 2025-05-26 07:48:35 -0500
  • 20dcb4f6ce Major refactoring of AST module: private properties and accessors, building clearer, using Boxes. Jesse Brault 2025-05-24 17:40:47 -0500
  • c8ff1d0fa2 Add todos. Jesse Brault 2025-05-22 15:02:29 -0500
  • f5f247e636 Add class-member symbols to symbol table display. Jesse Brault 2025-05-21 22:31:51 -0500
  • 41ab922f2c Add interface/class test case. Jesse Brault 2025-05-21 12:25:23 -0500
  • d8fe97b401 Miscellaneous gather work and related. Jesse Brault 2025-05-21 08:54:21 -0500
  • f614d00575 Add shadow import failing test. Jesse Brault 2025-05-20 11:11:29 -0500
  • 4c68d0dc28 Flesh out gather and resolve, add todos, refactor a bit. Jesse Brault 2025-05-20 10:56:47 -0500
  • 88270e0cdd Add basic name-analysis phase documentation. Jesse Brault 2025-05-20 08:44:02 -0500
  • 02d6a16cf8 Refactor name-analysis tests. Jesse Brault 2025-05-19 20:22:13 -0500
  • 0c2d9f8b2f Add primitive type uses and related. Jesse Brault 2025-05-19 13:52:42 -0500
  • abb7aab3a4 Refactoring of name-analysis. Jesse Brault 2025-05-19 09:53:08 -0500
  • c606432be2 Work to properly resolve imports. Jesse Brault 2025-05-18 18:28:57 -0500
  • 6b6ba1d712 Major refactor of name analysis and related. Jesse Brault 2025-05-18 18:03:40 -0500
  • dcb261fd84 Remove useless DiagnosticsContainer struct; params_seen failing because unresolved types. Jesse Brault 2025-05-18 16:26:05 -0500
  • 4f74136d97 Much work on use-statements and symbols. Jesse Brault 2025-05-18 12:52:13 -0500
  • 8cd5e588a0 Add gathering and resolving for various constructs; two-file test still failing but fails correctly. Jesse Brault 2025-05-18 10:26:38 -0500
  • c54e005b62 Add build for platform function. Jesse Brault 2025-05-18 08:57:50 -0500
  • 938391ae09 Add use statements. Jesse Brault 2025-05-18 08:32:16 -0500
  • 0c18b976d7 Refactor name-analysis for multiple files; set up (failing) test case for multiple files. Jesse Brault 2025-05-18 08:00:32 -0500
  • 3026d22750 Remove dbg in assert_builds. Jesse Brault 2025-05-17 19:59:07 -0500
  • e0f2810764 Fix pretty-print operator bug. Jesse Brault 2025-05-17 19:53:16 -0500
  • 692411e232 Change grammar to properly allow if, while, and for loops (without confusing it with closures). Jesse Brault 2025-05-17 17:29:06 -0500
  • bf06407d16 Implement if/if-else statements in grammar, build, unparse, and pretty-print. Jesse Brault 2025-05-17 12:36:29 -0500
  • 35d616a538 Implement closure in ast building, unparsing, and pretty printing. Jesse Brault 2025-05-17 10:32:14 -0500
  • 2de45817d4 Add BacktickString building. Jesse Brault 2025-05-17 08:44:39 -0500
  • 78e7271950 Add DString building. Jesse Brault 2025-05-17 08:36:55 -0500
  • bae2048aef Add number literal building to build.rs. Jesse Brault 2025-05-16 19:38:53 -0500
  • 17285e84eb Add indexing to build.rs. Jesse Brault 2025-05-16 19:27:39 -0500
  • 15abcc92d3 Add indoc and indexing to grammar. Jesse Brault 2025-05-16 19:06:07 -0500
  • f5a82c414c Much work to produce better errors during name analysis. Jesse Brault 2025-05-16 15:58:42 -0500
  • dda86f75e7 Begin name-analysis testing. Jesse Brault 2025-05-16 11:21:44 -0500
  • 4224055860 Refactor name-analysis code into separate module/files. Jesse Brault 2025-05-16 10:56:57 -0500
  • 6ab9efa8fd Add codespan-reporting to project for awesome error reporting. Jesse Brault 2025-05-16 09:06:44 -0500
  • 2b4e042602 Change unparse to work with IndentWriter. Jesse Brault 2025-05-16 08:05:59 -0500
  • ce20cece21 Work on basic name analysis. Jesse Brault 2025-05-15 21:09:55 -0500
  • 9805a3aad5 Finish current version of pretty print. Jesse Brault 2025-05-15 16:09:47 -0500
  • 58c66b437e More work on pretty print; add dmc p3 command. Jesse Brault 2025-05-15 11:27:05 -0500
  • 1c2e5300ac Start on pretty_print.rs for pretty-printing ASTs. Jesse Brault 2025-05-15 11:05:23 -0500
  • 68a2c22be7 Delete trie.rs. Jesse Brault 2025-05-15 11:05:08 -0500
  • a9457c1ab9 Successful work to compile, parse, and unparse basic Deimos. Jesse Brault 2025-05-15 09:40:39 -0500
  • a9fe5b473c Delete old compile sketch files. Jesse Brault 2025-05-15 08:53:43 -0500
  • c980eb8a72 Fix up unparse.rs. Jesse Brault 2025-05-15 08:52:34 -0500
  • e3dc46e023 Enough work to hopefully make hello world parse and build AST. Jesse Brault 2025-05-15 08:13:34 -0500
  • 63dec99cb5 Add expression rules and basic left-recursive AST-expression building. Jesse Brault 2025-05-14 20:07:44 -0500
  • 487d0383c5 Add many rules to build.rs. Jesse Brault 2025-05-14 19:24:28 -0500
  • 9df681e07c Refactoring grammar to be easier to work with. Jesse Brault 2025-05-14 17:24:57 -0500
  • 373120d34e Add class-level declarations and components. Jesse Brault 2025-05-14 12:04:07 -0500
  • 9d843097bc Much work on build.rs and related. Jesse Brault 2025-05-14 10:04:31 -0500
  • 16e180180b Work on grammar and reorganize src/ast/mod.rs. Jesse Brault 2025-05-13 19:00:14 -0500
  • e4c93f319d Fix formatting. Jesse Brault 2025-05-13 10:42:08 -0500
  • 82af6b4dfb Much work on grammar, AST building and unparsing. Jesse Brault 2025-05-13 09:46:12 -0500
  • e8aff842ed Create and implement AST structs/enums and Unparse traits. Jesse Brault 2025-05-11 09:28:00 -0500
  • 1a365481ab Add smoke screen tests for parser; add some function grammar rules. Jesse Brault 2025-05-07 15:05:39 -0500
  • 68de104595 Change Closure hierarchy. Jesse Brault 2025-05-07 11:46:40 -0500
  • 9cec999cb9 Sketching out how templates might work. Jesse Brault 2025-05-02 14:59:33 -0500
  • 153dd993f8 Much sketching of new hkts, ints, classes, and so on. Jesse Brault 2025-04-30 12:18:59 -0500
  • 084ed4a00b Write expressions grammar, basic testing. Jesse Brault 2025-04-21 09:11:02 -0500
  • 90a3c40ac3 Work on object access and number literal grammar; basic parser testing. Jesse Brault 2025-04-20 14:11:03 -0500
  • 815168603c Update grammar. Jesse Brault 2025-04-16 09:12:48 -0500
  • aa3f4b3a8b Start translating ast to instructions. Jesse Brault 2025-04-15 18:58:30 -0500
  • ae8f89bb4e Update calling conventions. Jesse Brault 2025-04-15 14:31:28 -0500
  • 1263d84802 Work on grammar and AST building. Jesse Brault 2025-04-14 08:00:05 -0500
  • 94f496a63d Sketch DvmObjectFile type and related functions. Jesse Brault 2025-04-14 07:59:51 -0500
  • 71ee49761e Updated dvm/main.rs to use new refactored dvm. Jesse Brault 2025-04-13 10:20:29 -0500
  • 26d87acff5 More refactoring of dvm; add DvmValue::String and related. Jesse Brault 2025-04-13 09:34:09 -0500
  • 172e82025d Rename to implementation.rs. Jesse Brault 2025-04-12 21:21:01 -0500
  • 22e8605cc6 Major refactoring of virtual machine. Jesse Brault 2025-04-12 21:20:08 -0500
  • a1ceab9d8f Updated TODO with more ideas for how to namespace entities. Jesse Brault 2025-02-04 13:35:33 -0600
  • feb02f3349 Set up namespace declarations as desired. Jesse Brault 2025-02-04 13:05:52 -0600
  • 1d3a1593ee Organized module source files. Jesse Brault 2025-02-03 11:03:25 -0600
  • 3906374866 Removed yaml format for namespace declaration. Jesse Brault 2025-02-03 11:01:15 -0600
  • 5c75b7ab82 Remove unused import. Jesse Brault 2025-02-03 10:39:05 -0600
  • 36955295bc Add enough to AST building to parse current std lib. Jesse Brault 2025-02-03 10:30:56 -0600
  • d566fc046a Add ns.yaml metadata to std::core. Jesse Brault 2025-02-03 10:23:40 -0600
  • 80c3aa9f19 Create dmc bin. Jesse Brault 2025-01-31 19:12:30 -0600
  • 18551af61a More work upon AST building. Jesse Brault 2025-01-31 14:40:46 -0600
  • 173ec3ab38 Merge remote-tracking branch 'origin/main' Jesse Brault 2025-01-30 18:37:33 -0600
  • 040961ed67 Finally building an AST with Pest. Jesse Brault 2025-01-30 18:36:35 -0600
  • 9ffcf68695 Some more http sketching. Jesse Brault 2025-01-14 14:31:09 -0600
  • 114a16e1e8 More http sketching. Jesse Brault 2025-01-14 13:55:16 -0600
  • f6c4d634ab More curl sketching. Jesse Brault 2025-01-14 11:09:39 -0600
  • a4c4357b31 Small change to string.dm. Jesse Brault 2025-01-14 11:02:34 -0600
  • 085f60ab4f Add curl sketch. Jesse Brault 2025-01-13 15:20:38 -0600
  • d4fb4680a5 Update to Pest grammar for hello world. Jesse Brault 2024-12-31 17:23:36 -0600
  • db83cb7403 Add basic sketch of needed core components for hello world. Jesse Brault 2024-12-31 17:23:03 -0600
  • 1a3e48fddf Rename dm_lib to dm_lib_sketching Jesse Brault 2024-12-31 12:07:48 -0600
  • 2967ceb2fc Remove old lexer/parser code, in preparation for Pest usage. Jesse Brault 2024-12-31 09:48:29 -0600
  • fc9cfcdf7c Clean up of references and Rcs; better information hiding. Jesse Brault 2024-12-30 16:27:13 -0600
  • 68553a756b Remove old, unused code from vm; remove pub from various struct fields. Jesse Brault 2024-12-30 12:50:55 -0600
  • 258fe824bd Add dvm_panic macro for dumping state before panic call. Jesse Brault 2024-12-29 10:36:15 -0600
  • 5322e441c5 Fix memory leak of constant by no longer needing to make copy of constant. Jesse Brault 2024-12-29 10:23:16 -0600
  • cf0c44e627 Update of semantics of Move Register operation. Jesse Brault 2024-12-28 16:42:43 -0600
  • 7aa93c3986 Clean up op codes. Jesse Brault 2024-12-28 15:35:35 -0600
  • 9c4ca23765 Remove deprecated op codes. Jesse Brault 2024-12-28 15:14:24 -0600
  • 420db38f70 Properly implement load and store instructions. Jesse Brault 2024-12-28 15:10:56 -0600