Commit Graph

107 Commits

Author SHA1 Message Date
def
7daf410f46 Improve error message for failed conversion in VM
- Fixes #2045

- Old one:
  Error: conversion from unknown type to unknown type is invalid
- New one:
  Error: conversion from -1 to [0..255] is invalid
2015-03-12 23:49:49 +01:00
Araq
83cab19c62 fixes #2252 2015-03-04 21:19:38 +01:00
Araq
8ade324b8c cleaned up whitespace 2015-03-04 18:17:43 +01:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +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
Araq
540f66cb09 fixes #2167 2015-02-20 20:01:23 +01:00
Araq
736a04c66b better error message 2015-02-08 13:38:04 +01:00
Araq
903ca78289 fixes #1989 2015-02-01 11:58:41 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Audun Wilhelmsen
ca257efc84 Proposed fix for issue #1946 2015-01-16 22:32:00 +01: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
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
bd88e526cf fixes #1744 2014-12-17 23:21:15 +01:00
Araq
b7c8063816 fixes #1689 2014-12-10 21:00:02 +01:00
Araq
d3cf767c3a fixes #1692 2014-12-10 19:59:14 +01:00
Araq
57689037c5 fixes #916 2014-11-20 21:39:08 +01:00
Araq
bc5879b9b7 fixes error propagation for macros.parseExpr 2014-11-13 09:12:27 +01:00
Araq
b2f577df23 fixes #1473 2014-11-12 02:36:59 +01:00
Araq
62ccf13529 'try' works at compile-time 2014-10-02 15:55:48 +02:00
Araq
d330a72a45 fixes documentation generator 2014-09-14 11:34:06 +02:00
Araq
41c7cde61f updated iup.nim; made tests green 2014-08-31 22:55:51 +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
Dominik Picheta
25610a2f70 Fixes incorrect macro stack traces. 2014-08-11 20:47:38 +01:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Araq
a7911addf7 parseBiggestFloat is now builtin 2014-07-16 00:41:03 +02:00
Araq
44353c585f VM: fixes 'raise' 2014-07-10 00:59:00 +02:00
Araq
39ce17a73e fixes #933 2014-07-08 16:37:45 +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
6195dbe491 initial non-compiling version of 'parallel' 2014-05-12 11:12:37 +02:00
Araq
a11ae9248f fixes #1140 2014-05-05 23:29:46 +02:00
Araq
2c97242739 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-04-21 00:07:40 +02:00
Araq
472190bedc fixes #1085 2014-04-21 00:04:36 +02:00
Dominik Picheta
5cf8c05a22 Fixes #1119. 2014-04-20 22:56:30 +01:00
Dominik Picheta
57cc8237f7 Fixes #1093. 2014-04-20 21:55:45 +01:00
Araq
4835199125 new VM: proper shield against endless recursions 2014-04-05 21:05:07 +02:00
Araq
033f2bbbf2 new VM: fixes for exception handling 2014-04-04 09:06:29 +02:00
EXetoC
b919ab790b Implement overflow/underflow checking for the VM. 2014-03-31 14:11:21 +02:00
Araq
3365b42bbe fixes #1009 2014-03-27 19:20:59 +01:00
Araq
d15788d00a added #903 to the test suite 2014-03-26 01:00:34 +01:00
Araq
907e1b80b2 VM: attempt to get integer ops right 2014-03-24 17:29:31 +01:00
Araq
ee1192679e VM: endless loop prevention 2014-03-24 08:43:57 +01:00
Araq
5920edf6e4 fixes #404 2014-03-23 17:48:10 +01:00
Araq
5f478e5aa1 fixes #1010 2014-03-22 11:50:42 +01:00
Araq
e53fc91282 fixed tuples in a static context; preparations for correct compile time evaluation of integral ops 2014-03-22 02:52:06 +01:00
Araq
2fc84325c7 should fix the nkExprColonExpr bug in the vm 2014-03-13 02:52:40 +01:00
Zahary Karadjov
eebe0035b5 teach opcLdObj about nkExprColonExpr 2014-03-09 17:06:29 +02:00