From 38aad3dcda01fc5ed82556dbfdf4cfc30ff479d9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 14 Aug 2019 18:28:10 +0200 Subject: Began syntactical analysis --- src/Testing.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/Testing.kt') diff --git a/src/Testing.kt b/src/Testing.kt index 4e4ec0d..d1e6b17 100644 --- a/src/Testing.kt +++ b/src/Testing.kt @@ -2,12 +2,7 @@ class Testing { init { val source = Loader("/home/melvin/coding/run/example.run").load() val tokens = Lexical().analyze(source) - for (token in tokens) { - print(token.first) - print(" => ") - print(token.second) - print("\n") - } + Syntax().check(tokens) print(source) } } \ No newline at end of file -- cgit v1.2.3