public LanguageCompiler(GrammarData data)
 {
     Data = data;
       Grammar = data.Grammar;
       Parser = new Parser(Data);
       Scanner = new Scanner(Data);
 }
 public LanguageCompiler(Grammar grammar)
 {
     Grammar = grammar;
     #if !SILVERLIGHT
       Stopwatch sw = new Stopwatch();
       sw.Start();
     #endif
       GrammarDataBuilder bld = new GrammarDataBuilder(grammar);
       bld.Build();
       Data = bld.Data;
       Parser = new Parser(Data);
       Scanner = new Scanner(Data);
     #if !SILVERLIGHT
       sw.Stop();
       InitTime = sw.ElapsedMilliseconds;
     #endif
 }