Commit Graph

38 Commits

Author SHA1 Message Date
3fb04aef3b Emit IL alongside raw IC10 for use in future optimization passes 2025-12-12 15:51:36 -07:00
92f0d22805 hook up compilationResult to FFI boundry 2025-12-11 13:32:46 -07:00
811f4f4959 Keep track of source map throughout the compilation process 2025-12-11 13:03:12 -07:00
236b50c813 Allow syscalls in infix operations 2025-12-11 02:24:01 -07:00
342b1ab107 Fix function invocation stack underflow 2025-12-11 01:03:43 -07:00
0ac010ef8f Fixed documentation rendering and added ternary expressions 2025-12-10 18:00:20 -07:00
9c260ef2d5 Fixed bug where infix wouldn't rewind when encountering a comma, causing the rest of a syscall parse in an assignment expression to fail 2025-12-10 00:09:16 -07:00
0fde11a2bf Added support for syscalls with assignment expressions 2025-12-09 23:57:19 -07:00
b21d6cc73e Found bug, unable to do an assignment expression with a syscall 2025-12-09 23:45:10 -07:00
46500a456a Add support for colorized comments 2025-12-09 17:38:35 -07:00
0cddb3e8c8 The Cows are all working. Moo. 2025-12-09 16:31:24 -07:00
c3986ab4d9 VariableManager lifetime errors 2025-12-09 16:05:40 -07:00
c531f673a5 Remove quickerror in favor of thiserror 2025-12-09 11:32:14 -07:00
72cf9ea042 wip 2025-12-09 01:43:12 -07:00
f53f2f878a Fixed bug with max() function, tested math syscalls 2025-12-06 22:46:51 -07:00
19d6679229 untested compiled Math syscalls 2025-12-06 22:28:39 -07:00
d6548502cd Track spans for the variable_manager::Error enum 2025-12-06 14:12:31 -07:00
5d92586dba Fixed compiler bug that causes args.next to be invoked more than the 1 expected time 2025-12-06 02:09:12 -07:00
7fb153572d syscall aliases and more syscalls 2025-12-06 01:19:30 -07:00
ee8f5daece add test for constant folding with temporary variables 2025-12-05 23:39:58 -07:00
a60e9d7dce fold nested literal binary expressions 2025-12-05 23:25:23 -07:00
9993bff574 Added support for compile-time constant hash expressions 2025-12-05 21:34:51 -07:00
759f798fda Fixed VariableScope so it stores const values in the var_lookup_table 2025-12-04 21:32:00 -07:00
d34ce32d97 v1 constant expressions 2025-12-04 21:18:57 -07:00
4b6c7eb63c Implement AST for 'const' expressions. TODO -- add const expressions to compiler 2025-12-04 18:01:16 -07:00
e05f130040 Fixed stack overflow error caused by improper cleanup of block scoped variables 2025-12-02 23:37:13 -07:00
5de614cc38 compiler support for dot notation 2025-12-01 19:01:32 -07:00
48049b79ec revert compiler 2025-12-01 18:48:37 -07:00
836fd3bf99 wip -- dot notation 2025-12-01 18:46:59 -07:00
abaefa294b rust catch_unwind as a safeguard 2025-12-01 15:35:44 -07:00
06a151ab7e wip -- lsp mappings to various types 2025-11-30 20:31:06 -07:00
c5c4cfdc64 Compilation errors solved 2025-11-30 16:11:54 -07:00
15603f8bbe wip 2025-11-30 15:39:55 -07:00
1c52ec2b9c parser and tree nodes seem to be working. Need to fix compiler 2025-11-30 15:35:54 -07:00
9a9fa9517f initial integration with ic10editor mod 2025-11-28 17:11:08 -07:00
4ac2e6408f Extension methods to help with Rust FFI strings and vecs 2025-11-28 04:24:34 -07:00
c97c5763ae automated C# glue FFI glue code 2025-11-28 03:51:05 -07:00
353dc16944 Unified the C# mod and the Rust compiler into a monorepo 2025-11-26 16:02:00 -07:00