2018-12-31 15:26:22 +01:00
|
|
|
# Example Input
|
|
|
|
|
|
|
|
Some example inputs for the compiler are already provided.
|
|
|
|
These examples are to be used as integration tests.
|
|
|
|
|
|
|
|
Your initial task is to create another example which may be added to the set.
|
|
|
|
|
|
|
|
Try to use as many features of the mC language as possible.
|
2019-03-09 22:54:06 +01:00
|
|
|
The example may read from `stdin` and write to `stdout` using the built-in functions.
|
2018-12-31 15:26:22 +01:00
|
|
|
|
2019-03-09 22:54:06 +01:00
|
|
|
Provide `.stdin.txt` and `.stdout.txt` files for verification purposes.
|
2018-12-31 15:26:22 +01:00
|
|
|
|
|
|
|
The getting started code-base provides a stub for the mC compiler.
|
2019-01-07 15:07:01 +01:00
|
|
|
It converts mC to C and compiles the result using GCC.
|
2018-12-31 15:26:22 +01:00
|
|
|
|
|
|
|
See [Submission Guideline](submission.md).
|