nversion.nim 675 B

123456789101112131415161718192021
  1. #
  2. #
  3. # The Nim Compiler
  4. # (c) Copyright 2015 Andreas Rumpf
  5. #
  6. # See the file "copying.txt", included in this
  7. # distribution, for details about the copyright.
  8. #
  9. # This module contains Nim's version. It is the only place where it needs
  10. # to be changed.
  11. const
  12. MaxSetElements* = 1 shl 16 # (2^16) to support unicode character sets?
  13. VersionAsString* = system.NimVersion
  14. RodFileVersion* = "1223" # modify this if the rod-format changes!
  15. NimCompilerApiVersion* = 3 ## Check for the existance of this before accessing it
  16. ## as older versions of the compiler API do not
  17. ## declare this.