Commit Graph

196 Commits

Author SHA1 Message Date
Araq
da190876de next steps to hygienic templates 2012-08-20 08:44:17 +02:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
3c50794a08 keep initStackBottom calls please 2012-08-02 23:21:58 +02:00
Zahary Karadjov
1d065b601c DLL fixes for windows; fixes #175 2012-07-31 18:59:44 +03:00
Araq
ed915a309e DLLs should work again; fixes #169 2012-07-24 01:14:21 +02:00
Araq
1c6f14deee added system.compiles 2012-07-20 08:49:42 +02:00
Araq
43f057c5aa got rid of some mAddU64 etc. magics 2012-07-20 07:52:04 +02:00
Araq
832da8a303 equality and hashing for closures 2012-07-17 17:26:02 +02:00
Araq
4f582da27f make tests green again 2012-07-17 01:27:25 +02:00
Araq
8d99753d63 preparations for making 'closure' the default calling convention for proc types 2012-07-16 23:00:57 +02:00
Araq
1279bd2855 c2nim and system.nim now agree on a C type mapping 2012-07-15 10:00:34 +02:00
Araq
d2872748c2 added system.@ for openarrays 2012-07-14 14:44:54 +02:00
Araq
b4084df434 improved unsigned support 2012-07-14 14:03:13 +02:00
Araq
1005961192 proper enum constraints for system.nim 2012-07-13 07:57:35 +02:00
Araq
049de0ef66 'addSon' for types deprecated for 'int literal type' analysis (3) 2012-07-09 20:04:19 +02:00
Araq
795afb0021 made tests green again 2012-07-09 00:54:46 +02:00
Araq
4fbba0a65a changed integer promotion rules; breaks bootstrapping and lots of code 2012-07-08 21:03:47 +02:00
Araq
2e2650c708 ' is optional in type suffixes for numerical literals 2012-07-02 08:49:38 +02:00
Araq
ee98c76d2e bite the bullet and make 'initStackBottom' a compilerproc 2012-06-24 20:00:25 +02:00
Araq
2d8138768a system.nim: documentation fixes 2012-06-23 20:50:35 +02:00
Araq
0b509127d2 documentation improvements; added system.gorge (for Araq's fun) 2012-06-22 08:30:55 +02:00
Zahary Karadjov
e2d38a57ec better support for unsigned integers. 2012-06-11 21:38:01 +03:00
Zahary Karadjov
4105a91c48 fix compilation errors when bootstrapping with C++ 2012-06-04 01:56:42 +03:00
Zahary Karadjov
ab18654e59 attempt to fix nimbuild 2012-06-02 22:43:09 +03:00
Zahary Karadjov
88f7b7bc50 Merge branch 'master' of github.com:Araq/Nimrod into upstream 2012-06-02 19:52:06 +03:00
Zahary Karadjov
a1da1f987b Added system.staticExec proc for executing external command at compile-time 2012-06-02 19:51:49 +03:00
Araq
b5d8e8bfaa '+=' etc for all floating point types 2012-05-29 00:42:28 +02:00
Dominik Picheta
25ea5c35b8 Added timezone handling and functions for adding and subtracting time to the times module. Added insert for strings to the system
module.
2012-05-26 01:52:43 +01:00
Araq
848c1b297f added system.||; lacks runtime support 2012-05-23 02:05:28 +02:00
Araq
1c01c78be5 TInteger vs TOrdinal 2012-05-22 19:37:26 +02:00
Araq
29b63be980 added another system.getStackTrace 2012-05-20 18:42:50 +02:00
dom96
e2221ab310 Fixes for embeddable devices (--os:standalone) 2012-05-20 11:23:16 +01:00
Araq
c323ec0155 added system.getStackTrace; docgen refactoring (incomplete) 2012-05-06 01:16:36 +02:00
Araq
7e7c514dfc documentation improvements; GC_step improved 2012-04-21 16:38:25 +02:00
Zahary Karadjov
2400704c22 Finally rebuilt the sources to take advantage of the new type system capabilities 2012-04-21 04:07:03 +03:00
Zahary Karadjov
251c44ff04 implicit generics types as return types. removed the error message for capturing incorrect uses of `proc` 2012-04-21 03:24:32 +03:00
Zahary Karadjov
2f4ae65917 produce errors on proc types with implicit empty param lists. 2012-04-20 22:32:36 +03:00
Zahary Karadjov
caf7878009 Proper C scopes for if, try and case statements
even thought the setjmp implementation for try statement won't be used in C++,
using properly scoped variables for them is beneficial, because we'll be able to
establish a 1:1 relation between nimrod scopes and C scopes.
Once we have that, we'll be able to keep the original names of local variables
to greatly improve the debugging experience (i.e. watch expressions and
hover tooltips will work).
2012-04-12 17:52:55 +03:00
Araq
f788f603fe Merge branch 'master' of github.com:Araq/Nimrod 2012-04-01 01:01:25 +02:00
Araq
3ef9f54cc1 added strutils.parseEnum; fixes #95 2012-04-01 00:31:22 +02:00
Zahary Karadjov
8d698b2bdd Merge branch 'master' of github.com:Araq/Nimrod into upstream 2012-03-31 18:51:11 +03:00
Araq
142e849b91 implemented support for the AVR CPU and standalone OS 2012-03-31 01:03:14 +02:00
Zahary Karadjov
bc2eb0ea9b generic types can be used like type classes. distinct can be applied to type classes. 2012-03-25 20:55:21 +03:00
Zahary Karadjov
e43f8d842b merged branch overloading-for-macros 2012-03-19 12:06:38 +02:00
Araq
e3b25e93ac unittest module compiles again 2012-03-17 18:58:59 +01:00
Araq
7fd8f285d0 rebuilt C sources 2012-03-17 17:31:33 +01:00
Araq
be1154106a clean separation of PNimrodNode and tyExpr 2012-03-16 19:33:24 +01:00
Zahary Karadjov
84806e6a61 updated system.nim to take advantage of the new template capabilities 2012-03-15 14:32:47 +02:00
Araq
c25ffbf262 first steps for cleaner static/const distinction 2012-03-13 02:01:56 +01:00
Zahary Karadjov
a3f16968a7 helper templates static, eval and emit for easier compile-time code evaluation 2012-02-24 16:25:50 +02:00