Jesse Brault
|
80b6b96aeb
|
Implement lexing and parsing for classes.
|
2026-03-10 21:20:21 -05:00 |
|
Jesse Brault
|
9df9edc508
|
Add doubles.
|
2026-03-10 17:32:16 -05:00 |
|
Jesse Brault
|
7de866cf9d
|
Add return-type checking and fix string literal type-info bug.
|
2026-03-10 12:42:53 -05:00 |
|
Jesse Brault
|
705436ba61
|
Add repl subcommand with expressions only.
|
2026-03-09 21:11:09 -05:00 |
|
Jesse Brault
|
b88b230495
|
Make run subcommand.
|
2026-03-09 20:22:27 -05:00 |
|
Jesse Brault
|
ebca87ddb9
|
A lot of work just to do subtraction.
|
2026-03-09 19:22:35 -05:00 |
|
Jesse Brault
|
e35bacb583
|
Bunch of AST refactoring to make api easier.
|
2026-03-09 16:35:32 -05:00 |
|
Jesse Brault
|
9d09f7481b
|
Add unary minus and subtraction to lexer/parser/ast node kinds.
|
2026-03-09 12:33:14 -05:00 |
|
Jesse Brault
|
e486b212ae
|
Sketching dvm object.
|
2026-03-08 20:29:57 -05:00 |
|
Jesse Brault
|
ec848b3d36
|
Add e2e-tests project and add register saving around calls.
|
2026-03-08 16:23:20 -05:00 |
|
Jesse Brault
|
a7d162b2ca
|
Add backlog.
|
2026-03-08 13:35:12 -05:00 |
|
Jesse Brault
|
ec7bf650b2
|
Add return mechanism to dvm code, and related fixes to dmc.
|
2026-03-08 13:33:06 -05:00 |
|
Jesse Brault
|
2e33936842
|
Complete forgotten todo.
|
2026-03-08 13:16:04 -05:00 |
|
Jesse Brault
|
12174c9cf6
|
Add stack offset propagation, clean up some deprecated things.
|
2026-03-08 13:14:38 -05:00 |
|
Jesse Brault
|
12c4d0eb83
|
End-to-end with register allocation.
|
2026-03-08 01:27:09 -06:00 |
|
Jesse Brault
|
1171ce75f9
|
Propagate register assignments.
|
2026-03-07 18:25:16 -06:00 |
|
Jesse Brault
|
d8bd826cb0
|
Fix parse mistake.
|
2026-03-07 17:54:18 -06:00 |
|
Jesse Brault
|
4479fcb1ba
|
Refactor register allocation code to separate module.
|
2026-03-07 17:53:34 -06:00 |
|
Jesse Brault
|
5d565ccf91
|
Fix register allocation algorithm.
|
2026-03-06 20:16:00 -06:00 |
|
Jesse Brault
|
8e9ae9ed98
|
Implement register allocation algorithm, with a few bugs.
|
2026-03-05 23:19:00 -06:00 |
|
Jesse Brault
|
272d288213
|
Implement block/statement interference graph algorithm.
|
2026-03-05 20:41:25 -06:00 |
|
Jesse Brault
|
c91bb35d8d
|
Giving more info to ir.
|
2026-03-05 16:30:39 -06:00 |
|
Jesse Brault
|
15089a15d2
|
Re-introduce ir with goal of doing register allocation.
|
2026-03-05 12:41:05 -06:00 |
|
Jesse Brault
|
cfff03e97d
|
Add add_strings.dm.
|
2026-03-05 10:55:00 -06:00 |
|
Jesse Brault
|
713aec24ae
|
Fix hello.dm.
|
2026-03-04 22:16:40 -06:00 |
|
Jesse Brault
|
19194271aa
|
Fmt all the old code.
|
2026-03-04 22:15:39 -06:00 |
|
Jesse Brault
|
b4ebee0c34
|
Add result example as long-term goal.
|
2026-03-04 22:15:07 -06:00 |
|
Jesse Brault
|
7d8df883e6
|
Fix identifier type info being called too early bug.
|
2026-03-04 22:05:53 -06:00 |
|
Jesse Brault
|
d39e9afee2
|
More work on calling and returning.
|
2026-03-04 15:09:05 -06:00 |
|
Jesse Brault
|
3cacde6a4c
|
Work on calling conventions and instructions.
|
2026-03-04 12:13:05 -06:00 |
|
Jesse Brault
|
e1afb6b43b
|
Much work on adding and calling.
|
2026-03-03 21:06:12 -06:00 |
|
Jesse Brault
|
81ceeeadb8
|
Add parameter-list to regular fns.
|
2026-03-03 12:31:52 -06:00 |
|
Jesse Brault
|
61d7c66e17
|
Found some unused imports.
|
2026-03-02 21:16:41 -06:00 |
|
Jesse Brault
|
db675b5601
|
Write README.md.
|
2026-03-02 21:16:18 -06:00 |
|
Jesse Brault
|
8c1d56dc1a
|
Remove ir structs and fix misc. warnings.
|
2026-03-02 20:15:36 -06:00 |
|
Jesse Brault
|
68cb200494
|
One small todo.
|
2026-03-02 20:01:29 -06:00 |
|
Jesse Brault
|
0a0065a2c1
|
Add rudimentary type-use parsing and type-checking parameters.
|
2026-03-02 20:00:16 -06:00 |
|
Jesse Brault
|
2d601d6115
|
Add Any type.
|
2026-03-02 19:45:46 -06:00 |
|
Jesse Brault
|
ec18b5d5ba
|
Yay! Hello world via platform function is working.
|
2026-03-02 18:22:24 -06:00 |
|
Jesse Brault
|
7c041e40ad
|
Add sort-of-working error recovery to parser.
|
2026-03-02 14:06:14 -06:00 |
|
Jesse Brault
|
506e260c75
|
Add logic for checking if callee is platform fn.
|
2026-03-02 12:51:39 -06:00 |
|
Jesse Brault
|
b7b495178b
|
Add extern_function AST node.
|
2026-03-02 12:41:11 -06:00 |
|
Jesse Brault
|
35a849233c
|
Add extern keyword.
|
2026-03-02 11:48:41 -06:00 |
|
Jesse Brault
|
f2f4b0537e
|
Fix lexer whitespace bug.
|
2026-03-02 11:46:40 -06:00 |
|
Jesse Brault
|
1188e2b671
|
Add codespan_reporting back into the mix.
|
2026-03-02 11:39:57 -06:00 |
|
Jesse Brault
|
0960516c4a
|
Very minimal, but e2e hello world sort of working.
|
2026-03-01 16:11:57 -06:00 |
|
Jesse Brault
|
6593a1cfd1
|
Assembling directly from AST.
|
2026-02-28 08:22:57 -06:00 |
|
Jesse Brault
|
e5e1647b70
|
Multiple statements test.
|
2026-02-28 06:57:06 -06:00 |
|
Jesse Brault
|
6b855b8ebb
|
Work on asm.
|
2026-02-27 21:33:28 -06:00 |
|
Jesse Brault
|
aefac57b9d
|
Starting work on IR.
|
2026-02-27 16:26:56 -06:00 |
|