|
c0b02f8a45
|
Clean up some prints
|
2025-07-20 05:04:12 +03:00 |
|
|
5f65d3438a
|
Get arrays to work in DI, huzzah
|
2025-07-19 22:08:23 +03:00 |
|
|
c1cc1d28de
|
Implement array and struct debug info
|
2025-07-19 20:51:06 +03:00 |
|
|
a511331be2
|
Fix type-inferrer on arrays
|
2025-07-19 19:23:24 +03:00 |
|
|
98169af415
|
Add array and pointer-types to lib
|
2025-07-19 16:18:29 +03:00 |
|
|
d64cf750b1
|
Make codegen return StackValues instead of instructions
|
2025-07-19 15:46:34 +03:00 |
|
|
1ad89de682
|
Add better coverage for debug types
|
2025-07-19 14:33:27 +03:00 |
|
|
f2c38d42b9
|
Add variable debug declarations to all variables
|
2025-07-19 13:56:51 +03:00 |
|
|
59ce454f91
|
Store all variables in pointers
|
2025-07-19 13:54:54 +03:00 |
|
|
94fbd51d35
|
Commit out adding records for now
|
2025-07-19 13:29:05 +03:00 |
|
|
e12d0be08b
|
Start adding debug-records
|
2025-07-19 13:14:53 +03:00 |
|
|
7c8a123945
|
Add variables to debug info
|
2025-07-19 12:15:56 +03:00 |
|
|
e75c38ad85
|
Add debug information to everything (for now)
|
2025-07-19 00:41:29 +03:00 |
|
|
92f12e90eb
|
Make debug information work
|
2025-07-18 19:38:01 +03:00 |
|
|
b169e67ca4
|
Add debug locations to returns
|
2025-07-18 18:36:04 +03:00 |
|
|
1967cadbc0
|
Get debug info working very preliminarily
|
2025-07-18 17:26:11 +03:00 |
|
|
990d8cb448
|
Fix around in debug information generation, fix subprogram not being set
|
2025-07-18 16:59:05 +03:00 |
|
|
0c6d9885ec
|
Add debug information compilation for subprograms and their parameters
|
2025-07-18 15:44:12 +03:00 |
|
|
9bb4f97e6b
|
Start adding debug information
|
2025-07-18 00:07:11 +03:00 |
|
|
e2dc1a3f85
|
Fix some warnings
|
2025-07-17 14:31:40 +03:00 |
|
|
c07e488f48
|
Update state.load a bit to make a better default for it
|
2025-07-17 12:36:17 +03:00 |
|
|
8ffb3baa8d
|
Add Any-mutability for StackValues
|
2025-07-17 00:55:11 +03:00 |
|
|
8abee593f0
|
Fix value transfer in structs and arrays
|
2025-07-17 00:33:23 +03:00 |
|
|
9a4f0dc5d8
|
Allow for cloning inner values
|
2025-07-17 00:05:37 +03:00 |
|
|
965ad5797f
|
Implement rudamentary borrow
|
2025-07-16 23:49:28 +03:00 |
|
|
d2cf97af66
|
Move should_load to separate State
|
2025-07-16 23:22:06 +03:00 |
|
|
d034754202
|
Possibly fix array_structs
|
2025-07-16 23:09:36 +03:00 |
|
|
c19384d77b
|
Refactor a bit
|
2025-07-16 22:38:19 +03:00 |
|
|
3870b421a9
|
Refactor indexing/accessing a bit, no mutability
|
2025-07-16 22:04:11 +03:00 |
|
|
79c98a18f7
|
Fix some warnings, remove unused code
|
2025-07-16 21:14:07 +03:00 |
|
|
1eb3e8c095
|
Refactor IndexedVariableReference being a bit smarter
|
2025-07-16 21:13:00 +03:00 |
|
|
dbd048c21c
|
Fix struct indexing when setting a field
|
2025-07-16 20:38:21 +03:00 |
|
|
cd31d7e7cd
|
Nearly fix struct mutability
|
2025-07-16 20:27:01 +03:00 |
|
|
f2e4b3eff7
|
Do some cleanup
|
2025-07-16 18:57:42 +03:00 |
|
|
2a879b5ef4
|
Implement codegen for structs
|
2025-07-16 17:08:15 +03:00 |
|
|
31185d921e
|
Properly implement structs in lib
|
2025-07-16 16:11:45 +03:00 |
|
|
1d1e574136
|
Implement type inference for structs
|
2025-07-15 23:16:37 +03:00 |
|
|
b012a46e91
|
Process Struct ASTs into MIR
|
2025-07-15 22:03:48 +03:00 |
|
|
f139a5ad6c
|
Add MIR support for struct types
|
2025-07-15 21:48:58 +03:00 |
|
|
6788ef1690
|
Use AvailableExternally-linkage for externs for imports
|
2025-07-15 20:01:46 +03:00 |
|
|
fa4df50a04
|
Fix linking so that non-imported functions don't bother main-module
|
2025-07-14 22:22:55 +03:00 |
|
|
2b47c4efc7
|
Make linking modules together work, fix printing modules
|
2025-07-14 21:10:13 +03:00 |
|
|
735c4370aa
|
Add pub keyword
|
2025-07-14 18:47:02 +03:00 |
|
|
4eaa365674
|
Add function flags and codegen extern functions
|
2025-07-14 18:26:57 +03:00 |
|
|
376baa2c9a
|
Remove length param from string, use string pointers instead
|
2025-07-14 18:22:05 +03:00 |
|
|
83475b144c
|
Codegen strings
|
2025-07-14 17:54:56 +03:00 |
|
|
73a3b15fb6
|
Add AST -> MIR for strings
|
2025-07-14 17:45:36 +03:00 |
|
|
1b9f3dbca0
|
Fix warnings
|
2025-07-14 02:26:55 +03:00 |
|
|
86eab29173
|
Make nested arrays work
|
2025-07-14 01:20:50 +03:00 |
|
|
5d06ecb874
|
Add broken support for nested arrays
|
2025-07-14 00:05:05 +03:00 |
|