mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
29 lines
562 B
C#
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();
|
|
}
|
|
}
|
|
}
|