10 lines
258 B
C#
10 lines
258 B
C#
|
using TLang.BytecodeCompiler;
|
|||
|
using TLang.Common;
|
|||
|
using TLang.Parser;
|
|||
|
|
|||
|
|
|||
|
var res=Parse.ParseFromFiles("app.tlang");
|
|||
|
using(var f = File.Create("app.tvm"))
|
|||
|
{
|
|||
|
ByteCodeGenerator.GenerateToStream(res,f,new TLangVersion(1,0,0,0),new TLangVersion(1,0,0,0));
|
|||
|
}
|