nversion.nim 764 B

1234567891011121314151617181920212223
  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. DefaultSetElements* = 1 shl 8
  14. ## assumed set element count when using int literals
  15. VersionAsString* = system.NimVersion
  16. RodFileVersion* = "1223" # modify this if the rod-format changes!
  17. NimCompilerApiVersion* = 3 ## Check for the existence of this before accessing it
  18. ## as older versions of the compiler API do not
  19. ## declare this.