Daily update on 20250312-074647 by Nitload Youmu. Additional Message : Change: Temp not want to compile RULE and PROCEDURE
Add: Add factory method to generate more kind of binary operator node Add: more SIMD intrinsic C function Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -59,45 +59,15 @@ namespace StgSharp
|
||||
try {
|
||||
StgSharp.Init();
|
||||
|
||||
/*
|
||||
/**/
|
||||
ExpCompile.InitCompile();
|
||||
ExpFileSource reader = new ExpFileSource( testExpPath );
|
||||
ExpSchemaSource schemaSource = new ExpSchemaSource();
|
||||
schemaSource.ReadSchema( reader );
|
||||
|
||||
ScriptSourceTransmitter st = new ScriptSourceTransmitter(
|
||||
"end", 0 );
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
string str = $"rawCode () (\"\") {i}";
|
||||
Console.WriteLine( str );
|
||||
st.WriteLine( str );
|
||||
}
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
string str = $"Code{i} {new string(' ', i + 1)}-- Comment{i}";
|
||||
Console.WriteLine( str );
|
||||
st.WriteLine( str );
|
||||
}
|
||||
st.WriteLine( "CodeBef (* comment" );
|
||||
st.WriteLine( $"comment *) codeAft" );
|
||||
Console.WriteLine( "CodeBef (* comment_" );
|
||||
Console.WriteLine( $"_comment *) codeAft" );
|
||||
for( int i = 0; i < 10; i++ ) {
|
||||
string str = $" Code{i} (* (* Comment{i} *) *) Code{i}";
|
||||
Console.WriteLine( str );
|
||||
st.WriteLine( str );
|
||||
}
|
||||
st.WriteLine( "end" );
|
||||
ExpSourceReader sr = new ExpSourceReader( st );
|
||||
int count = 0;
|
||||
while( !sr.IsEmpty ) {
|
||||
count++;
|
||||
Token str = sr.ReadToken();
|
||||
Console.WriteLine(
|
||||
$"{count}\t{str.Flag}\t\t{str.Value.ToString()}" );
|
||||
}
|
||||
IScriptSourceProvider slice = st.Slice( 5, 2 );
|
||||
/**/
|
||||
|
||||
/**/
|
||||
/*
|
||||
|
||||
StgSharp.InitGL( 4, 6 );
|
||||
StgSharp.GlobalSetting.VSyncActivated = false;
|
||||
@@ -126,8 +96,8 @@ namespace StgSharp
|
||||
|
||||
return;
|
||||
}
|
||||
catch( Exception ) {
|
||||
throw;
|
||||
catch( Exception ex ) {
|
||||
Console.WriteLine( ex.Message );
|
||||
/*
|
||||
StgSharp.WriteLog($"{ex}", LogType.Error);
|
||||
if( true ) { }
|
||||
|
||||
Reference in New Issue
Block a user