Beispiel #1
0
 public Exe(string exename, Io io, Lib l)
 {
     this.io = io;
     this.lib = l;
     filename = exename;
     initOpcodeHash();
 }
Beispiel #2
0
        public static void Main()
        {
            String[] args = Environment.GetCommandLineArgs();
            CmdIo source = new CmdIo();
            try {
                source = new CmdIo(args);
                Tok tokenizer = new Tok(source);
                Lib funclibrary = new Lib();

                Parser parser = new Parser(source, tokenizer, funclibrary);
                parser.parse_and_compile();
                source.Finish();
            } catch {
                source.Message("plil: compiler error.");
            }
        }
Beispiel #3
0
 public Asm(Io ihandle, Lib l)
 {
     io = ihandle;
     lib = l;
 }
Beispiel #4
0
 public Emit(Io o, Lib l)
 {
     io = o;
     lib = l;
     exe = new Exe(io.GetClassname(), io, l);
 }
Beispiel #5
0
 public Parser(Io i, Tok t, Lib l)
 {
     io = i;
     tok = t;
     lib = l;
 }
Beispiel #6
0
 public Asm(Io ihandle, Lib l)
 {
     io  = ihandle;
     lib = l;
 }