This project, part of a Compiler Construction course, involves developing a compiler in OCaml and x86 assembly language. It's structured into three main assignments, each focusing on different compiler development aspects.
- Objective: Implement specific sections in
compiler.ml
marked withraise (X_not_yet_implemented "hw 1")
. - Language: OCaml
- Environment: Platform-independent
- Objective: Similar to Assignment 1, complete sections in
compiler.ml
indicated byraise (X_not_yet_implemented "hw 2")
. - Language: OCaml
- Environment: Platform-independent
- Objective: Write x86 assembly code for Linux, finishing parts in
compiler.ml
tagged asraise (X_not_yet_implemented "final project")
. - Language: OCaml and x86 Assembly
- Environment: Linux-specific
- Tools: Includes
compile_scheme_string
,compile_scheme_file
, andcompile_and_run_scheme_string
for testing and debugging.
- Work individually or in pairs.
- Avoid plagiarism.
- Commit to thorough testing and debugging.
- Maintain clean and efficient code.
- Regular testing is essential for effective debugging.
- Utilize provided tools for testing assembly code.
- Ensure a clear understanding of each task.
- Commit regularly and document changes effectively.
Refer to the detailed assignment document for in-depth instructions and requirements.