Added in checking the stdlib directory to Kalypso

This commit is contained in:
Nathan Braswell
2016-02-05 21:34:25 -05:00
parent f941cb98dd
commit 7a2cef08e8
6 changed files with 33 additions and 8 deletions

View File

@@ -6,6 +6,10 @@ fun println(to_print: *char) {
print(to_print)
print("\n")
}
fun println(to_print: char) {
print(to_print)
print("\n")
}
fun println(to_print: int) {
print(to_print)
print("\n")
@@ -23,6 +27,11 @@ fun print(to_print: *char) {
printf("%s", to_print);
"""
}
fun print(to_print: char) {
__if_comp__ __C__ simple_passthrough(to_print::) """
printf("%c", to_print);
"""
}
fun print(to_print: int) {
__if_comp__ __C__ simple_passthrough(to_print::) """
printf("%d", to_print);