WOOO compiles all in one file! Dependencies resolved! Next up, C name mangeling for scoping
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import string:*;
|
||||
|
||||
__if_comp__ __C__ __simple_passthrough__ """
|
||||
#include <stdio.h>
|
||||
"""
|
||||
@@ -20,6 +22,14 @@ __if_comp__ __C__ __simple_passthrough__ """
|
||||
println();
|
||||
}
|
||||
|
||||
|void| print(|string| toPrint) {
|
||||
print(toPrint.toCharArray());
|
||||
}
|
||||
|
||||
|void| println(|string| toPrint) {
|
||||
println(toPrint.toCharArray());
|
||||
}
|
||||
|
||||
|void| print(|int| toPrint) {
|
||||
__if_comp__ __C__ {
|
||||
__simple_passthrough__ """
|
||||
|
||||
Reference in New Issue
Block a user