WIP: dev #1

Draft
nub31 wants to merge 103 commits from dev into master
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 32042d0769 - Show all commits

View File

@@ -467,7 +467,10 @@ public class Parser
var parameters = new List<NodeExpression>();
while (!TryExpectSymbol(Symbol.CloseParen))
{
parameters.Add(ParseExpression());
TryExpectSymbol(Symbol.Comma);
}
expr = new NodeExpressionFuncCall(TokensFrom(startIndex), expr, parameters);
}

View File

@@ -1,7 +1,7 @@
module core
export func print(text: string) {
sys::write(0 text.ptr text.length)
sys::write(0, text.ptr, text.length)
}
export func println(text: string) {