Rename to Nim

This commit is contained in:
Flaviu Tamas 2014-12-11 17:04:49 -05:00
commit 2bd2af6e1c
25 changed files with 64 additions and 64 deletions

View file

@ -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

View file

@ -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