cs420
cs420 copied to clipboard
[Homework 1] C AST Printer (due: 3/30)
Implement C AST Printer.
- goal: understanding the C AST provided by KECC
- instruction: https://www.youtube.com/watch?v=SOzsb09GldA&list=PL5aMzERQ_OZ8RWqn-XiZLXm1IJuaQbXp0&index=6
-
skeleton: https://github.com/kaist-cp/kecc-public/blob/main/src/c/write_c.rs
- fill out
todo!()
. - don't fork this repository. It'll be public!
- fill out
-
self grader: https://github.com/kaist-cp/kecc-public/blob/main/scripts/grade-write_c.sh
- run
./scripts/grade-write_c.sh
.
- run
-
submission: https://gg.kaist.ac.kr/assignment/149/. Submit
write_c.rs
. - due: 3/30 23:59:59 (KST = UTC+9)
-
Tips:
- https://github.com/kaist-cp/cs420/issues/23
-
Rust tutorial:
- https://doc.rust-lang.org/book/: Chapters 1-15 and 18 would be especially useful.
- Also try out https://github.com/kaist-cp/cs220's homework for quick practice.