aboutsummaryrefslogtreecommitdiff
path: root/src/runMain/kotlin/Syntax.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/runMain/kotlin/Syntax.kt')
-rw-r--r--src/runMain/kotlin/Syntax.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runMain/kotlin/Syntax.kt b/src/runMain/kotlin/Syntax.kt
new file mode 100644
index 0000000..3b8cfc8
--- /dev/null
+++ b/src/runMain/kotlin/Syntax.kt
@@ -0,0 +1,8 @@
+class Syntax {
+ fun check(tokens: MutableList<Pair<String, TokenType>>): Boolean {
+ for (token in tokens) {
+ print(token)
+ }
+ return true
+ }
+} \ No newline at end of file