Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var lexer = new SimpleLexer("2 * 3 * 4;");
            //var parser = new Parser( lexer, new ConsoleOutput() );

            var output = new RuntimeOutput();
            var parser = new Parser(lexer, output);

            parser.Statement();

            PseudoRuntime.Run(output.Result);
        }
Ejemplo n.º 2
0
 public NetOutput(NetComponent net, RuntimeOutput output)
 {
     m_Net    = net;
     m_Output = output;
 }
Ejemplo n.º 3
0
 public RpcOutput(RpcComponent rpc, RuntimeOutput output)
 {
     m_Rpc    = rpc;
     m_Output = output;
 }