From de84d3ac456cd99be1016b8daf61a8a3a0ad38a1 Mon Sep 17 00:00:00 2001 From: Jori Date: Fri, 8 May 2026 09:28:33 +0000 Subject: [PATCH] Update Transpiler --- Transpiler.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/Transpiler.md b/Transpiler.md index 24a5bfc..0584232 100644 --- a/Transpiler.md +++ b/Transpiler.md @@ -1,20 +1,36 @@ Supported: ### **Godot Library** -- Convert GDScript Enum Types -`Node.ProcessModeEnum` to `Node.ProcessMode` +- Convert GDScript Enum Types `Node.ProcessModeEnum` to `Node.ProcessMode` - Convert GDScript Enum Values `Node.ProcessModeEnum.Disabled` to `Node.PROCESS_MODE_DISABLED` +- Convert Godot.GD functions to global functions `GD.print` to `print` + +### **GD Script Injection** +- Add GDScript from comment +- Add GDScript by string ### **C# Files** - Create own files for each class - Create for single file enum wrappers +- Create Prefixed names for Rokojori Classes -### **C# Types** +### **C# System Types** - List => Array - Array => Array - Dictionary => Dictionary[K,V] - HashSet => Dictionary[K,true] -### **General Expressions** -- Remove as expressions of interfaces +### **C# Math** +- float.MaxValue converted to value + +### **Generics** +- Prepend/append type as parameter for per class, for all methods +- Prepend/append type as parameter individually for a method + + + +### **Misc Expressions** +- Remove as expressions of interfaces `instance as InterfaceType` + +