Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
+16 -1
View File
@@ -29,6 +29,7 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Model.Step;
using StgSharp.PipeLine;
using StgSharp.Script.Express;
using System;
@@ -50,9 +51,23 @@ namespace StgSharp
private static void TestStepRead()
{
ExpressCompile.InitCompile();
if( StepReader.FromFile( stepFile[ 0 ], out StepReader reader ) )
if( StepReader.FromFile( stepFile[ 1 ], out StepReader reader ) )
{
StepModel model = reader.ReadToModelSingleThread();
PipeLineRunner.SetMaxTaskCount( 1 );
string[] info = model.ShowStructure( int.MaxValue );
FileStream fs = File.Open( "D:\\struct.txt", FileMode.Create,
FileAccess.ReadWrite );
StreamWriter sw = new StreamWriter( fs );
foreach( string line in info )
{
sw.WriteLine( line );
Console.WriteLine( line );
}
sw.Dispose();
fs.Dispose();
//model.InitEntity();
reader.Dispose();
}
}