Commit Graph

40 Commits

Author SHA1 Message Date
0ea58e4921 Fixed bug where negative consts were not valid slang, revised build script to build the workshop folder to the release folder. 2025-12-06 20:08:19 -07:00
d6548502cd Track spans for the variable_manager::Error enum 2025-12-06 14:12:31 -07:00
0ac5661d7f Fixed last 2 implemented syscalls 2025-12-06 02:12:16 -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
f2aedb96df update syntax highlighting to use vscode dark mode theme 2025-12-05 00:25:24 -07:00
b06ad778d9 Allow underscores in identifiers 2025-12-04 22:44:47 -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
75f1c5c44a Stationpedia docs 2025-12-02 17:59:40 -07:00
0f1613d521 Support tokenization tooltips in the C# mod 2025-12-02 00:00:42 -07:00
8aadb95f36 More documentation 2025-12-01 23:43:40 -07:00
b3c732bbb7 Start generating documentation for built-in types and functions 2025-12-01 23:08:56 -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
0977d3d0d5 Remove unwrap() in favor of ok_or() 2025-12-01 15:06:53 -07:00
8ea274f3bf working in-game error diagnostics. memory access violation bug present. Need to debug 2025-12-01 14:50:05 -07:00
25d9222bd4 WIP -- emit compilation errors 2025-12-01 02:54:53 -07:00
06a151ab7e wip -- lsp mappings to various types 2025-11-30 20:31:06 -07:00
5db31d087d fixed tests. 2025-11-30 16:35:14 -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
db389045fc emit spanned<T> from parser 2025-11-30 15:15:40 -07:00
50d8f90816 WIP -- Expressions should know what their span is 2025-11-30 14:56:54 -07:00
18fbf26dae refactor mod to account for changes in the IC10Editor mod interface 2025-11-29 12:42:07 -07:00
f172ac5899 buffer original source data into the Token struct for use in-game 2025-11-28 18:01:57 -07:00
9a9fa9517f initial integration with ic10editor mod 2025-11-28 17:11:08 -07:00
e274b33553 wip -- marshal UTF16 string from C# to Rust to avoid GC in C# 2025-11-28 14:44:26 -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
6b69cc1459 wip 2025-11-28 03:17:23 -07:00
353dc16944 Unified the C# mod and the Rust compiler into a monorepo 2025-11-26 16:02:00 -07:00