aboutsummaryrefslogtreecommitdiff
path: root/src/Loader.kt
diff options
context:
space:
mode:
authorMarvin Borner2019-08-14 22:31:46 +0200
committerMarvin Borner2019-08-14 22:31:46 +0200
commit938f655b120efd01a0fbdd5c3fde7dbc1b53d267 (patch)
treed7e7ff88280a110e1220573ff41e79cc98baa68b /src/Loader.kt
parent38aad3dcda01fc5ed82556dbfdf4cfc30ff479d9 (diff)
Using Kotlin/Native now
Diffstat (limited to 'src/Loader.kt')
-rw-r--r--src/Loader.kt12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Loader.kt b/src/Loader.kt
deleted file mode 100644
index 1972939..0000000
--- a/src/Loader.kt
+++ /dev/null
@@ -1,12 +0,0 @@
-import java.io.File
-import java.io.InputStream
-
-class Loader(path: String) {
- private val inputStream: InputStream = File(path).inputStream()
- private val inputString = inputStream.bufferedReader().use { it.readText() }
-
- // TODO: Add preprocessor managing imports and comments
- fun load(): String {
- return inputString
- }
-} \ No newline at end of file