Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GPDL/SyntaxAnalyzer/GPDefSyntaxAnalyzer.cs @ 9725

Last change on this file since 9725 was 9725, checked in by gkronber, 11 years ago

#2026 re-enabled code generation from within HL and added missing file.

File size: 664 bytes
Line 
1// GPDefSyntaxAnalyzer.cs                                       GKR, 2013
2// -----
3// Main program for compiler generated from GPDef.atg with Coco/R.
4//=====================================|========================================
5
6using System;
7using SyntaxAnalyzer;
8
9public class GPDefSyntaxAnalyzer {
10
11
12  public static void Main(String[] args) {
13    //-----------------------------------|----------------------------------------
14    if (args.Length > 0) {
15      Scanner scanner = new Scanner(args[0]);
16      Parser parser = new Parser(scanner);
17      parser.Parse();
18    } else
19      Console.WriteLine("-- No source file specified");
20  }
21}
Note: See TracBrowser for help on using the repository browser.