Last change
on this file since 9724 was
9724,
checked in by gkronber, 11 years ago
|
#2026 changed ATG to Coco/R syntax and use Coco/R (C#) to generate scanner and parser for GPDL
|
File size:
693 bytes
|
Line | |
---|
1 | // GpdlCompiler.cs HDO, 2006-08-28
|
---|
2 | // -----
|
---|
3 | // Main program for compiler generated from GpdlCompiler.atg with Coco-2.
|
---|
4 | //=====================================|========================================
|
---|
5 |
|
---|
6 | using System;
|
---|
7 | using HeuristicLab.Problems.GPDL;
|
---|
8 |
|
---|
9 | public class GpdlCompiler {
|
---|
10 |
|
---|
11 | public static void Main(String[] args) {
|
---|
12 | //-----------------------------------|----------------------------------------
|
---|
13 | if (args.Length > 0) {
|
---|
14 | Scanner scanner = new Scanner(args[0]);
|
---|
15 | Parser parser = new Parser(scanner);
|
---|
16 | parser.Parse();
|
---|
17 | } else
|
---|
18 | Console.WriteLine("-- No source file specified");
|
---|
19 | }
|
---|
20 |
|
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.