Some more work, and a --parse-only option to support the new kraken.vim vim plugin that adds Syntastic support (and syntax highlighting)
This commit is contained in:
7
tests/syntax_error.krak
Normal file
7
tests/syntax_error.krak
Normal file
@@ -0,0 +1,7 @@
|
||||
import io
|
||||
|
||||
fun main():int {
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
3
tests/test_fileio.expected_results
Normal file
3
tests/test_fileio.expected_results
Normal file
@@ -0,0 +1,3 @@
|
||||
this can be anything
|
||||
because it reads itself
|
||||
beautiful
|
||||
7
tests/test_fileio.krak
Normal file
7
tests/test_fileio.krak
Normal file
@@ -0,0 +1,7 @@
|
||||
import io:*
|
||||
import string:*
|
||||
|
||||
fun main():int {
|
||||
print(read_file(string("test_fileio.expected_results")))
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user