Commit Graph

114 Commits

Author SHA1 Message Date
Araq
d3fc6e1f28 marshalling can be done at compile-time 2015-04-25 23:17:00 +02:00
Araq
4be0d16520 added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler 2015-04-22 12:04:11 +02:00
Araq
aacaa8f171 cleaned up some magics to make room for new magics; added '..<' and '..^' templates 2015-04-22 12:04:09 +02:00
Araq
7be092bba5 VM: minor fixes to make lexim work 2015-04-20 11:36:13 +02:00
Joseph Turner
0fa82763fe Fixes #1986 when calling sameConstant on uint
The problem was saveConstant only checked the range
`nkCharLit..nkInt64Lit`, but not up to UInt. This lead to the sonsLen
method being called, where sons was never declared.

This commit changes it to `nkCharLit..nkUint64Lit`, to match the case
statements in the type definition of TNode, in ast.nim.
2015-04-09 03:59:08 +01:00
Araq
46fb0e0bac fixes another regression 2015-03-27 11:57:03 +01:00
Araq
bf90b9c833 fixes #2346 2015-03-16 23:02:20 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
1e6aef62ba macros.PNimrodNode is now NimNode 2015-02-24 00:13:27 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
ecd0dea091 tables work in 'const' sections; echo supports 'nil' strings; minor cleanups 2015-02-09 00:08:55 +01:00
Simon Hafner
1a8541d908 Fixed high(cstring) in vmgen too 2015-02-01 04:11:46 -06:00
Dustin Lacewell
0619383f46 Revert 5e4ae8d 2015-01-07 14:07:06 -08:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Zahary Karadjov
f3c55704a0 unstaged file 2015-01-05 03:56:05 +02:00
Zahary Karadjov
5e4ae8dbb4 fix #1858; Add support for generic templates and macros
Implementation notes:
Just after overload resolution, the resolved generic params will be added to the
call expression to be later processed in evalTemplate and evalMacroCall. These
procs have been modified to handle the increased number of parameters, but one
remaining issue is that immediate templates and macros don't go through the same
process. The next commit will outlaw the use of generic parameters with such macros.
2015-01-05 03:53:31 +02:00
Araq
41587a5339 fixes #1781 2014-12-28 00:42:24 +01:00
Araq
2be3f501a1 fixes #1742 2014-12-24 13:02:58 +01:00
Araq
bd88e526cf fixes #1744 2014-12-17 23:21:15 +01:00
Araq
c00a3fdc5b fixes #1718 2014-12-10 20:17:36 +01:00
Araq
c5cc20d337 fixes #1548 2014-11-17 08:54:31 +01:00
Araq
b2f577df23 fixes #1473 2014-11-12 02:36:59 +01:00
Billingsly Wetherfordshire
50d9db03c6 fix issue #1581 2014-10-20 19:12:10 -05:00
Araq
7916b1f9aa implemented 'guard' annotation 2014-09-21 18:39:00 +02:00
Araq
9d9c3fe121 merged things from devel 2014-09-12 01:37:48 +02:00
Araq
dafa8ccaf3 fixes #903, fixess #1513 2014-09-11 01:45:14 +02:00
Araq
bf557a7cdb added nimfix tool 2014-09-05 01:16:48 +02:00
Araq
4c870fc293 fixes recently introduced regression 2014-09-03 22:00:23 +02:00
Araq
201a08e9a5 fixes #903, fixes #1513 2014-09-03 19:45:04 +02:00
Araq
1f85b3b5d3 VM supports math and a few os procs 2014-08-30 16:37:27 +02:00
Araq
c95e47216f Nimrod renamed to Nim 2014-08-28 10:01:20 +02:00
Araq
ae681be629 fixes #1343 2014-08-15 09:57:03 +02:00
Araq
65587f726e fixes #1433 2014-08-14 03:02:36 +02:00
Araq
a7911addf7 parseBiggestFloat is now builtin 2014-07-16 00:41:03 +02:00
Araq
d80d8aa74d fixes #1323 2014-07-08 20:12:07 +02:00
Araq
f16449ec22 fixes #1103; fixes #1297 2014-07-08 02:02:58 +02:00
Araq
21be7bf85a fixes #1310 2014-07-02 21:15:29 +02:00
Araq
b89495ef0f corrected backends.txt 2014-06-30 19:39:57 +02:00
Araq
678f3d7f5b fixes constant array indexing bug 2014-06-30 16:45:55 +02:00
Felix Krause
b090b7ea4d Fixed handling swap in vmgen 2014-06-25 17:01:22 +02:00
Araq
b230303fd6 fixes the bug that keeps the template engine package from working 2014-05-25 21:20:11 +02:00
Araq
a11ae9248f fixes #1140 2014-05-05 23:29:46 +02:00
Araq
d0438540d0 implemented builtin noncopying slice 2014-05-02 08:44:03 +02:00
Andreas Rumpf
e34c3e7c3b Merge pull request #1123 from flaviut/bug1110
Document vmgen.nim a bit
2014-04-20 23:35:22 +02:00
flaviut
29261a0eae Document vmgen.nim a bit 2014-04-20 17:10:15 -04:00
Dominik Picheta
57cc8237f7 Fixes #1093. 2014-04-20 21:55:45 +01:00
Araq
abb7010820 fixes #1063 2014-04-07 14:21:33 +02:00
Araq
6a055990f9 minor VM bugfix 2014-04-04 08:19:02 +02:00
Araq
befdce51b4 fixed another vm bug 2014-04-01 16:35:50 +02:00
Araq
3365b42bbe fixes #1009 2014-03-27 19:20:59 +01:00