Commit Graph

74 Commits

Author SHA1 Message Date
Araq
3174cfe55c make tests green again 2017-11-01 00:20:40 +01:00
Andreas Rumpf
ddc131cf07 the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
Andreas Rumpf
414e7eff04 make tests green again 2017-09-26 23:07:37 +02:00
Daniil Yarancev
ae7fe5087f Closes #6083, closes #6086, closes #6379 (#6392) 2017-09-16 22:54:32 +02:00
Parashurama
88a5e9d88c Fix operations on string as openarray in VM. (#6257)
* fix openarray.len for string as openArray in VM.
* fix openarray[idx] for string as openArray in VM.
* fix openarray[idx]=val for string as openArray in VM.
* add tests for passing string as openArray in VM.
* fix issue with NimNode.len
NimNode.len was also returning len for string literals.
also fix logic bug in if/elif chain.
2017-09-15 13:35:57 +02:00
Parashurama
0861249de7 Fix seq.setLen initialisation in VM (#6224) 2017-09-02 22:53:22 +02:00
Parashurama
f64eee3a1e add testcase for mitems returning tuple on VM. 2017-08-19 08:58:57 +02:00
Parashurama
f063943d5f Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988)
* fixes ze/ze64 procs in VM.
* fixes toU8/toU16/toU32.
* add tests for ze/ze64 toU32/toU16/toU8 procs
2017-08-03 10:58:45 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Fredrik Høisæther Rasch
6652ae9741 Creating and setting comment nodes in macros (#5850)
* strVal assingnable comment statement ast nodes
* Set comment instead of strVal for comment nodes
* Added test code for creating and setting comment nodes
* Modified the AST spec documentation for documentation comments
2017-05-31 13:08:08 +02:00
Andreas Rumpf
c4dd9dc77e fixes #5269 2017-02-05 08:51:43 +01:00
Andreas Rumpf
26fb6cb073 fixes #5327 2017-02-03 17:35:58 +01:00
Arne Döring
e8a00b805f fix seq add for nim node in VM (#5253)
fixes #4821
2017-01-19 20:10:01 +01:00
Arne Döring
130f30ddb2 make quote ast a ref type (#5246)
* make quote ast a ref type
* recursive set flag isRef for quoted ast
2017-01-19 16:39:18 +01:00
Andreas Rumpf
b85898cd41 fixes #5237 2017-01-19 13:26:22 +01:00
Araq
9d488261df added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994 2017-01-07 02:38:26 +01:00
Araq
bad35a2709 cleanup tgorge test 2016-10-24 20:10:10 +02:00
Felix Krause
39f03d816c Fixes #4871 2016-10-09 18:02:48 +02:00
Andreas Rumpf
e9e413552a fixes #4619 2016-08-23 01:10:34 +02:00
Andreas Rumpf
857b0c8d4c fixes #4462 2016-07-08 10:52:04 +02:00
Yuriy Glukhov
09783c3fd0 Fixed vm codegen for a call with compile-time args. Fixes #4412. 2016-07-06 14:39:57 +03:00
Andreas Rumpf
552b13efe4 fixes #3729 2016-05-29 21:01:15 +02:00
Andreas Rumpf
6d67581409 fixes #3859 2016-04-04 10:19:20 +02:00
Andreas Rumpf
cbcdf12d2c fixes #3731 2016-04-04 10:16:15 +02:00
Andreas Rumpf
0acdaea334 fixes #3561, fixes #2409 2016-04-04 02:45:43 +02:00
Andreas Rumpf
86e79f5cec fixes #3804 2016-04-04 01:41:14 +02:00
Andreas Rumpf
6e53300f83 fixes #3973 2016-04-03 22:51:22 +02:00
Andreas Rumpf
86bb9d8b47 Merge pull request #3651 from jangko/vm_'excl'
fixed compile time `excl ` cause SIGSEGV #3639
2015-12-21 00:40:24 +01:00
jangko
26d02c9120 fixed VM touint conversion #2514 2015-12-19 12:53:51 +07:00
jangko
60a400eeb0 fixed compile time excl cause SIGSEGV #3639 2015-12-17 10:14:48 +07:00
Araq
5a003532d0 fixes #2473; cleanup of some tests 2015-09-30 21:13:13 +02:00
Araq
f937637a92 fixes #3357 2015-09-23 21:46:33 +02:00
Araq
a92f3bead3 fixes #3195 2015-09-10 11:08:48 +02:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
799e0f3274 fixes #3066 2015-08-09 23:53:22 +02:00
Araq
50861792f4 fixes #1329 2015-08-09 23:07:53 +02:00
Anatoly Galiulin
506b90cea8 Added absolute path support to options.findFile 2015-07-21 09:58:26 +06:00
Araq
17cace280c fixes #2297, fixes #2946 2015-06-18 15:06:00 +02:00
Araq
54750f608d fixes #2774 2015-06-06 13:25:20 +02:00
def
fd4e629905 Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
Hans Raaf
58186f6c1d Replaced deprecated repeatChar() with repeat() or spaces(). 2015-03-04 03:30:43 +01:00
Araq
ecd0dea091 tables work in 'const' sections; echo supports 'nil' strings; minor cleanups 2015-02-09 00:08:55 +01:00
Audun Wilhelmsen
f25c47db1a Add test for issue #1946 2015-01-16 22:31:43 +01:00
Araq
f73938218e fixes #1708, fixes #871 2014-12-28 01:59:30 +01:00
Araq
41587a5339 fixes #1781 2014-12-28 00:42:24 +01:00
Araq
bd88e526cf fixes #1744 2014-12-17 23:21:15 +01:00
Dominik Picheta
4db6535025 Fixes for new comment handling. 2014-09-09 11:43:54 +01:00
Araq
201a08e9a5 fixes #903, fixes #1513 2014-09-03 19:45:04 +02:00
Araq
93eb9c456d more stdlib modules work 2014-08-31 15:25:54 +02:00
Araq
30823c1ce3 make tests green 2014-08-31 15:15:26 +02:00