summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/code/zpy/zpy.c
blob: 411a824641aea4a797f5c1976268c0cabf45bb90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

#include "../tokenizer/parser.h"
#include "../global/types.h"
#include "../tokenizer/tokenizer.h"
#include "../global/util.h"

int main(int argc, char **argv){
	if (argc < 2) {
		printf("repl not yet implemented\n");
		Die();
	}
	char **file = parser(argv[1]);

	for (int i = 0; i < 10; i++){
		printf("%s\n", file[i]);
	}	
	return 0;
}