c2nim tool added
This commit is contained in:
parent
c441cdb64c
commit
d10973adb0
28 changed files with 3498 additions and 66 deletions
|
|
@ -16,6 +16,8 @@ Bugfixes
|
|||
- Bugfix: ``dialogs.ChooseFileToSave`` uses ``STOCK_SAVE`` instead of
|
||||
``STOCK_OPEN`` for the GTK backend.
|
||||
- Bugfix: ``raise`` within an exception handler did not work.
|
||||
- Bugfix: ``low(somestring)`` crashed the compiler.
|
||||
- Bugfix: ``strutils.endsWith`` lacked range checking.
|
||||
|
||||
|
||||
Changes affecting backwards compatibility
|
||||
|
|
@ -37,6 +39,8 @@ Additions
|
|||
- Added ``times.epochTime`` and ``times.cpuTime``.
|
||||
- Implemented explicit type arguments for generics.
|
||||
- Implemented implicit type arguments for generics.
|
||||
- Implemented ``{.size: sizeof(cint).}`` pragma for enum types. This is useful
|
||||
for interfacing with C.
|
||||
|
||||
|
||||
2010-03-14 Version 0.8.8 released
|
||||
|
|
|
|||
|
|
@ -58,9 +58,29 @@ to write as low-level Nimrod code as C requires you to do. That said the only
|
|||
overhead Nimrod has over C is the GC which has been tuned for years.
|
||||
|
||||
|
||||
What about JVM/CLR backends?
|
||||
----------------------------
|
||||
|
||||
A JVM backend is almost impossible. The JVM is not expressive enough. It has
|
||||
never been designed as a general purpose VM anyway. A CLR backend is possible
|
||||
but would require much work.
|
||||
|
||||
|
||||
Compilation
|
||||
===========
|
||||
|
||||
Which option to use for the fastest executable?
|
||||
-----------------------------------------------
|
||||
|
||||
For the standard configuration file, ``-d:release`` does the trick.
|
||||
|
||||
|
||||
Which option to use for the smallest executable?
|
||||
------------------------------------------------
|
||||
|
||||
For the standard configuration file, ``-d:quick --opt:size`` does the trick.
|
||||
|
||||
|
||||
Execution of GCC fails (Windows)
|
||||
--------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue