summaryrefslogtreecommitdiff
path: root/src/LispErrorReporter.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/LispErrorReporter.kt')
-rw-r--r--src/LispErrorReporter.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/LispErrorReporter.kt b/src/LispErrorReporter.kt
new file mode 100644
index 0000000..d9ad148
--- /dev/null
+++ b/src/LispErrorReporter.kt
@@ -0,0 +1,15 @@
+package moe.nea.lisp
+
+class LispErrorReporter {
+
+ data class LispError(val name: String, val position: LispPosition)
+
+
+ val errors = listOf<LispError>()
+
+ fun reportError(name: String, position: HasLispPosition) {
+ println("LISP ERROR: $name at ${position.position}")
+ }
+
+
+}