-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject2.cpp
More file actions
27 lines (24 loc) · 948 Bytes
/
Project2.cpp
File metadata and controls
27 lines (24 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*******************************************************************************
* Assignment: Project 2 - Syntactic Analyzer for Scheme to C++ Translator *
* Author: Dr. Watts *
* Date: Fall 2017 *
* File: Project2.cpp *
* *
* Description: This file contains the *
*******************************************************************************/
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include "SetLimits.h"
#include "SyntacticalAnalyzer.h"
int main (int argc, char * argv[])
{
if (argc < 2)
{
printf ("format: %s <filename>\n", argv[0]);
exit (1);
}
SetLimits ();
SyntacticalAnalyzer parse (argv[1]);
return 0;
}