0% found this document useful (0 votes)
16 views

Terminal Command

The document provides instructions for compiling and running Standard ML code using the sml interpreter. It describes copying code into a file called perfect.sml, running rlwrap sml perfect.sml to compile it, editing the file again using nano and saving and quitting, and then running sml garter.sml to execute a module called fibs.grt.

Uploaded by

PrasunGhosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Terminal Command

The document provides instructions for compiling and running Standard ML code using the sml interpreter. It describes copying code into a file called perfect.sml, running rlwrap sml perfect.sml to compile it, editing the file again using nano and saving and quitting, and then running sml garter.sml to execute a module called fibs.grt.

Uploaded by

PrasunGhosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

cat > perfect.

sml
Then copy paste your code

Then rlwrap sml perfect.sml


to compile it

Then nano perfect.sml


Ctrl-O to save
Ctrl-X to quit

sml garter.sml
- exec_source "fibs.grt";

You might also like