Rename to Nim
This commit is contained in:
parent
cfdc471535
commit
2bd2af6e1c
25 changed files with 64 additions and 64 deletions
|
|
@ -2,7 +2,7 @@
|
|||
title: Enums
|
||||
---
|
||||
# Enums
|
||||
Enums in Nimrod are like enums in C, but are type-checked. There are no anonymous enums in Nimrod.
|
||||
Enums in Nim are like enums in C, but are type-checked. There are no anonymous enums in Nim.
|
||||
|
||||
``` nimrod
|
||||
type
|
||||
|
|
@ -34,7 +34,7 @@ dec ordinal
|
|||
echo high(char)
|
||||
```
|
||||
```console
|
||||
$ nimrod c -r enums.nim
|
||||
$ nim c -r enums.nim
|
||||
cdNorth ord: 0
|
||||
cdEast ord: 1
|
||||
cdSouth ord: 2
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ title: Objects
|
|||
---
|
||||
# Objects
|
||||
|
||||
In Nimrod, objects are like structs from C family languages and define a grouping of fields. They are by default traced by the garbage collector, so there is no need to explicitly free them when allocated.
|
||||
In Nim, objects are like structs from C family languages and define a grouping of fields. They are by default traced by the garbage collector, so there is no need to explicitly free them when allocated.
|
||||
|
||||
``` nimrod
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue