Commit Graph

  • 53112c9f9d Fix parser bug Greg Shuflin 2021-10-30 17:32:17 -0700
  • e7308485df Rewrite many parser tests Greg Shuflin 2021-10-30 00:15:01 -0700
  • 08d66f0a43 Run rustfmt on error.rs Greg Shuflin 2021-10-30 00:07:05 -0700
  • 6e7bd1ccb8 Clippy changes Greg Shuflin 2021-10-30 00:01:59 -0700
  • 68506571a8 Implement records Greg Shuflin 2021-10-29 22:03:34 -0700
  • 8111f69640 Run rustfmt on tokenizer code Greg Shuflin 2021-10-29 19:03:42 -0700
  • 304df5c50e Remove arity from ReducedIR, symbol table Greg Shuflin 2021-10-29 19:00:27 -0700
  • 6b9ca92e00 Have TypeContext calculate tag numbers Greg Shuflin 2021-10-29 17:27:21 -0700
  • 209b6bba48 Start adding infrastructure for defining new types Greg Shuflin 2021-10-29 04:01:38 -0700
  • cec0f35fc3 Add test for duplicate variant check Greg Shuflin 2021-10-29 00:48:44 -0700
  • 30fbc9a721 Add test for duplicate types in symbol table Greg Shuflin 2021-10-29 00:28:05 -0700
  • b2d9622feb Basic visualizer for AST Greg Shuflin 2021-10-28 02:03:01 -0700
  • 5d04a020dc Run rustfmt on ast module Greg Shuflin 2021-10-28 02:00:37 -0700
  • 765a0bec58 Make use of TypeContext in SymbolTable Greg Shuflin 2021-10-27 15:39:09 -0700
  • 40be5a8a33 Pass TypeContext to evaluator Greg Shuflin 2021-10-27 10:23:51 -0700
  • 6a7c88cd02 Fix clippy Greg Shuflin 2021-10-27 01:17:53 -0700
  • 08590430e4 Move minimal typechecking code into directory-style module Greg Shuflin 2021-10-27 01:11:46 -0700
  • 4dd39fe085 rustfmt util.rs Greg Shuflin 2021-10-27 00:40:21 -0700
  • 0f40a7de5d rustfmt schala.rs Greg Shuflin 2021-10-27 00:39:08 -0700
  • d65233240a Unify u32-based identifiers into common code Greg Shuflin 2021-10-25 17:13:34 -0700
  • a3463f5519 Add rustfmt.toml and format tree walk evaluator:wq Greg Shuflin 2021-10-27 00:02:12 -0700
  • 0c6d2be95a Use term "tag" consistently with type u32 Greg Shuflin 2021-10-26 15:45:41 -0700
  • 264fc2ae58 Start work on named struct Greg Shuflin 2021-10-26 15:30:42 -0700
  • e4592ddfb2 Bit of work for record patterns Greg Shuflin 2021-10-26 14:53:28 -0700
  • 8896b1a7a7 Kill old comments Greg Shuflin 2021-10-26 14:34:51 -0700
  • 851fd9885f Make a distinct Block type Greg Shuflin 2021-10-26 14:05:27 -0700
  • 3402cfe326 Clippy pass Greg Shuflin 2021-10-26 13:37:03 -0700
  • f71d3707c6 Get back to zero warnings Greg Shuflin 2021-10-26 13:12:24 -0700
  • 0808bcbc87 Remove old reduced_ast, eval Greg Shuflin 2021-10-26 13:07:39 -0700
  • 47ff6b3cb5 Move over last test Greg Shuflin 2021-10-26 13:06:11 -0700
  • e6061becc0 Move over more tests Greg Shuflin 2021-10-26 13:05:42 -0700
  • c8af776b15 Uncomment line in test Greg Shuflin 2021-10-26 13:02:58 -0700
  • b9767d0d7d Fix bug with pattern matching Greg Shuflin 2021-10-26 13:02:40 -0700
  • df173a0096 Variables in pattern match Greg Shuflin 2021-10-26 11:37:43 -0700
  • 9e799c23ba More work on pattern-matching Greg Shuflin 2021-10-26 01:53:30 -0700
  • e52d0bf515 Fix AST visitor Greg Shuflin 2021-10-26 01:03:06 -0700
  • a03f570266 More tuple pattern work Greg Shuflin 2021-10-26 00:39:24 -0700
  • 48e2d9a683 Add additional tests Greg Shuflin 2021-10-25 23:34:17 -0700
  • e40b8ece3b Make multi-armed patterns work Greg Shuflin 2021-10-25 23:26:03 -0700
  • 899a4df55e Literal patterns Greg Shuflin 2021-10-25 23:01:32 -0700
  • 284d7ce383 Bunch of messing-around with case matching Greg Shuflin 2021-10-25 22:39:29 -0700
  • 6162d05b60 Starting on case-matching Greg Shuflin 2021-10-25 21:19:26 -0700
  • 77cdfc229f Basic conditionals working Greg Shuflin 2021-10-25 20:26:53 -0700
  • 856e74cb5e Make eval primitive object test pass Greg Shuflin 2021-10-25 19:57:06 -0700
  • 59956903f2 Adjustments to Primitive type Greg Shuflin 2021-10-25 19:42:49 -0700
  • 0a2f06f598 Introduce notion of RuntimeValue Greg Shuflin 2021-10-25 19:34:05 -0700
  • ec8ae05018 Rename RuntimeValue -> MemoryValue Greg Shuflin 2021-10-25 19:09:05 -0700
  • e4af5beb1c Various data layout changes to support DataConstructor evaluation Greg Shuflin 2021-10-25 19:08:03 -0700
  • a1d6661a6b Add (failing) data constructor test Greg Shuflin 2021-10-25 16:53:25 -0700
  • cac61ba093 Refactor TypeId representation in symbol table Greg Shuflin 2021-10-25 16:12:24 -0700
  • e18ddbded9 Make type for DataConstructor Greg Shuflin 2021-10-25 15:53:54 -0700
  • b00df64f55 Bring over a few more tests Greg Shuflin 2021-10-25 15:01:03 -0700
  • d6fcc65392 Fix bug with lambda/global name collision Greg Shuflin 2021-10-25 14:52:19 -0700
  • b5141e27d6 Modify how lookup type works Greg Shuflin 2021-10-25 14:37:12 -0700
  • 97117827c6 Modify Symbol struct Greg Shuflin 2021-10-25 13:03:31 -0700
  • fb0bf29826 Add Display impl for FQSN Greg Shuflin 2021-10-25 12:47:35 -0700
  • 8ceaa734d2 Add back another test revealing a scope error Greg Shuflin 2021-10-25 02:46:10 -0700
  • df41da84b4 Fix scope test bug Greg Shuflin 2021-10-25 01:02:19 -0700
  • 9ec1e00afa Fix bug with assignment precedence Greg Shuflin 2021-10-24 23:05:47 -0700
  • 630420b114 Fix assign; make reduced ir test pass Greg Shuflin 2021-10-24 22:55:12 -0700
  • 856a0808de Start moving over eval tests Greg Shuflin 2021-10-24 22:44:52 -0700
  • 96595d8fb6 Remove most unused variables Greg Shuflin 2021-10-24 22:39:11 -0700
  • 009095f771 Use evaluation error type Greg Shuflin 2021-10-24 22:23:48 -0700
  • 5b4bb6606e Comment out the old evaluator and reduced_ast Greg Shuflin 2021-10-24 22:16:12 -0700
  • 7c5a08664a Remove Unimplemented from Reduced IR Greg Shuflin 2021-10-24 22:13:31 -0700
  • 81859306b3 Add tree walk eval test Greg Shuflin 2021-10-24 21:54:08 -0700
  • b365a3fec7 WIP if-expression reduction Greg Shuflin 2021-10-24 21:15:58 -0700
  • 37ce12b6d8 Handle lambdas Greg Shuflin 2021-10-24 19:05:41 -0700
  • 4193971303 Handle lambdas in reduced IR Greg Shuflin 2021-10-24 18:59:00 -0700
  • 7282a38a08 Function application working again Greg Shuflin 2021-10-24 17:57:56 -0700
  • 16164c2235 Move reduced ir types to separate file Greg Shuflin 2021-10-24 15:59:40 -0700
  • f2c9cf20cb More builtins Greg Shuflin 2021-10-24 07:07:12 -0700
  • c9cfc467b0 Got (some) arithmetic working again Greg Shuflin 2021-10-24 06:54:48 -0700
  • 3383921c6b Evaluator work Greg Shuflin 2021-10-24 06:36:16 -0700
  • 7a7e4ec0f2 Use Primitive type in evaluator Greg Shuflin 2021-10-24 06:04:58 -0700
  • bd698629ff Continuing work on reduced ir Greg Shuflin 2021-10-24 02:54:21 -0700
  • 82de5c6e27 Handle local variables and function params in symbol table Greg Shuflin 2021-10-24 02:02:04 -0700
  • 9540dc70f2 Successfully refactor the ScopeResolver tables Greg Shuflin 2021-10-24 01:00:32 -0700
  • ba09919aa1 Bunch of rewrites to scope resolver Greg Shuflin 2021-10-24 00:08:26 -0700
  • d8f6c41f04 Start re-writing reduced ast and evaluator Greg Shuflin 2021-10-21 15:23:48 -0700
  • e68331fe0a Make methods on Visitor public Greg Shuflin 2021-10-23 21:14:13 -0700
  • e947569100 Rewrite Visitor Greg Shuflin 2021-10-23 00:22:12 -0700
  • 92a695e523 Eliminate one table in SymbolTable Greg Shuflin 2021-10-21 21:55:21 -0700
  • b342213826 Add ids to type Variants Greg Shuflin 2021-10-21 20:00:26 -0700
  • b4f765167b Redesign Variant struct Greg Shuflin 2021-10-21 19:53:50 -0700
  • 2256f25482 Add id_to_symbol table to SymbolTable Greg Shuflin 2021-10-21 19:43:03 -0700
  • 4ddcbc89ad Parameterize type of ScopeStack scope names Greg Shuflin 2021-10-21 19:22:11 -0700
  • fb31687dea Run rustfmt on symbol_table code Greg Shuflin 2021-10-21 14:46:42 -0700
  • 93d0a2cd7d Clippy fix in eval Greg Shuflin 2021-10-21 12:38:12 -0700
  • 9b5c3629c0 Update schala-lang to edition 2021 Greg Shuflin 2021-10-21 12:37:29 -0700
  • b5484e67ee Update to edition 2021 Greg Shuflin 2021-10-21 12:33:56 -0700
  • 248af74ec0 Add parsing for annotations Greg Shuflin 2021-10-21 11:32:14 -0700
  • 3b5ebf92b4 Some additional notes Greg Shuflin 2021-10-21 10:45:14 -0700
  • 4a366fda30 Modified some of the syntax playground Greg Shuflin 2021-10-21 01:31:31 -0700
  • f625b80d0c Update README Greg Shuflin 2021-10-20 18:43:41 -0700
  • 5eb743a8b5 Updated TODO file Greg Shuflin 2021-10-20 01:18:09 -0700
  • 75935db9e6 Get rid of ReducedAST unit Greg Shuflin 2021-10-20 00:18:44 -0700
  • 2f669b77fd Move reduced_ast.rs into multiple files Greg Shuflin 2021-10-19 23:13:36 -0700
  • 0d488b250d Remove submodule Greg Shuflin 2021-10-19 23:06:52 -0700
  • 60ddac9774 Rest of clippy lints Greg Shuflin 2021-10-19 22:29:41 -0700