Daily update on 20250306-064644 by Nitload Youmu. Additional Message : Building AST generator, adding a bi-channel stack as replace of two operand stack

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-06 06:46:45 +08:00
parent c5777f4bfe
commit 8460bfd56a
8 changed files with 279 additions and 19 deletions
@@ -64,11 +64,11 @@ namespace StgSharp.Script.Express
switch( ( ExpNodeFlag )variable.NodeFlag | ExpNodeFlag.BuiltinType_Any ) {
case ExpNodeFlag.BuiltinType_Float:
increment = new ExpLiteralGenericNode<float>(
$"{name}_defaultIncrement", context, 1.0f );
$"{name}_defaultIncrement", 1.0f );
break;
case ExpNodeFlag.BuiltinType_Int:
increment = new ExpLiteralGenericNode<int>(
$"{name}_defaultIncrement", context, 1 );
$"{name}_defaultIncrement", 1 );
break;
default:
throw new ExpInvalidTypeException(