Commit Graph

44 Commits

Author SHA1 Message Date
477c2b1aef Fixed bug where temperature literals were not being calculated correctly with negative numbers 2025-12-15 23:13:40 -07:00
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
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
c3986ab4d9 VariableManager lifetime errors 2025-12-09 16:05:40 -07:00
f54214acb9 Most of all the errors are gone 2025-12-09 13:59:54 -07:00
d9a7a31306 Lifetimes are declared, now I gotta fix the lifetime issues 2025-12-09 13:51:54 -07:00
d40b759442 TEST -- use Cow instead of String for tokens 2025-12-09 13:17:35 -07:00
a50a45f0b4 More cleanup 2025-12-09 12:12:28 -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
fac36c756b Lexer impl done 2025-12-08 23:19:23 -07:00
115a57128c Before error type refactor 2025-12-08 22:50:20 -07:00
1b96a17698 Update ModData/About.xml, update various syscalls in Stationpedia 2025-12-07 21:15:58 -07:00
f53f2f878a Fixed bug with max() function, tested math syscalls 2025-12-06 22:46:51 -07:00
ab7b36ac22 Add support in the parser for the various Math syscalls 2025-12-06 21:49:10 -07:00
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
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
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
4b6c7eb63c Implement AST for 'const' expressions. TODO -- add const expressions to compiler 2025-12-04 18:01:16 -07:00
75f1c5c44a Stationpedia docs 2025-12-02 17:59:40 -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
836fd3bf99 wip -- dot notation 2025-12-01 18:46:59 -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
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
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
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
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