Commit Graph

2608 Commits

Author SHA1 Message Date
Zahary Karadjov
4b09a89758 fix #966
test for ``map`` defined as inline iterator
2014-03-09 14:02:01 +02:00
Zahary Karadjov
518b794491 implicit auto return type for inline iterators 2014-03-08 23:27:33 +02:00
Zahary Karadjov
085b339b8b implements higher-order inline iterators and return type inference for iterators 2014-03-08 22:57:06 +02:00
Araq
dd216755ff Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-03-07 22:28:48 +01:00
Araq
91d842e1ec implements strongSpaces parsing mode 2014-03-07 22:25:05 +01:00
Zahary Karadjov
2cbe46daff Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-03-06 23:25:45 +02:00
Zahary Karadjov
ee1b0d8c67 fix #587 2014-03-06 23:25:04 +02:00
Zahary Karadjov
249dd70273 test cases for the new handling of iterators by the is operator 2014-03-06 23:03:02 +02:00
Zahary Karadjov
862c0ef83d split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02:00
Araq
5506e8491d implemented 'union' and 'unchecked' pragmas 2014-03-05 20:19:04 +01:00
Araq
a066e4e5c5 c2nim knows about the 'union' pragma 2014-03-05 20:05:05 +01:00
Araq
3dfb4891c7 bugfix: unreported 'compiles' bug 2014-03-05 08:47:27 +01:00
Araq
4f946cb44e fixes #942 2014-03-05 08:30:05 +01:00
Araq
aa92669d92 fixes #937 2014-03-05 02:14:53 +01:00
Zahary Karadjov
5324c9ebba iterators now return tyIter(T);
tyIter(T) represents an "iteration yielding values of type T"

I'm planning to use that in the context of the `is` operator
supporting predicates such as `C.items is iterator` and also
in the upcoming support for higher-order inline iterators.
2014-03-05 02:23:53 +02:00
Araq
ed5bbfe36d fixes #968 2014-03-04 08:31:11 +01:00
Araq
7918c30b90 removed dead code 2014-03-04 08:30:11 +01:00
Araq
f54556518e don't produce nested indents for nested stmt lists 2014-03-04 08:29:41 +01:00
Araq
614557994e the compiler is now aware of packages 2014-03-02 23:46:20 +01:00
Araq
c55f5b34ee better handling of packages, still incomplete 2014-03-02 15:41:53 +01:00
Araq
c4f9c3b53e tstmtexprs.nim works again 2014-02-27 23:28:15 +01:00
Araq
f0a70c7aae xmltree.<> macro works again 2014-02-27 20:47:44 +01:00
Araq
d828b0b96e some progress on the new name mangler 2014-02-27 20:43:10 +01:00
Araq
2f692dcc3a make C backend more robust against compiler bugs 2014-02-27 20:39:34 +01:00
Araq
2b271e7b17 renamed TRegister to TFullReg so that older versions can compile it 2014-02-26 06:29:22 +01:00
Araq
384a018906 htmlgen works again 2014-02-25 21:30:18 +01:00
Araq
ad79b125e7 bootstrapping should work again 2014-02-25 18:08:40 +01:00
Araq
b7bb56bdca made some tests green; htmlgen still broken 2014-02-25 08:41:29 +01:00
Araq
3a2e1ce538 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-02-25 01:29:12 +01:00
Araq
20131c32af Merge branch 'vm2_2' into devel 2014-02-25 01:21:00 +01:00
Zahary Karadjov
b677110bd6 rename compilerProcs to match the recently changed jssys.nim 2014-02-25 02:16:57 +02:00
Araq
10768904eb Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Conflicts:
	lib/system/jssys.nim
2014-02-25 01:06:35 +01:00
Araq
263cabd1c2 added canonizer 2014-02-25 01:02:10 +01:00
Araq
4c26c3a428 bugfix: typo 2014-02-25 00:40:21 +01:00
Zahary Karadjov
e6b0b7ecc9 some fixes for static params usage in macros 2014-02-25 01:36:08 +02:00
Araq
0c31686fec new VM is getting stable 2014-02-24 01:30:40 +01:00
Audun Wilhelmsen
1250db5075 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-02-23 00:26:46 +01:00
Audun Wilhelmsen
739b4f214b Fixed #688 : return in except statments. Also fixed return in finally statements. 2014-02-23 00:23:06 +01:00
Grzegorz Adam Hankiewicz
3aa7f65240 Addresses issues raised on #947. Refs #800.
* Uses errGenerated instead of deprecated extending of enums.
* Reduces bloat and usefulness of end user error messages.
* Limits checks to C, Cpp and Objc targets.
2014-02-22 10:21:24 +01:00
Araq
efc21baeb9 simple macros work again 2014-02-22 01:37:34 +01:00
Araq
ee74706c3b fixed opcConv 2014-02-22 01:09:43 +01:00
Araq
6e584c42c2 vm2: new representation of registers 2014-02-21 17:23:37 +01:00
Grzegorz Adam Hankiewicz
adb390af4b Checks that exported symbols are valid C identifiers. Refs #800. 2014-02-21 00:32:28 +01:00
Zahary Karadjov
1a6d05515f fix #945 2014-02-20 23:33:58 +02:00
Zahary Karadjov
0bbf6081d0 fix #931 and few more tests 2014-02-18 20:04:58 +02:00
Araq
ab72377ce6 renamed noStackFrame to asmNoStackFrame 2014-02-18 09:57:59 +01:00
Zahary Karadjov
f13a836972 Merge branch 'devel' of gh:/Araq/Nimrod into devel 2014-02-18 02:46:49 +02:00
Zahary Karadjov
cda92048ba fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone] 2014-02-18 02:46:14 +02:00
Zahary Karadjov
4d3846e26b fix tbindtypedesc and tactiontable2 2014-02-18 01:37:00 +02:00
Zahary Karadjov
765c682c92 fix #204; 2014-02-18 01:19:31 +02:00