This commit is contained in:
Nathan Braswell
2014-08-19 01:24:28 -04:00
parent 5b57770774
commit 5974deece2
11 changed files with 153 additions and 81 deletions

View File

@@ -2,6 +2,10 @@ __if_comp__ __C__ __simple_passthrough__ """
#include <stdio.h>
"""
/*
*import string;
*/
|void| println() {
print("\n");
}
@@ -20,6 +24,17 @@ __if_comp__ __C__ __simple_passthrough__ """
println();
}
/*
*|void| print(|String| toPrint) {
* print(toPrint.c_str());
*}
*
*|void| println(|String| toPrint) {
* print(toPrint);
* println();
*}
*/
|void| print(|int| toPrint) {
__if_comp__ __C__ {
__simple_passthrough__ """