It's UWAweek 42 (2nd semester, week 12)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 738 articles.
Currently 131 other people reading this forum.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
10:08pm Wed 4th Sep, Joshua N.

"Joshua Noble" [email protected] wrote:

ANONYMOUS wrote:

For compiling

The program should validate the syntax Generate the code in a .c file

Do you then run ./runml sample08.ml and then it should automatically delete the .c file and the compiled file as well?

Ok let me try writing this out again, since half of my response got deleted. When you run your program like so:

./runml sample.ml

runml (your project) will read the ml file given as the first parameter (in this case sample.ml), it will validate the ml syntax inside that file, generate the equivalent c code in a new source code file (.c), compile the source code and finally run it.

After running the compiled file your program must delete any files it created, which would be the c source file and the compiled file it created.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy