umireon/klang — pull request #4 by umireon (2014-05-16 14:11:54+00:00)
Title: Print ast

Abstract Syntax TreeをYAMLで出力するプログラムを追加した．

```
$ ./print_ast 20/3*4
- type: AST_STATEMENT
children:
- type: AST_TERM
children:
- type: AST_MULTIPLICATION
children:
- type: AST_DIVISION
children:
- type: AST_NUMBER
value: 20
- type: AST_NUMBER
value: 3
- type: AST_NUMBER
value: 4
```