Commit Graph

  • 7a7b98310b Cleanup pt. inf+ master dane 2026-06-02 19:43:44 -05:00
  • 51e34c9750 Delete old vm dane 2026-02-15 13:30:54 -06:00
  • b50d3109c0 Utilize new implementation of vm dane 2026-02-15 13:24:30 -06:00
  • d44f5d2851 Other implementation of vm? dane 2026-02-13 14:54:24 -06:00
  • 0783e7c587 Generalize breakpoints dane 2026-02-10 11:24:30 -06:00
  • c7b0d20334 Externalize stack for some reason, am I deathless? dane 2026-02-10 16:27:28 -06:00
  • 4280841719 Pluggable instruction sets dane 2026-02-10 10:58:48 -06:00
  • e4fe2c6bff remove dead code and update testing functions dane 2026-02-04 11:35:14 -06:00
  • 9de16cfd3a Put a lid on the T-k issues dane 2026-02-04 11:15:44 -06:00
  • ec017b57fa Move optmization to after cps-ification dane 2026-02-03 16:22:43 -06:00
  • 01721cc9c2 update compiliation steps to use the letrecs (fix combinators) dane 2026-01-27 14:46:18 -06:00
  • 67d7cd8e3e Desugaring combines adjacent top-level defines into one letrec dane 2026-01-27 10:58:02 -06:00
  • bb23fe5c58 Unique rename strategy for cps dane 2026-01-26 10:26:55 -06:00
  • acc8054505 Added quotes and added an interpreter for scheme on the ir dane 2026-01-25 20:55:23 -06:00
  • 735d731bb6 Letrecs now working properly, no use before definitions dane 2026-01-23 13:01:05 -06:00
  • 05fd5f5db2 Struggling here a bit, removing env from cps until scope issues are fixed dane 2026-01-23 09:10:50 -06:00
  • f9d30db271 Environment records for cps conversion, uniq identifiers avoid shadowing, desugar removes all defines dane 2026-01-20 11:53:53 -06:00
  • 43642ca025 Compiler bones, definitely not correct right now dane 2026-01-19 22:02:26 -06:00
  • 244cd5e967 Prefer letrec to define-then!, basically the same thing but one is real. Need to redo denotation dane 2026-01-14 13:42:08 -06:00
  • 37bacda095 More WIP compiler stuff, generating combinators, possibly correct? dane 2026-01-09 22:24:55 -06:00
  • e2f4e3d746 Cleaner cps interface dane 2025-12-11 10:17:19 -06:00
  • 3ad9159969 Arbitrary stack access. What to do with tail calls? dane 2025-12-09 16:03:03 -06:00
  • 69b6ccbce0 Cps conversion for full programs? dane 2025-11-26 15:28:08 -06:00
  • 7eb1ede3d9 Choose CPS over ANF due to body of literature on topic dane 2025-11-26 13:28:10 -06:00
  • b5d3438e79 Remove failing tests, remove implemented code generator dane 2025-11-25 17:45:18 -06:00
  • 4f8459ae64 Minor scheme changes dane 2025-10-07 08:04:01 -05:00
  • 095ced6f03 Desugaring and ANF tranforms dane 2025-10-03 16:47:28 -05:00
  • e31483a76e WIP scheme compiler dane 2025-08-07 16:30:47 -05:00
  • 5915c42fe3 Atomic cps operations (ints lol) dane 2025-09-08 19:05:25 -05:00
  • 883ee645c4 Remove common dane 2025-09-08 19:02:09 -05:00
  • 2d868bb581 Move further code to common, rename to assembler (last restructure I promise) dane 2025-09-05 09:58:11 -05:00
  • 4e8e3ef8c4 Move common elements of the assembler (basically everything) to common file dane 2025-09-04 19:48:26 -05:00
  • 490840e577 Stateful assembler like Guile, hope to extend to interface for compiler dane 2025-09-03 19:37:13 -05:00
  • 330aca002f Project restructuring to support the new direction dane 2025-08-28 13:02:37 -05:00
  • d109b6f374 Barking up the wrong tree here, remember compilation, not interpretation dane 2025-08-28 12:53:32 -05:00
  • 31c529e83a Start working on reference for runtime environment dane 2025-08-28 09:06:22 -05:00
  • 3166108e4e Don't reexport from root module dane 2025-08-25 21:25:58 -05:00
  • dd8376365d Add a little scratch file so I can keep track of my work. Actually terminate runtime program dane 2025-08-25 17:39:43 -05:00
  • 54709e55f8 Added stepping to debugger dane 2025-08-25 17:26:11 -05:00
  • 1c84a9c862 Some bugfixes to runtime code, probably need to implement stepping debugger dane 2025-08-25 12:34:46 -05:00
  • d0d0ca23ec More useful error messages, assume unsigned ints dane 2025-08-25 12:34:08 -05:00
  • 33f1618915 Some more compile time errors, some bug fixes for runtime dane 2025-08-25 11:44:48 -05:00
  • 274376a5de WIP? written but untested runtime code dane 2025-08-22 19:10:18 -05:00
  • 03fa8d4370 fix bug, logand arg 2 dane 2025-08-22 19:09:24 -05:00
  • f91fa39aef WIP runtime more. How do I mark primitives+broken hearts? dane 2025-08-19 13:30:59 -05:00
  • 6ae13b1c86 Add reference C code that I can hand compile dane 2025-08-19 13:30:51 -05:00
  • c916cc8dbf Add test for debugger dane 2025-08-14 10:02:23 -05:00
  • 5e46e323a6 Export stack functions for debugging, add one to get as list dane 2025-08-14 09:44:56 -05:00
  • 9a8cd12c5d Change vm from a closure to a record type for ease of use, expose data and ret stacks dane 2025-08-13 11:42:56 -05:00
  • d02bc02258 Stop the debugger on the first instruction dane 2025-08-12 14:09:29 -05:00
  • ab558d9f60 WIP runtime re-write dane 2025-06-28 10:35:46 -05:00
  • cc3d576112 Add "if" as alias for "branch" dane 2025-06-28 10:35:07 -05:00
  • 227dcc662e Add meta assembly commands for dealing with variables dane 2025-06-20 13:18:40 -05:00
  • bfe6db57b6 Assembler refactor dane 2025-06-17 15:03:10 -05:00
  • ce963c498c Better breakpoints dane 2025-06-15 13:02:56 -05:00
  • f939d1b08b Debugger, begin runtime stuff dane 2025-06-11 10:50:38 -05:00
  • a36eea12d0 Begin debugger dane 2025-06-09 09:02:20 -05:00
  • 679b53d76e All is one-op instructions (save push). Code in memory (this will allow compilation) dane 2025-06-05 14:22:12 -05:00
  • 11eae06995 Quality of life changes, "exception" handling dane 2025-01-27 13:27:36 -06:00
  • f89bed316c Better control over buffer label, select by nibble not byte dane 2025-01-20 14:49:24 -06:00
  • d46d99f47a Can kind of move the cursor around dane 2025-01-20 10:16:47 -06:00
  • 7ea50f95ef Styling etc dane 2025-01-15 14:43:25 -06:00
  • feb07d43c8 Start memory view dane 2025-01-14 16:21:11 -06:00
  • 0c029118f0 Beginnings of a debugger dane 2025-01-12 21:01:02 -06:00
  • 422c675981 Add driver dane 2025-01-09 14:26:22 -06:00
  • f8a868bb23 Make assembler take a port dane 2025-01-07 10:50:23 -06:00
  • e252e8eb19 Add assembler dane 2025-01-07 10:44:39 -06:00
  • 09ff519edd Further augment vm, create test to perform fibonocci sequence test dane 2025-01-06 17:42:06 -06:00
  • 73690b6efa init git dane 2025-01-06 10:36:17 -06:00