Skip to content

Commit

Permalink
fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktaubeneck committed Aug 13, 2022
1 parent a4e4bad commit f83476a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,15 +483,15 @@ if __name__ == "__main__":
compiler.compile_func()
```

You could then run this with:
You could then run this with the same args as used with `compile.py`:

```bash
python hello_world.mpc <compile args>
```

This is particularly useful if want to add new command line arguements specifically for your `.mpc` file. See [test_args.mpc](Programs/Source/test_args.mpc) for more details on this use case.

Note that when using this approach, all objects provided in the high level interface (e.g. sint, print_ln) need to be imported, because the `.mpc` file is interpreted directly by Python (instead of being read by `compile.py`.
Note that when using this approach, all objects provided in the high level interface (e.g. sint, print_ln) need to be imported, because the `.mpc` file is interpreted directly by Python (instead of being read by `compile.py`.)

#### Compiling and running programs from external directories

Expand Down

0 comments on commit f83476a

Please sign in to comment.