mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
43 lines
897 B
ObjectPascal
Executable File
43 lines
897 B
ObjectPascal
Executable File
//
|
|
//
|
|
// The Nimrod Compiler
|
|
// (c) Copyright 2008 Andreas Rumpf
|
|
//
|
|
// See the file "copying.txt", included in this
|
|
// distribution, for details about the copyright.
|
|
//
|
|
|
|
unit nversion;
|
|
|
|
// this unit implements the version handling
|
|
|
|
interface
|
|
|
|
{$include 'config.inc'}
|
|
|
|
uses
|
|
strutils;
|
|
|
|
const
|
|
MaxSetElements = 1 shl 16; // (2^16) to support unicode character sets?
|
|
defaultAsmMarkerSymbol = '!';
|
|
|
|
//[[[cog
|
|
//from koch import NIMROD_VERSION
|
|
//from string import split
|
|
//cog.outl("VersionAsString = '%s';" % NIMROD_VERSION)
|
|
//ver = split(NIMROD_VERSION, '.')
|
|
//cog.outl('VersionMajor = %s;' % ver[0])
|
|
//cog.outl('VersionMinor = %s;' % ver[1])
|
|
//cog.outl('VersionPatch = %s;' % ver[2])
|
|
//]]]
|
|
VersionAsString = '0.8.3';
|
|
VersionMajor = 0;
|
|
VersionMinor = 8;
|
|
VersionPatch = 3;
|
|
//[[[[end]]]]
|
|
|
|
implementation
|
|
|
|
end.
|