From 21a6062aa909c3bb3347f837206fdd3d2fd01af2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 16 Aug 2019 20:12:40 +0200 Subject: Began semantic analysis --- src/runMain/kotlin/Semantic.kt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/runMain/kotlin/Semantic.kt (limited to 'src/runMain/kotlin/Semantic.kt') 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>): Boolean { + return true + } +} \ No newline at end of file -- cgit v1.2.3