aboutsummaryrefslogtreecommitdiff
path: root/src/Syntax.kt
diff options
context:
space:
mode:
authorMarvin Borner2019-08-14 18:28:10 +0200
committerMarvin Borner2019-08-14 18:28:10 +0200
commit38aad3dcda01fc5ed82556dbfdf4cfc30ff479d9 (patch)
treec38ac3df2f68e820f408c03468c43433e98f4be6 /src/Syntax.kt
parentd9d9fbdd9d13a5eadc5c57ac19405983cfe11b2e (diff)
Began syntactical analysis
Diffstat (limited to 'src/Syntax.kt')
-rw-r--r--src/Syntax.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Syntax.kt b/src/Syntax.kt
new file mode 100644
index 0000000..7d7ab9d
--- /dev/null
+++ b/src/Syntax.kt
@@ -0,0 +1,7 @@
+class Syntax {
+ fun check(tokens: MutableList<Pair<String, TokenType>>) {
+ for (token in tokens) {
+ print(token)
+ }
+ }
+} \ No newline at end of file