Dominik Picheta
b0a16fb619
Fixes problems with JS code gen.
...
--out for JS backend now works. setLen now works, this also fixes the base64
module. getCurrentExceptionMsg now also works with exceptions thrown by
JS. log() supports a variable number of args now. Fixed some case
sensitivity issues with arrayConstr and other functions.
2014-04-11 21:36:02 +01:00
Araq
b731e6ef1c
case consistency: cs:partial bootstraps on windows
2013-12-29 03:19:10 +01:00
Araq
438703f59e
case consistency: next steps
2013-12-29 01:13:51 +01:00
Araq
92b8fac94a
case consistency part 4
2013-12-27 23:10:36 +01:00
Araq
2df9b442c6
case consistency part 1
2013-12-27 15:48:53 +01:00
Grzegorz Adam Hankiewicz
3b38ceac2e
Runs user specified outFile if available. Refs #738 .
2013-12-20 13:13:09 +01:00
Michał Zieliński
39cabcdd27
Use quoteShell in stdlib, where appropriate.
2013-12-11 22:27:39 +01:00
Zahary Karadjov
1e26047c3b
adding some provisions for writing lower-level unit tests targeting specific sub-systems of the compiler
...
see sigmatch as an example.
tests are compiled only when the compiler is compiled with -d:selftest
to execute them, just run the resulting binary without arguments
2013-12-07 20:30:44 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Simon Hafner
1785c6877b
EcmaScript => JS. Fixes #330
...
No one calls it EcmaScript anymore.
2013-02-15 11:08:30 -06:00
Araq
fa14466b5b
Merge branch 'master' of github.com:Araq/Nimrod
2013-02-10 15:06:39 +01:00
Araq
3d7abb958d
open arrays documented in the manual
2013-02-10 15:06:25 +01:00
Simon Hafner
04bd0c3681
fix for exit code of compiler (JS bug?)
2013-02-09 15:21:40 -06:00
Araq
65fdd641a9
revert to old GC; use --gc:v2 to activate the new GC
2013-01-31 17:24:55 +01:00
Zahary Karadjov
81a3585872
merged upstream master
2013-01-27 23:41:45 +02:00
Zahary Karadjov
31134a6bae
Disabled mark-and-sweep in the compiler itself
...
This also adds "cycle roots trimming": a light-weight collection of the cycle
roots performed in CollectZCT for candidates that are recently allocated
and provably dead.
2013-01-22 12:16:08 +02:00
Araq
3c73654aca
Copyright 2012 -> 2013
2013-01-08 07:54:23 +01:00
Zahary Karadjov
36e25a6849
CaaS in-memory caching
...
removed some redundant filepath params and variables and
switched to canonical paths in most places
2012-11-28 01:15:13 +02:00
Araq
d43febf81e
first version of a memory profiler
2012-10-10 00:41:34 +02:00
Araq
01dfcf6310
code cleanup of caas
2012-10-05 09:52:40 +02:00
Araq
214c7a2ebd
implemented a stack trace profiler
2012-09-15 00:21:10 +02:00
Araq
fe285b354d
JS codegen enhancements; still unusable
2012-07-01 19:35:19 +02:00
Araq
4aba7421f5
GC with realtime support
2012-04-21 03:19:43 +02:00
Araq
ff4a69b624
win64 is a supported target; bugfix: nimrod c -r on windows; stdlib uses wide char versions of the WinAPI
2012-03-04 21:44:56 +01:00
Araq
f7c1bef7bb
bugfix: command line args are processed again after config files, so that --verbosity:3 works again
2012-01-08 10:50:10 +01:00
Araq
4f1b89c30c
year 2012 for most copyright headers
2012-01-02 23:07:35 +01:00
Araq
73919e3082
GC stack scanning cares about interior pointers
2011-12-30 11:03:01 +01:00
Zahary Karadjov
e4e74034c2
path canonicalization and proper project relative paths
2011-12-09 04:40:59 +02:00
Araq
ab5621a62b
bugfix: don't process arguments that are to be passed to the produced exe
2011-11-30 19:51:51 +01:00
Araq
fc9fdc2b9d
cleaned up configuration file handling and documented the new behaviour
2011-11-30 00:53:41 +01:00
Araq
7832af187a
argument passing with --run option works again
2011-11-27 17:34:45 +01:00
Araq
020a10927a
fixes #31
2011-11-27 16:32:05 +01:00
Zahary Karadjov
c617479c68
New algorithm for locating and loading nimrod config files.
...
Some new options added to the compiler (see news.txt for details)
2011-11-25 17:29:55 +02:00
Araq
ae0ab9a101
got rid of tyPureObject; broke bootstrapping; use generated C code
2011-09-24 09:46:58 +02:00
Zahary Karadjov
0f0dfd6379
Nimrod can now compile itself with --lineDir enabled
2011-09-20 14:11:06 +03:00
Araq
fd62116f6e
bugfixes for generics; new threads implementation still broken
2011-09-20 00:56:48 +02:00
Araq
c7b130b4e2
implemented --nimcache config option; big clean up of magic words
2011-08-19 01:46:24 +02:00
Araq
3e9dcc8be5
deprecated system.copy: use system.substr instead
2011-05-14 01:13:44 +02:00
Araq
73c3551766
gc tweaking to gain a few percent of performance
2011-05-07 22:13:24 +02:00
Araq
36c67455d4
got rid of some arcane module names
2011-04-21 00:54:44 +02:00
Araq
cd292568d7
big repo cleanup
2011-04-12 01:13:42 +02:00