tlang-interperter-cs/tlang/Program.cs

20 lines
377 B
C#

using tlang;
using System.Collections.Generic;
using System;
using System.IO;
public class Program
{
public static void Main(string[] args)
{
List<LexToken> tokens;
using(var sr = new StreamReader(ApplicationRunner.GetLauncherScript()))
{
var lexer=new Lexer(sr);
tokens=lexer.Tokens;
}
Environment.Exit(ApplicationRunner.Run(tokens,args));
}
}