Commit Graph

374 Commits

Author SHA1 Message Date
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
Araq
15dd3a2251 fixes #109 2012-05-20 10:56:17 +02:00
Araq
e6019b6f98 fixes #103 2012-05-11 00:22:04 +02:00
Araq
8cf9b48ad4 thoughts about 'continue/break' bug 2012-05-10 23:26:38 +02:00
Araq
63326f19f0 fixes #111; however may introduce other problems 2012-05-10 08:21:06 +02:00
Araq
76235348f8 extracted documentation generator 2012-05-09 01:50:08 +02:00
Araq
c323ec0155 added system.getStackTrace; docgen refactoring (incomplete) 2012-05-06 01:16:36 +02:00
Araq
a41bf611a0 fixes binding of overloaded procs 2012-05-04 01:58:54 +02:00
Araq
28b68d914e rst parser does not support 'raw' directive per default (security risk) 2012-05-01 22:55:06 +02:00
Araq
e95f155af3 small bugfixes; documentation generator supports smilies for the forum 2012-05-01 11:14:29 +02:00
Araq
ce1138dfa7 some code formating 2012-04-26 01:16:50 +02:00
Araq
7511a05b27 resolved conflict for news.txt 2012-04-21 03:22:53 +02:00
Araq
4aba7421f5 GC with realtime support 2012-04-21 03:19:43 +02: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
064f296213 allow the use of built-in type constraints in type sections 2012-04-20 22:28:53 +03:00
Zahary Karadjov
c1d16c5a4d made built-in types primary expressions to allow infix operators to be used with them 2012-04-20 21:35:59 +03:00
Zahary Karadjov
8319e2411d fixed incorrect C++ code generation for sequences. more revealing type names in the generated code 2012-04-18 19:50:32 +03:00
Zahary Karadjov
818787457d grammar: the built-in type classes are now valid expressions 2012-04-18 19:50:32 +03:00
Zahary Karadjov
38710b614f more Objective-C and C keywords are now escaped 2012-04-18 19:50:32 +03:00