mirror of
https://github.com/hazemKrimi/jack-vm-translator.git
synced 2026-05-01 18:00:27 +00:00
Handling files wip
This commit is contained in:
+9
-2
@@ -1,8 +1,15 @@
|
||||
#include <iostream>
|
||||
#include <parser.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "VM Translator";
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
string path = argv[1];
|
||||
|
||||
Parser parser(path);
|
||||
|
||||
parser.printFile();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user