Commit Graph

1320 Commits

Author SHA1 Message Date
Araq
3e056afb1c fixes #993 2014-03-13 22:29:48 +01:00
Araq
1c35fb3c89 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-03-13 02:52:51 +01:00
Araq
2fc84325c7 should fix the nkExprColonExpr bug in the vm 2014-03-13 02:52:40 +01:00
Zahary Karadjov
71695ab791 fix tsemistatic 2014-03-11 00:58:27 +02:00
Zahary Karadjov
85fe5e1940 fix #988
trivial crash caused due to unchecked iteration over an empty reclist
2014-03-10 13:04:22 +02:00
Zahary Karadjov
d5798b43de fix #986 2014-03-10 01:57:08 +02:00
Zahary Karadjov
9fb0755572 further improvements for static generic params; activate the hardest test cases 2014-03-10 00:36:19 +02:00
Zahary Karadjov
45a345e93d fix #866; generic static params 2014-03-09 23:38:17 +02:00
Zahary Karadjov
3dcf735482 fix #909 2014-03-09 22:15:11 +02:00
Zahary Karadjov
29b7104a53 fix #829; (macros.quote)
the fix is a little bit peculiar:

the inserted call to getAst was getting a false-positive for being a lambda proc,
because lambdalifting.isInnerProc takes into account who is the owner of a given
symbol: (a nested proc is a callable symbol owned by the enclosing proc)
2014-03-09 21:04:12 +02:00
Zahary Karadjov
752352a683 fix #949 2014-03-09 20:47:05 +02:00
Zahary Karadjov
eebe0035b5 teach opcLdObj about nkExprColonExpr 2014-03-09 17:06:29 +02:00
Zahary Karadjov
5aa486cf11 few more fixes for static params in macros; new failing test cases for static evaluation 2014-03-09 16:04:58 +02:00
Zahary Karadjov
5820093e58 Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-03-09 14:02:16 +02:00
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