first steps for cleaner static/const distinction

This commit is contained in:
Araq 2012-03-13 02:01:56 +01:00
commit c25ffbf262
19 changed files with 193 additions and 66 deletions

View file

@ -19,8 +19,6 @@ Library Additions
- Added ``system.shallow`` that can be used to speed up string and sequence
assignments.
- Added ``system.static`` that can force compile-time evaluation of certain
expressions.
- Added ``system.eval`` that can execute an anonymous block of code at
compile time as if was a macro.
- Added ``macros.emit`` that can emit an arbitrary computed string as nimrod
@ -34,11 +32,22 @@ Changes affecting backwards compatibility
The ``system``, ``os``, ``osproc`` and ``memfiles`` modules use the wide
string versions of the WinAPI. Use the ``-d:useWinAnsi`` switch to revert
back to the old behaviour which uses the Ansi string versions.
- ``static`` is now a keyword.
Compiler Additions
------------------
- Win64 is now an officially supported target.
- The compiler can detect and evaluate calls that can be evaluated at compile
time for optimization purposes with the ``--implicitStatic`` command line
option or pragma.
Language Additions
------------------
- Added explicit ``static`` sections for enforced compile time evaluation.
2012-02-09 Version 0.8.14 released