For our team project.
###What's new:
16:00 11/16
- Uploaded
ast_checker.ml, use commandocamlbuild ast_check.native"to build theast_checker. - Uploaded
pretty_print.ml. - Made change to
newast.ml.
locals: variabledecl list;21:00 11/16
1. Uploaded `newast.ml` and `newparser.mly`, with reduce/shift conflicts eliminated.
11:52 11/19
1. Uploaded working `ast.mli` and `parser.mly`.
19:34 11/19
1. Add array initialize checker.
2. Cancel `typ_a`, all types are included in `typ`.
20:20 11/22
1. Add `polygo.ml`, `codegen.ml`, `mytest.sh`, `test.pg`. Currently we can just do something like:
```C print("Hello world"); ```
2. Update `Makefile`, in order to run our compiler, use this command in terminal: ```Shell make clean && make && ./mytest.sh ```
3. `test.pg` is just a small demo, you can play with it if you like. But I cannot guarantee our compiler can do something more than print a string. :)