diff options
89 files changed, 125 insertions, 125 deletions
diff --git a/compiler/aliases.nim b/compiler/aliases.nim index a26b94303..d68c9360a 100644 --- a/compiler/aliases.nim +++ b/compiler/aliases.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/ast.nim b/compiler/ast.nim index b6878c56e..2ba9cdb2e 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -476,7 +476,7 @@ type # and first phase symbol lookup in generics skConditional, # symbol for the preprocessor (may become obsolete) skDynLib, # symbol represents a dynamic library; this is used - # internally; it does not exist in Nimrod code + # internally; it does not exist in Nim code skParam, # a parameter skGenericParam, # a generic parameter; eq in ``proc x[eq=`==`]()`` skTemp, # a temporary variable (introduced by compiler) diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim index e95dbf7c8..ad5393dbd 100644 --- a/compiler/astalgo.nim +++ b/compiler/astalgo.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/babelcmd.nim b/compiler/babelcmd.nim index 7fa233732..d67b1dab5 100644 --- a/compiler/babelcmd.nim +++ b/compiler/babelcmd.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -## Implements some helper procs for Babel (Nimrod's package manager) support. +## Implements some helper procs for Babel (Nim's package manager) support. import parseutils, strutils, strtabs, os, options, msgs, lists diff --git a/compiler/bitsets.nim b/compiler/bitsets.nim index 740bdd5ef..a2324f4e2 100644 --- a/compiler/bitsets.nim +++ b/compiler/bitsets.nim @@ -1,14 +1,14 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# this unit handles Nimrod sets; it implements bit sets -# the code here should be reused in the Nimrod standard library +# this unit handles Nim sets; it implements bit sets +# the code here should be reused in the Nim standard library type TBitSet* = seq[int8] # we use byte here to avoid issues with diff --git a/compiler/canonicalizer.nim b/compiler/canonicalizer.nim index 3bc4eb029..14448f0e8 100644 --- a/compiler/canonicalizer.nim +++ b/compiler/canonicalizer.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -370,7 +370,7 @@ proc encodeSym(w: PRodWriter, s: PSym, result: var string) = # the last entry of a symbol: if s.ast != nil: # we used to attempt to save space here by only storing a dummy AST if - # it is not necessary, but Nimrod's heavy compile-time evaluation features + # it is not necessary, but Nim's heavy compile-time evaluation features # make that unfeasible nowadays: encodeNode(w, s.info, s.ast, result) diff --git a/compiler/ccgcalls.nim b/compiler/ccgcalls.nim index adcc95e84..753d375af 100644 --- a/compiler/ccgcalls.nim +++ b/compiler/ccgcalls.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index b5817de05..8914ad0de 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this @@ -15,7 +15,7 @@ proc intLiteral(i: BiggestInt): PRope = if (i > low(int32)) and (i <= high(int32)): result = toRope(i) elif i == low(int32): - # Nimrod has the same bug for the same reasons :-) + # Nim has the same bug for the same reasons :-) result = ~"(-2147483647 -1)" elif i > low(int64): result = rfmt(nil, "IL64($1)", toRope(i)) @@ -908,7 +908,7 @@ proc gcUsage(n: PNode) = if gSelectedGC == gcNone: message(n.info, warnGcMem, n.renderTree) proc genStrConcat(p: BProc, e: PNode, d: var TLoc) = - # <Nimrod code> + # <Nim code> # s = 'Hello ' & name & ', how do you feel?' & 'z' # # <generated C code> @@ -951,7 +951,7 @@ proc genStrConcat(p: BProc, e: PNode, d: var TLoc) = gcUsage(e) proc genStrAppend(p: BProc, e: PNode, d: var TLoc) = - # <Nimrod code> + # <Nim code> # s &= 'Hello ' & name & ', how do you feel?' & 'z' # // BUG: what if s is on the left side too? # <generated C code> diff --git a/compiler/ccgmerge.nim b/compiler/ccgmerge.nim index 2d27257ce..69c41ff59 100644 --- a/compiler/ccgmerge.nim +++ b/compiler/ccgmerge.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index 0c3d35f7b..66bfbba8c 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -547,7 +547,7 @@ proc genCaseSecondPass(p: BProc, t: PNode, d: var TLoc, proc genIfForCaseUntil(p: BProc, t: PNode, d: var TLoc, rangeFormat, eqFormat: TFormatStr, until: int, a: TLoc): TLabel = - # generate a C-if statement for a Nimrod case statement + # generate a C-if statement for a Nim case statement var labId = p.labels for i in 1..until: inc(p.labels) diff --git a/compiler/ccgthreadvars.nim b/compiler/ccgthreadvars.nim index c00b931ef..60bc0fc4b 100644 --- a/compiler/ccgthreadvars.nim +++ b/compiler/ccgthreadvars.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/ccgtrav.nim b/compiler/ccgtrav.nim index a5bf9e7a7..16ec564e8 100644 --- a/compiler/ccgtrav.nim +++ b/compiler/ccgtrav.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim index 0bd96e89f..8c2e99339 100644 --- a/compiler/ccgtypes.nim +++ b/compiler/ccgtypes.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim index 48fdacf46..54af3c705 100644 --- a/compiler/ccgutils.nim +++ b/compiler/ccgutils.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/cgen.nim b/compiler/cgen.nim index deccf9ced..7c694f245 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -917,18 +917,18 @@ proc addIntTypes(result: var PRope) {.inline.} = proc getCopyright(cfilenoext: string): PRope = if optCompileOnly in gGlobalOptions: - result = ropeff("/* Generated by Nimrod Compiler v$1 */$N" & + result = ropeff("/* Generated by Nim Compiler v$1 */$N" & "/* (c) 2014 Andreas Rumpf */$N" & "/* The generated code is subject to the original license. */$N", - "; Generated by Nimrod Compiler v$1$N" & + "; Generated by Nim Compiler v$1$N" & "; (c) 2012 Andreas Rumpf$N", [toRope(VersionAsString)]) else: - result = ropeff("/* Generated by Nimrod Compiler v$1 */$N" & + result = ropeff("/* Generated by Nim Compiler v$1 */$N" & "/* (c) 2014 Andreas Rumpf */$N" & "/* The generated code is subject to the original license. */$N" & "/* Compiled for: $2, $3, $4 */$N" & "/* Command for C compiler:$n $5 */$N", - "; Generated by Nimrod Compiler v$1$N" & + "; Generated by Nim Compiler v$1$N" & "; (c) 2014 Andreas Rumpf$N" & "; Compiled for: $2, $3, $4$N" & "; Command for LLVM compiler:$N $5$N", [toRope(VersionAsString), diff --git a/compiler/cgendata.nim b/compiler/cgendata.nim index 12041c55b..ea8f32974 100644 --- a/compiler/cgendata.nim +++ b/compiler/cgendata.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this @@ -62,7 +62,7 @@ type frameLen*: int16 TCProc{.final.} = object # represents C proc that is currently generated - prc*: PSym # the Nimrod proc that this C proc belongs to + prc*: PSym # the Nim proc that this C proc belongs to beforeRetNeeded*: bool # true iff 'BeforeRet' label for proc is needed threadVarAccessed*: bool # true if the proc already accessed some threadvar nestedTryStmts*: seq[PNode] # in how many nested try statements we are diff --git a/compiler/cgmeth.nim b/compiler/cgmeth.nim index 948541302..1d0cb82ad 100644 --- a/compiler/cgmeth.nim +++ b/compiler/cgmeth.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/commands.nim b/compiler/commands.nim index 712e0e1c5..fff860de9 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -51,7 +51,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) # implementation const - HelpMessage = "Nimrod Compiler Version $1 (" & CompileDate & ") [$2: $3]\n" & + HelpMessage = "Nim Compiler Version $1 (" & CompileDate & ") [$2: $3]\n" & "Copyright (c) 2006-2014 by Andreas Rumpf\n" const diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim index 6b93b1c12..28288ed39 100644 --- a/compiler/condsyms.nim +++ b/compiler/condsyms.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/crc.nim b/compiler/crc.nim index 22b1d1b69..a8b61f2a5 100644 --- a/compiler/crc.nim +++ b/compiler/crc.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/depends.nim b/compiler/depends.nim index a43eaf844..115a98f84 100644 --- a/compiler/depends.nim +++ b/compiler/depends.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 7d9a11fbc..5c851118d 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/docgen2.nim b/compiler/docgen2.nim index 1bff89b55..aa832b6df 100644 --- a/compiler/docgen2.nim +++ b/compiler/docgen2.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/evalffi.nim b/compiler/evalffi.nim index f798a43ac..d6b3a1aa5 100644 --- a/compiler/evalffi.nim +++ b/compiler/evalffi.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -## This file implements the FFI part of the evaluator for Nimrod code. +## This file implements the FFI part of the evaluator for Nim code. import ast, astalgo, ropes, types, options, tables, dynlib, libffi, msgs, os diff --git a/compiler/evaltempl.nim b/compiler/evaltempl.nim index 78cdbb45f..78cc691c0 100644 --- a/compiler/evaltempl.nim +++ b/compiler/evaltempl.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 8dc399f43..7a213aea4 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/filter_tmpl.nim b/compiler/filter_tmpl.nim index 0014e9c78..7b975dbaa 100644 --- a/compiler/filter_tmpl.nim +++ b/compiler/filter_tmpl.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# This module implements Nimrod's standard template filter. +# This module implements Nim's standard template filter. import llstream, os, wordrecg, idents, strutils, ast, astalgo, msgs, options, @@ -148,7 +148,7 @@ proc parseLine(p: var TTmplParser) = inc(j) else: if p.x[j] == p.subsChar: - # parse Nimrod expression: + # parse Nim expression: inc(j) case p.x[j] of '{': diff --git a/compiler/filters.nim b/compiler/filters.nim index ce0ffd196..783a320a4 100644 --- a/compiler/filters.nim +++ b/compiler/filters.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# This module implements Nimrod's simple filters and helpers for filters. +# This module implements Nim's simple filters and helpers for filters. import llstream, os, wordrecg, idents, strutils, ast, astalgo, msgs, options, diff --git a/compiler/guards.nim b/compiler/guards.nim index 431de6156..05128f409 100644 --- a/compiler/guards.nim +++ b/compiler/guards.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/hlo.nim b/compiler/hlo.nim index c75d6519f..363d100be 100644 --- a/compiler/hlo.nim +++ b/compiler/hlo.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/idents.nim b/compiler/idents.nim index c37d94362..775bffa00 100644 --- a/compiler/idents.nim +++ b/compiler/idents.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/idgen.nim b/compiler/idgen.nim index 7f137b885..3c5669b54 100644 --- a/compiler/idgen.nim +++ b/compiler/idgen.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/importer.nim b/compiler/importer.nim index b4cae017e..538957887 100644 --- a/compiler/importer.nim +++ b/compiler/importer.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index dfe498e47..c97adffb1 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -1664,7 +1664,7 @@ proc newModule(module: PSym): BModule = if globals == nil: globals = newGlobals() proc genHeader(): PRope = - result = ropef("/* Generated by the Nimrod Compiler v$1 */$n" & + result = ropef("/* Generated by the Nim Compiler v$1 */$n" & "/* (c) 2014 Andreas Rumpf */$n$n" & "$nvar Globals = this;$n" & "var framePtr = null;$n" & diff --git a/compiler/jstypes.nim b/compiler/jstypes.nim index 009fc7935..8b032c3ce 100644 --- a/compiler/jstypes.nim +++ b/compiler/jstypes.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/lambdalifting.nim b/compiler/lambdalifting.nim index c29d20a0a..2a9b1e886 100644 --- a/compiler/lambdalifting.nim +++ b/compiler/lambdalifting.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/lexer.nim b/compiler/lexer.nim index abc491bfe..e0b3b76ce 100644 --- a/compiler/lexer.nim +++ b/compiler/lexer.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -102,7 +102,7 @@ type # so that it is the correct default value base2, base8, base16 - TToken* = object # a Nimrod token + TToken* = object # a Nim token tokType*: TTokType # the type of the token indent*: int # the indentation; != -1 if the token has been # preceeded with indentation @@ -148,7 +148,7 @@ proc lexMessage*(L: TLexer, msg: TMsgKind, arg = "") proc isKeyword(kind: TTokType): bool = result = (kind >= tokKeywordLow) and (kind <= tokKeywordHigh) -proc isNimrodIdentifier*(s: string): bool = +proc isNimIdentifier*(s: string): bool = if s[0] in SymStartChars: var i = 1 while i < s.len: diff --git a/compiler/lists.nim b/compiler/lists.nim index 2b3a9f3fc..1b2b91bff 100644 --- a/compiler/lists.nim +++ b/compiler/lists.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/llstream.nim b/compiler/llstream.nim index 8dc3dcea3..be469548d 100644 --- a/compiler/llstream.nim +++ b/compiler/llstream.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/lowerings.nim b/compiler/lowerings.nim index c4155724f..e90ef9376 100644 --- a/compiler/lowerings.nim +++ b/compiler/lowerings.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/main.nim b/compiler/main.nim index b4af49248..58833f60c 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/modules.nim b/compiler/modules.nim index 65c438cc3..8939afd5a 100644 --- a/compiler/modules.nim +++ b/compiler/modules.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -117,7 +117,7 @@ proc newModule(fileIdx: int32): PSym = result.kind = skModule let filename = fileIdx.toFullPath result.name = getIdent(splitFile(filename).name) - if not isNimrodIdentifier(result.name.s): + if not isNimIdentifier(result.name.s): rawMessage(errInvalidModuleName, result.name.s) result.info = newLineInfo(fileIdx, 1, 1) diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 00f80a438..43b3b6c8e 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim index 136a0d454..d23c7f1be 100644 --- a/compiler/nimconf.nim +++ b/compiler/nimconf.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this @@ -14,7 +14,7 @@ import options, idents, wordrecg # ---------------- configuration file parser ----------------------------- -# we use Nimrod's scanner here to safe space and work +# we use Nim's scanner here to safe space and work proc ppGetTok(L: var TLexer, tok: var TToken) = # simple filter diff --git a/compiler/nimeval.nim b/compiler/nimeval.nim index 0ee108d48..5693cbe91 100644 --- a/compiler/nimeval.nim +++ b/compiler/nimeval.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -## exposes the Nimrod VM to clients. +## exposes the Nim VM to clients. import ast, modules, passes, passaux, condsyms, diff --git a/compiler/nimlexbase.nim b/compiler/nimlexbase.nim index cabcac390..e18e1c22a 100644 --- a/compiler/nimlexbase.nim +++ b/compiler/nimlexbase.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/nimrod.ini b/compiler/nimrod.ini index 44e16cec8..8bd00e891 100644 --- a/compiler/nimrod.ini +++ b/compiler/nimrod.ini @@ -1,5 +1,5 @@ [Project] -Name: "Nimrod" +Name: "Nim" Version: "$version" Platforms: """ windows: i386;amd64 @@ -13,15 +13,15 @@ Platforms: """ """ Authors: "Andreas Rumpf" -Description: """This is the Nimrod Compiler. Nimrod is a new statically typed, +Description: """This is the Nim Compiler. Nim is a new statically typed, imperative programming language, that supports procedural, functional, object oriented and generic programming styles while remaining simple and efficient. -A special feature that Nimrod inherited from Lisp is that Nimrod's abstract +A special feature that Nim inherited from Lisp is that Nim's abstract syntax tree (AST) is part of the specification - this allows a powerful macro system which can be used to create domain specific languages. -Nimrod is a compiled, garbage-collected systems programming language -which has an excellent productivity/performance ratio. Nimrod's design +Nim is a compiled, garbage-collected systems programming language +which has an excellent productivity/performance ratio. Nim's design focuses on the 3E: efficiency, expressiveness, elegance (in the order of priority).""" @@ -149,6 +149,6 @@ flags = "-w" [deb] buildDepends: "gcc (>= 4:4.3.2)" pkgDepends: "gcc (>= 4:4.3.2)" -shortDesc: "The Nimrod Compiler" +shortDesc: "The Nim Compiler" licenses: "bin/nimrod,MIT;lib/*,MIT;" diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 69cb8bb99..27222ca57 100644 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/nimrod.nimrod.cfg b/compiler/nimrod.nimrod.cfg index 2c6e6f249..c9e4b248b 100644 --- a/compiler/nimrod.nimrod.cfg +++ b/compiler/nimrod.nimrod.cfg @@ -1,4 +1,4 @@ -# Special configuration file for the Nimrod project +# Special configuration file for the Nim project mainModule:"nimrod.nim" diff --git a/compiler/nimsets.nim b/compiler/nimsets.nim index d65618e0a..aa7686d30 100644 --- a/compiler/nimsets.nim +++ b/compiler/nimsets.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# this unit handles Nimrod sets; it implements symbolic sets +# this unit handles Nim sets; it implements symbolic sets import ast, astalgo, trees, nversion, msgs, platform, bitsets, types, renderer diff --git a/compiler/nversion.nim b/compiler/nversion.nim index 3c868ed2a..7f0f93782 100644 --- a/compiler/nversion.nim +++ b/compiler/nversion.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# This module contains Nimrod's version. It is the only place where it needs +# This module contains Nim's version. It is the only place where it needs # to be changed. const diff --git a/compiler/options.nim b/compiler/options.nim index 8acf9e830..e30080e8f 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this @@ -68,7 +68,7 @@ type # please make sure we have under 32 options # also: generate header file TGlobalOptions* = set[TGlobalOption] - TCommands* = enum # Nimrod's commands + TCommands* = enum # Nim's commands # **keep binary compatible** cmdNone, cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToJS, cmdCompileToLLVM, cmdInterpret, cmdPretty, cmdDoc, diff --git a/compiler/parampatterns.nim b/compiler/parampatterns.nim index bbdba8c22..300abea1e 100644 --- a/compiler/parampatterns.nim +++ b/compiler/parampatterns.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/parser.nim b/compiler/parser.nim index 548084974..20c037c00 100644 --- a/compiler/parser.nim +++ b/compiler/parser.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# This module implements the parser of the standard Nimrod syntax. +# This module implements the parser of the standard Nim syntax. # The parser strictly reflects the grammar ("doc/grammar.txt"); however # it uses several helper routines to keep the parser small. A special # efficient algorithm is used for the precedence levels. The parser here can diff --git a/compiler/passaux.nim b/compiler/passaux.nim index 0ba9f22d0..f754c80e5 100644 --- a/compiler/passaux.nim +++ b/compiler/passaux.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/passes.nim b/compiler/passes.nim index 1af9739bd..a63e29b35 100644 --- a/compiler/passes.nim +++ b/compiler/passes.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/patterns.nim b/compiler/patterns.nim index 5e21289b5..3d71aa4d1 100644 --- a/compiler/patterns.nim +++ b/compiler/patterns.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/pbraces.nim b/compiler/pbraces.nim index ce6e0d9a9..cf4dbffc5 100644 --- a/compiler/pbraces.nim +++ b/compiler/pbraces.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/procfind.nim b/compiler/procfind.nim index 0354d585d..e88524634 100644 --- a/compiler/procfind.nim +++ b/compiler/procfind.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/readme.txt b/compiler/readme.txt index 3d3cf4b29..c4934e031 100644 --- a/compiler/readme.txt +++ b/compiler/readme.txt @@ -1,4 +1,4 @@ -This directory contains the Nimrod compiler written in Nimrod. Note that this +This directory contains the Nim compiler written in Nim. Note that this code has been translated from a bootstrapping version written in Pascal, so -the code is **not** a poster child of good Nimrod code. +the code is **not** a poster child of good Nim code. diff --git a/compiler/renderer.nim b/compiler/renderer.nim index e01916920..29f581573 100644 --- a/compiler/renderer.nim +++ b/compiler/renderer.nim @@ -1,13 +1,13 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# This module implements the renderer of the standard Nimrod representation. +# This module implements the renderer of the standard Nim representation. import lexer, options, idents, strutils, ast, msgs, lists diff --git a/compiler/rodread.nim b/compiler/rodread.nim index 47020253f..acccc1abb 100644 --- a/compiler/rodread.nim +++ b/compiler/rodread.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/rodutils.nim b/compiler/rodutils.nim index 09b92cd8a..e0ef3c397 100644 --- a/compiler/rodutils.nim +++ b/compiler/rodutils.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/rodwrite.nim b/compiler/rodwrite.nim index 4948c8fc2..7eacb0883 100644 --- a/compiler/rodwrite.nim +++ b/compiler/rodwrite.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this @@ -297,7 +297,7 @@ proc encodeSym(w: PRodWriter, s: PSym, result: var string) = # the last entry of a symbol: if s.ast != nil: # we used to attempt to save space here by only storing a dummy AST if - # it is not necessary, but Nimrod's heavy compile-time evaluation features + # it is not necessary, but Nim's heavy compile-time evaluation features # make that unfeasible nowadays: encodeNode(w, s.info, s.ast, result) when false: diff --git a/compiler/ropes.nim b/compiler/ropes.nim index 6eb3673b4..b14081694 100644 --- a/compiler/ropes.nim +++ b/compiler/ropes.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this @@ -12,7 +12,7 @@ # Ropes are a data structure that represents a very long string # efficiently; especially concatenation is done in O(1) instead of O(N). # Ropes make use a lazy evaluation: They are essentially concatenation -# trees that are only flattened when converting to a native Nimrod +# trees that are only flattened when converting to a native Nim # string or when written to disk. The empty string is represented by a # nil pointer. # A little picture makes everything clear: diff --git a/compiler/saturate.nim b/compiler/saturate.nim index ed197bdd1..f4fe29a20 100644 --- a/compiler/saturate.nim +++ b/compiler/saturate.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/sem.nim b/compiler/sem.nim index 26a59334c..be71ebef8 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semcall.nim b/compiler/semcall.nim index 927b23cf2..3ce88651f 100644 --- a/compiler/semcall.nim +++ b/compiler/semcall.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semdata.nim b/compiler/semdata.nim index abecc1b6d..c57ce2c26 100644 --- a/compiler/semdata.nim +++ b/compiler/semdata.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semdestruct.nim b/compiler/semdestruct.nim index 3c30dc1bd..4ce610bf9 100644 --- a/compiler/semdestruct.nim +++ b/compiler/semdestruct.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semgnrc.nim b/compiler/semgnrc.nim index 224168528..8d8067195 100644 --- a/compiler/semgnrc.nim +++ b/compiler/semgnrc.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/seminst.nim b/compiler/seminst.nim index b205eb09a..8ac3849b4 100644 --- a/compiler/seminst.nim +++ b/compiler/seminst.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semmacrosanity.nim b/compiler/semmacrosanity.nim index 8106aa179..c685d602d 100644 --- a/compiler/semmacrosanity.nim +++ b/compiler/semmacrosanity.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semmagic.nim b/compiler/semmagic.nim index f943e7006..7b612c806 100644 --- a/compiler/semmagic.nim +++ b/compiler/semmagic.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semparallel.nim b/compiler/semparallel.nim index 5571d1bed..fe735c9f2 100644 --- a/compiler/semparallel.nim +++ b/compiler/semparallel.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index 332b74155..fee70af15 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 583185048..89acb2e98 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/semtempl.nim b/compiler/semtempl.nim index ee8b1ccb8..880e37fef 100644 --- a/compiler/semtempl.nim +++ b/compiler/semtempl.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/service.nim b/compiler/service.nim index 22f5c6e33..8e1c9cf1b 100644 --- a/compiler/service.nim +++ b/compiler/service.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index e5bf08097..588628c9a 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/suggest.nim b/compiler/suggest.nim index c2bdfc5c3..650e5b3fb 100644 --- a/compiler/suggest.nim +++ b/compiler/suggest.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/syntaxes.nim b/compiler/syntaxes.nim index 8de6dcd91..61677a641 100644 --- a/compiler/syntaxes.nim +++ b/compiler/syntaxes.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/tccgen.nim b/compiler/tccgen.nim index a571d416e..0082dfcbb 100644 --- a/compiler/tccgen.nim +++ b/compiler/tccgen.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/transf.nim b/compiler/transf.nim index 00fe03ab6..bab719ba1 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/trees.nim b/compiler/trees.nim index 35e9334cc..b1edd21f3 100644 --- a/compiler/trees.nim +++ b/compiler/trees.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/treetab.nim b/compiler/treetab.nim index ecb8fb083..63f3fc6e2 100644 --- a/compiler/treetab.nim +++ b/compiler/treetab.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2012 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/types.nim b/compiler/types.nim index ba796b6c3..c810dc025 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim index c0916fbd8..831e2ddce 100644 --- a/compiler/vmdeps.nim +++ b/compiler/vmdeps.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this diff --git a/compiler/wordrecg.nim b/compiler/wordrecg.nim index 96056eb6f..e3b4b3062 100644 --- a/compiler/wordrecg.nim +++ b/compiler/wordrecg.nim @@ -1,6 +1,6 @@ # # -# The Nimrod Compiler +# The Nim Compiler # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this |