1
0

とりあえず構文木を一部作るようにして計算させた

This commit is contained in:
otya128
2015-06-03 20:59:47 +09:00
parent a74268b59a
commit bb9ae9abdc
4 changed files with 117 additions and 8 deletions

View File

@@ -1,7 +1,11 @@
import std.stdio;
import otya.smilebasic.parser;
int main(string[] argv)
{
writeln("Hello D-World!");
auto parser = new Parser("1+2");
writeln();
writeln(parser.calc());
readln();
return 0;
}