Пример #1
0
        public void Compile(Stream iStream, Stream oStream)
        {
            Scanner            scanner = new Scanner(iStream);
            ProgramNodeBuilder builder = new ProgramNodeBuilder();

            Parser parser = new Parser();

            parser.Parse(scanner, builder);
            builder.GetTree().Walk(new DefaultCodeGenerator(oStream));
        }
Пример #2
0
 public void Parse(Scanner scanner, ProgramNodeBuilder builder)
 {
 }