Commit Graph

166 Commits

Author SHA1 Message Date
836fd3bf99 wip -- dot notation 2025-12-01 18:46:59 -07:00
c911b0af18 Merge pull request #10 from dbidwell94/patch-input-source-code
Patch InputSourceCode to restore non-modified source when 'cancel' is…
2025-12-01 17:14:42 -07:00
caf4d8eaa3 Patch InputSourceCode to restore non-modified source when 'cancel' is clicked 2025-12-01 17:14:01 -07:00
3a939761cb Merge pull request #9 from dbidwell94/lsp
Lsp
2025-12-01 16:07:06 -07:00
abaefa294b rust catch_unwind as a safeguard 2025-12-01 15:35:44 -07:00
997dd50585 remove weird '2' file 2025-12-01 15:07:15 -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
e3ad024866 Merge pull request #8 from dbidwell94/persistant-slang
Allow slang to be a seamless workflow in the Stationeers editor.
2025-11-30 14:12:38 -07:00
1438213779 Hook into various methods to ensure slang code is populated when editor is open 2025-11-30 14:07:01 -07:00
668c3a5d41 Merge pull request #7 from dbidwell94/tokenization-refactor
Tokenization refactor
2025-11-29 15:36:21 -07:00
1a9a15c474 use latest version of IC10Editor dll 2025-11-29 15:35:51 -07:00
18fbf26dae refactor mod to account for changes in the IC10Editor mod interface 2025-11-29 12:42:07 -07:00
502c60d45e Merge pull request #6 from dbidwell94/ic10editor-mod
Ic10editor mod
2025-11-28 18:03:00 -07:00
f172ac5899 buffer original source data into the Token struct for use in-game 2025-11-28 18:01:57 -07:00
804bf11d02 Don't send EOF token to the C# mod 2025-11-28 17:34:38 -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
036be297ea renamed guid 2025-11-28 04:47:35 -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
611f0f6f71 Start bindings and interface implementation for the IC10Editor mod 2025-11-28 01:14:54 -07:00
2e7dc4fd91 Added a 'clean' script to cleanup build directories 2025-11-26 16:07:34 -07:00
353dc16944 Unified the C# mod and the Rust compiler into a monorepo 2025-11-26 16:02:00 -07:00
346b6e49e6 Merge pull request #5 from dbidwell94/syscalls
Syscalls
2025-11-26 15:35:22 -07:00
b03f32da00 wip 2025-11-26 14:27:12 -07:00
1579d9f905 more working syscalls 2025-11-25 22:54:05 -07:00
97b462eac8 Modified test file to represent real in-game code 2025-11-25 18:45:54 -07:00
40c6b0f3e7 loadFromDevice working 2025-11-25 18:35:00 -07:00
96645cbff3 wip -- loadFromDevice 2025-11-25 18:08:31 -07:00
adea9b6977 setOnDevice 2025-11-25 12:31:03 -07:00
68e56af987 yield and sleep 2025-11-25 02:27:28 -07:00
9bc5cac2c2 Merge pull request #4 from dbidwell94/logic_expressions
Logic expressions
2025-11-25 01:48:10 -07:00
81f412453b continue statements now working 2025-11-25 01:47:49 -07:00
05b16d59a4 loops 2025-11-25 01:30:12 -07:00
b5bf9a94a6 Working logic and if / else / else if statements 2025-11-25 01:22:54 -07:00
31ca798e55 Add support for the 'while' keyword 2025-11-25 00:49:12 -07:00
dd433e1746 Basic support for logical expressions 2025-11-25 00:26:17 -07:00
4e87b57961 Merge pull request #3 from dbidwell94/compiler-v2-refactor
Compiler v2 refactor
2025-11-24 23:57:12 -07:00
543ec5532a rename v2 -> v1 2025-11-24 23:56:49 -07:00
30b67fec54 compiler now on par with where it was in the v1 version 2025-11-24 23:55:33 -07:00