tlang-interperter-cs/tlang/Program.cs

20 lines
377 B
C#
Raw Permalink Normal View History

2023-03-10 04:33:58 +00:00
using tlang;
2023-03-10 10:12:36 +00:00
using System.Collections.Generic;
using System;
using System.IO;
public class Program
{
public static void Main(string[] args)
{
2023-03-10 04:33:58 +00:00
List<LexToken> tokens;
using(var sr = new StreamReader(ApplicationRunner.GetLauncherScript()))
{
var lexer=new Lexer(sr);
tokens=lexer.Tokens;
}
2023-03-10 10:12:36 +00:00
Environment.Exit(ApplicationRunner.Run(tokens,args));
}
}