compiler/utils/nversion

  Source   Edit

Types

Version = object
  suffix*: string            ## Optional suffix
  major*, minor*, patch*: int
An object describing the compiler version   Source   Edit

Consts

CompilerVersion = (suffix: "", major: 0, minor: 1, patch: 0)
The compiler version.   Source   Edit
CompilerVersionSuffix = ""
The suffix to attach to the compiler version. This is meant to be declared by build tools to signify development version for example.   Source   Edit
MaxSetElements = 65536
  Source   Edit
NimCompilerApiVersion = 3
Check for the existence of this before accessing it as older versions of the compiler API do not declare this.   Source   Edit
RodFileVersion = "1223"
  Source   Edit
VersionAsString = "0.1.0"
  Source   Edit

Procs

func `$`(v: Version): string {....raises: [], tags: [].}
Return a string describing v.   Source   Edit
func parse(s: string): Version {....raises: [ValueError], tags: [].}
Parse the string s to create Version.   Source   Edit