cs420 icon indicating copy to clipboard operation
cs420 copied to clipboard

[Homework 1] C AST Printer (due: 3/30)

Open Lee-Janggun opened this issue 3 days ago • 0 comments

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!
  • self grader: https://github.com/kaist-cp/kecc-public/blob/main/scripts/grade-write_c.sh
    • run ./scripts/grade-write_c.sh.
  • 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.

Lee-Janggun avatar Feb 26 '25 16:02 Lee-Janggun