Cosmos/source/Tests/MathTest/Lost/LostTest.cs
2008-03-18 16:16:48 +00:00

29 lines
562 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lost.JIT.AMD64;
using System.IO;
//using Cosmos.Build.Windows;
namespace Lost
{
class LostTest
{
[STAThread]
static void Main(string[] args)
{
using (var source = new StreamReader(args[0]))
{
string srcLine;
while ((srcLine = source.ReadLine()) != null)
{
var op = ProcessorInstruction.Parse(srcLine);
Console.WriteLine(op);
}
}
Console.ReadKey();
}
}
}