1
0

関数呼び出しの実�

This commit is contained in:
otya128
2015-06-03 21:52:09 +09:00
parent 9ed79ef448
commit 421f90d717
4 changed files with 100 additions and 3 deletions

View File

@@ -3,10 +3,8 @@ import otya.smilebasic.parser;
int main(string[] argv)
{
writeln("Hello D-World!");
auto parser = new Parser("1+2*(3+4)");
auto parser = new Parser("ADD(ADD(1,2,3,4,5,6),2,3,4,5,6)");
writeln(parser.calc());
writeln(1+2*3+4);
writeln(1+2*(3+4));
readln();
return 0;
}