Rename to Nim
This commit is contained in:
parent
cfdc471535
commit
2bd2af6e1c
25 changed files with 64 additions and 64 deletions
|
|
@ -12,13 +12,13 @@ echo "Hello World"
|
|||
Save this text as `helloworld.nim`. To compile and execute the program, the following command should be run
|
||||
|
||||
``` console
|
||||
$ nimrod c -r --verbosity:0 helloworld.nim
|
||||
$ nim c -r --verbosity:0 helloworld.nim
|
||||
Hello World
|
||||
```
|
||||
|
||||
The command has several elements:
|
||||
|
||||
* `c` is an alias for `compile`, which compiles the Nimrod sources into C and then invokes the C compiler on them
|
||||
* `c` is an alias for `compile`, which compiles the Nim sources into C and then invokes the C compiler on them
|
||||
* `-r` is an alias for `--run`, which runs the program
|
||||
* `--verbosity:0` makes the compiler only output essential messages, since by default it also outputs some debugging messages. From now on, we assume that `--verbosity:0` is set
|
||||
* `./helloworld.nim` is the path to the source you want to compile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue