2025-06-25 21:51:11 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2025-06-29 01:46:32 +08:00
|
|
|
|
using System.IO;
|
2025-06-25 21:51:11 +08:00
|
|
|
|
using System.Threading;
|
|
|
|
|
using Convention;
|
2025-06-29 01:46:32 +08:00
|
|
|
|
using Convention.EasySave;
|
2025-07-03 21:50:26 +08:00
|
|
|
|
using Convention.Symbolization;
|
2025-06-13 10:52:21 +08:00
|
|
|
|
|
|
|
|
|
public class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2025-07-04 21:39:02 +08:00
|
|
|
|
var context = new SymbolizationRunner();
|
2025-07-03 21:50:26 +08:00
|
|
|
|
try
|
|
|
|
|
{
|
2025-07-04 21:39:02 +08:00
|
|
|
|
context.Compile("example_script.txt");
|
2025-07-03 21:50:26 +08:00
|
|
|
|
Console.WriteLine("Script compiled successfully.");
|
|
|
|
|
}
|
|
|
|
|
catch (FileNotFoundException ex)
|
2025-06-25 21:51:11 +08:00
|
|
|
|
{
|
2025-07-03 21:50:26 +08:00
|
|
|
|
Console.WriteLine($"Error: {ex.Message}");
|
|
|
|
|
}
|
2025-06-13 10:52:21 +08:00
|
|
|
|
}
|
|
|
|
|
}
|