Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #9348 Merge some small test files (#9561) | Ian | 2018-10-30 | 3 | -27/+30 |
| | | | | * Consolidated types issue tests * Consolidated vm issue tests | ||||
* | Remove install.txt and readme.txt (#9521) | Utwo | 2018-10-28 | 1 | -2/+2 |
| | | | | | | | | * Remove install.txt and readme.txt * Refactor tests that use readme.txt * Tests open own source code | ||||
* | Merge pull request #9496 from cooldome/vm_float_casts | Arne Döring | 2018-10-28 | 1 | -0/+47 |
|\ | | | | | VM: add int <-> float casts of the same size | ||||
| * | Add test | Andrii Riabushenko | 2018-10-24 | 1 | -0/+47 |
| | | |||||
* | | Improve dumpLisp macro (#9515) | Kaushal Modi | 2018-10-27 | 1 | -7/+7 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve dumpLisp macro - Remove commas from the lisp representation of the AST. - Make the dumpLisp output "pretty" and indented. - Improve docs of `dumpTree` and `dumpLisp` macros. With: dumpLisp: echo "Hello, World!" Output before this commit: StmtList(Command(Ident("echo"), StrLit("Hello, World!"))) Output after this commit: (StmtList (Command (Ident "echo") (StrLit "Hello, World!"))) * Re-use the traverse proc inside treeRepr for lispRepr too - Add module-local `treeTraverse` proc. - Also fix treeRepr/dumpTree not printing nnkCommentStmt node contents. * More doc string updates * Allow unindented lispRepr output for tests * Update a test affected by the lispRepr change * Fix dumpTree * Add note about lispRepr and dumpLisp to changelog [ci skip] | ||||
* | Merge tests into a larger file (part 5 of ∞) (#9368) | Miran | 2018-10-16 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix | ||||
* | Field checks for everybody (#8957) | LemonBoy | 2018-10-09 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend | ||||
* | Fix for VM codegen with static[T] types | LemonBoy | 2018-09-23 | 1 | -0/+10 |
| | | | | Fixes #9043 | ||||
* | Merge pull request #8996 from LemonBoy/fix-2574 | Andreas Rumpf | 2018-09-18 | 1 | -0/+14 |
|\ | | | | | The VM cannot call methods | ||||
| * | The VM cannot call methods | LemonBoy | 2018-09-17 | 1 | -0/+14 |
| | | | | | | | | Fixes #2574 | ||||
* | | Fix error during field access in VM | LemonBoy | 2018-09-17 | 1 | -0/+17 |
|/ | | | | | | | Tuple constructors can't have nkExprColonExpr but may contain NimNodes of that kind. Fixes #4952 | ||||
* | fixes #8740 | Araq | 2018-09-03 | 1 | -0/+15 |
| | |||||
* | make tests green again | Araq | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-13 | 3 | -16/+16 |
| | |||||
* | Fix ref bug in vmgen (#8424) | Oscar Nihlgård | 2018-07-30 | 1 | -1/+6 |
| | |||||
* | Fix vm regression (#8163) | Oscar Nihlgård | 2018-06-30 | 1 | -0/+13 |
| | |||||
* | Fixes #6689 (#8135) | Oscar Nihlgård | 2018-06-30 | 1 | -1/+16 |
| | |||||
* | VM regression fixes (#8146) | Oscar Nihlgård | 2018-06-29 | 1 | -1/+31 |
| | |||||
* | Merge pull request #8108 from LemonBoy/fix-5958 | Andreas Rumpf | 2018-06-26 | 2 | -13/+11 |
|\ | | | | | Make `static` blocks introduce their own scope | ||||
| * | Adjust some tests to make them pass | LemonBoy | 2018-06-25 | 2 | -13/+11 |
| | | | | | | | | | | | | The non-scoped behaviour of static blocks was exploited by those tests, replace all the variables declared whithin one with compileTime marked ones. | ||||
* | | Improve vm support for ref types | Oscar Nihlgård | 2018-06-26 | 2 | -1/+53 |
|/ | |||||
* | Fix for newStringOfCap in VM (#7901) | Oscar Nihlgård | 2018-06-04 | 1 | -0/+8 |
| | |||||
* | VM fix for refs | Oscar Nihlgård | 2018-05-08 | 1 | -0/+12 |
| | |||||
* | Added a few useful os calls to VM (#7440) | genotrance | 2018-04-12 | 1 | -3/+21 |
| | |||||
* | Get symbol kind (#7491) | Arne Döring | 2018-04-11 | 1 | -6/+6 |
| | |||||
* | Fixes #7473 (#7475) | Arne Döring | 2018-04-04 | 1 | -6/+6 |
| | | | | | * removed code duplication * changelog entry, adopt tests for changes | ||||
* | add tests for integer casting in VM. | Parashurama | 2017-12-30 | 1 | -0/+120 |
| | |||||
* | Improved collection-to-string behavior (#6825) | Fabian Keller | 2017-12-14 | 2 | -2/+2 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-11-19 | 1 | -6/+6 |
| | |||||
* | make tests green again | Araq | 2017-11-01 | 1 | -5/+5 |
| | |||||
* | the parser finally parses 'echo {1,2}' as it should | Andreas Rumpf | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-09-26 | 1 | -9/+9 |
| | |||||
* | Closes #6083, closes #6086, closes #6379 (#6392) | Daniil Yarancev | 2017-09-16 | 1 | -8/+58 |
| | |||||
* | Fix operations on string as openarray in VM. (#6257) | Parashurama | 2017-09-15 | 1 | -0/+34 |
| | | | | | | | | | | * 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. | ||||
* | Fix seq.setLen initialisation in VM (#6224) | Parashurama | 2017-09-02 | 1 | -0/+58 |
| | |||||
* | add testcase for mitems returning tuple on VM. | Parashurama | 2017-08-19 | 1 | -0/+14 |
| | |||||
* | Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988) | Parashurama | 2017-08-03 | 1 | -0/+44 |
| | | | | | | * fixes ze/ze64 procs in VM. * fixes toU8/toU16/toU32. * add tests for ze/ze64 toU32/toU16/toU8 procs | ||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 10 | -59/+57 |
| | |||||
* | Creating and setting comment nodes in macros (#5850) | Fredrik Høisæther Rasch | 2017-05-31 | 1 | -0/+8 |
| | | | | | | | * 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 | ||||
* | fixes #5269 | Andreas Rumpf | 2017-02-05 | 1 | -0/+30 |
| | |||||
* | fixes #5327 | Andreas Rumpf | 2017-02-03 | 2 | -5/+43 |
| | |||||
* | fix seq add for nim node in VM (#5253) | Arne Döring | 2017-01-19 | 1 | -2/+7 |
| | | | fixes #4821 | ||||
* | make quote ast a ref type (#5246) | Arne Döring | 2017-01-19 | 1 | -0/+69 |
| | | | | * make quote ast a ref type * recursive set flag isRef for quoted ast | ||||
* | fixes #5237 | Andreas Rumpf | 2017-01-19 | 1 | -0/+13 |
| | |||||
* | added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994 | Araq | 2017-01-07 | 3 | -6/+19 |
| | |||||
* | cleanup tgorge test | Araq | 2016-10-24 | 2 | -2/+2 |
| | |||||
* | Fixes #4871 | Felix Krause | 2016-10-09 | 3 | -0/+15 |
| | |||||
* | fixes #4619 | Andreas Rumpf | 2016-08-23 | 1 | -0/+3 |
| | |||||
* | fixes #4462 | Andreas Rumpf | 2016-07-08 | 1 | -1/+11 |
| | |||||
* | Fixed vm codegen for a call with compile-time args. Fixes #4412. | Yuriy Glukhov | 2016-07-06 | 1 | -0/+6 |
| |