aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2019-08-16 20:12:40 +0200
committerMarvin Borner2019-08-16 20:12:40 +0200
commit21a6062aa909c3bb3347f837206fdd3d2fd01af2 (patch)
treec4c2a341d945f95d59137447f1551d949767b39e
parentc4f53cfabe7efc987916d3a7a40e81cb85ae9193 (diff)
Began semantic analysis
-rw-r--r--src/runMain/kotlin/Semantic.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runMain/kotlin/Semantic.kt b/src/runMain/kotlin/Semantic.kt
new file mode 100644
index 0000000..1657eeb
--- /dev/null
+++ b/src/runMain/kotlin/Semantic.kt
@@ -0,0 +1,8 @@
+class Semantic {
+ /**
+ * Checks and validates whether the code complies with the semantic rules
+ */
+ fun check(statements: MutableList<MutableList<Token>>): Boolean {
+ return true
+ }
+} \ No newline at end of file