Commit Graph

3743 Commits

Author SHA1 Message Date
Araq
2900ceae35 changed integer promotion rules; added math.fmod 2012-06-28 08:33:25 +02:00
Zahary Karadjov
ec95d54a67 fixes for the Intel C compiler on Windows 2012-06-27 21:22:50 +03:00
Araq
b5d34242ca added proc annotations: macros invoked as pragmas 2012-06-26 01:00:32 +02:00
Araq
5a838d3e06 thread var emulation should work again 2012-06-25 00:23:41 +02:00
Araq
ee98c76d2e bite the bullet and make 'initStackBottom' a compilerproc 2012-06-24 20:00:25 +02:00
Araq
776920dc71 bugfix: cycle analysis needs to take inheritance into account 2012-06-24 17:36:22 +02:00
Araq
869a5aa90d doc2 improvements 2012-06-24 02:34:11 +02:00
Araq
3c98518487 docgen2 improvements 2012-06-23 16:32:14 +02:00
Araq
1acc7a09c5 docgen2 improvements 2012-06-23 09:22:57 +02:00
Araq
01ab5948aa first implementation of docgen2 2012-06-23 08:41:11 +02:00
Araq
48847b5616 documented optional indentation for 'case' statements/'case' objects 2012-06-22 17:47:03 +02:00
Araq
a6e0679aeb closure bugfix 2012-06-22 16:57:44 +02:00
Araq
0b509127d2 documentation improvements; added system.gorge (for Araq's fun) 2012-06-22 08:30:55 +02:00
Araq
05c981ea9b fixes #134 2012-06-21 19:00:09 +02:00
Araq
d1c84328a7 fixes #145 2012-06-21 18:51:19 +02:00
Araq
26b64f9e4f another bugfix 2012-06-21 19:20:45 +02:00
Araq
4d9a5dc8ff fixes #140 2012-06-21 19:08:39 +02:00
Araq
2294c02cc8 and another closure bugfix 2012-06-21 09:03:49 +02:00
Araq
7b4560337b bugfixes for closures 2012-06-21 08:46:56 +02:00
Araq
40339aac62 added another macro regression 2012-06-20 00:45:57 +02:00
Araq
e0092cfae6 Merge branch 'master' of github.com:Araq/Nimrod 2012-06-19 22:38:48 +02:00
Araq
f191059e56 somewhat working closures 2012-06-19 22:37:00 +02:00
Araq
98458a3076 next steps for full closure support (2) 2012-06-18 02:08:49 +02:00
Araq
d5b01dfb7c next steps for full closure support 2012-06-18 02:03:08 +02:00
Araq
7076f07228 tinterf.nim works now 2012-06-17 02:11:13 +02:00
Araq
7b539c9e58 simple example works again 2012-06-16 18:29:22 +02:00
Araq
15dad22a0a first implementation of new lambda lifting 2012-06-15 23:18:52 +02:00
Zahary Karadjov
b11fe5d0b4 more uint related fixes 2012-06-14 17:33:00 +03:00
Zahary Karadjov
df1ec09399 proper indentation in the generated C code 2012-06-12 04:43:58 +03:00
Zahary Karadjov
e2d38a57ec better support for unsigned integers. 2012-06-11 21:38:01 +03:00
Zahary Karadjov
ce933c90a4 destructor pragma 2012-06-07 03:32:40 +03:00
Zahary Karadjov
65970efd97 destructors for case values 2012-06-07 02:14:25 +03:00
Zahary Karadjov
985113ee2a fix AST debug printing when line directives are enabled 2012-06-06 21:12:14 +03:00
Zahary Karadjov
db8dbab766 fix bootstrapping on POSIX platforms 2012-06-06 20:38:57 +03:00
Zahary Karadjov
d10b524c9a generate default destructors 2012-06-06 19:11:52 +03:00
Zahary Karadjov
4105a91c48 fix compilation errors when bootstrapping with C++ 2012-06-04 01:56:42 +03:00
Zahary Karadjov
bb850aafec codegen for C++ exceptions 2012-06-03 20:37:56 +03:00
Zahary Karadjov
3ce400bb00 bugfix: finally blocks were not executed when the except block is exited by raise or return 2012-06-03 18:00:45 +03:00
Araq
70c283ac64 Merge branch 'master' of github.com:Araq/Nimrod 2012-06-03 10:11:01 +02:00
Araq
5f527769ee first steps to working closures 2012-06-03 10:10:38 +02: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
04300542da fixes #127 2012-05-30 22:37:17 +02:00
Araq
b5d8e8bfaa '+=' etc for all floating point types 2012-05-29 00:42:28 +02:00
Araq
bb7a14fec0 bugfix: UFCS for templates (ttempl3.nim enhanced) 2012-05-27 16:22:48 +02:00
Araq
7a249eb8c1 bugfix: field names of tuples are treated consistently in the C backend 2012-05-27 14:57:12 +02:00
Zahary Karadjov
337e1ecc7c codegen for user-defined destructors 2012-05-25 19:02:14 +03:00
Araq
848c1b297f added system.||; lacks runtime support 2012-05-23 02:05:28 +02:00
Zahary Karadjov
4f45097f87 optional indentation for case statements
- preliminary support for try expressions  and case expressions
- allow do forms in assignments and return statements
2012-05-23 02:27:57 +03:00
Zahary Karadjov
b1574bb0e0 stand-alone except and finally blocks
This is equivalent to the on-error and at-scope-exit operators in other languages
2012-05-23 02:25:16 +03:00