summary refs log tree commit diff stats
path: root/compiler/vm.nim
Commit message (Collapse)AuthorAgeFilesLines
* implemented new experimental scriptable import mechanismAndreas Rumpf2017-10-011-1/+1
|
* workaround a GC/codegen issue that proves nasty to fixAndreas Rumpf2017-09-261-1/+4
|
* breaking change: getAst strips away pointless nnkStmtList nodes; node ↵Andreas Rumpf2017-09-261-1/+2
| | | | rendering of nnkStmtList without wrong indentation
* Fix operations on string as openarray in VM. (#6257)Parashurama2017-09-151-5/+23
| | | | | | | | | | * 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)Parashurama2017-09-021-8/+23
|
* Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988)Parashurama2017-08-031-0/+11
| | | | | | * fixes ze/ze64 procs in VM. * fixes toU8/toU16/toU32. * add tests for ze/ze64 toU32/toU16/toU8 procs
* Lineinfo change (#6084)Arne Döring2017-07-171-4/+16
|
* improved comment satement support in macros (#5904)Arne Döring2017-06-021-1/+1
|
* Creating and setting comment nodes in macros (#5850)Fredrik Høisæther Rasch2017-05-311-0/+2
| | | | | | | * 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
* Merge branch 'zahary' into araq2Andreas Rumpf2017-05-171-2/+3
|\
| * fix affecting templates with explicit generic paramsZahary Karadjov2017-05-131-2/+3
| |
* | Merge branch 'zahary' into araq2Andreas Rumpf2017-05-161-0/+6
|\|
| * lift parameter-less do block to lambdasZahary Karadjov2017-04-101-2/+1
| |
| * fix the do notation when used with procsZahary Karadjov2017-04-091-1/+2
| |
| * Restore the Nim's 0.14 proper handling of generic aliasesZahary Karadjov2017-04-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | A more efficient implementation is possible by restoring the old lifting ot tyGenericInvocation to tyGenericInst in liftTypeParam, but this fix will suffice for now. fixes #5087 fixes #5602 fixes #5641 fixes #5570
* | fixes an internal compiler error when json.to is used wronglyAndreas Rumpf2017-05-061-1/+9
|/
* big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-1/+4
|
* fixes #5352Araq2017-02-081-1/+3
|
* fixes #5327Andreas Rumpf2017-02-031-1/+2
|
* fixes #4992Parashurama2017-02-021-1/+4
|
* fix confusing line information for macros that produce errorsAraq2017-02-011-0/+1
|
* avoid some compiler crashes in debug modeAndreas Rumpf2017-01-231-2/+5
|
* fix seq add for nim node in VM (#5253)Arne Döring2017-01-191-1/+1
| | | fixes #4821
* make quote ast a ref type (#5246)Arne Döring2017-01-191-0/+6
| | | | * make quote ast a ref type * recursive set flag isRef for quoted ast
* added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994Araq2017-01-071-2/+3
|
* new dependency tracking for nimsuggestAraq2016-11-051-1/+3
|
* big refactoring: step 1Araq2016-10-311-18/+20
|
* fixes #4915andri lim2016-10-271-4/+8
|
* Merge pull request #4872 from flyx/gorgefixAndreas Rumpf2016-10-241-1/+2
|\ | | | | Fixes #4871
| * Fixes #4871Felix Krause2016-10-091-1/+2
| |
* | fixes #4906Andreas Rumpf2016-10-211-1/+1
| |
* | fixes #4856Andreas Rumpf2016-10-201-1/+1
|/
* fixes #4803Andreas Rumpf2016-09-241-1/+2
|
* VM: 'raises' in an 'except' doesn't cause an endless loop anymoreAraq2016-09-141-2/+10
|
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-3/+3
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-10/+9
|
* cleanup of #4113Andreas Rumpf2016-05-281-27/+27
|
* getTypeInst and getTypeImpl mostly working now and added testJames Osborn2016-05-041-1/+8
|
* added getTypeInst which includes generic parametersJames Osborn2016-05-041-12/+21
|
* fixes #3731Andreas Rumpf2016-04-041-1/+1
|
* fixes #3804Andreas Rumpf2016-04-041-1/+1
|
* fixes #3973Andreas Rumpf2016-04-031-2/+5
|
* fixes #3872Andreas Rumpf2016-03-041-4/+5
|
* Fixed deprecation warnings while Nim compiles.Hans Raaf2016-01-181-1/+1
| | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings.
* Merge pull request #3651 from jangko/vm_'excl'Andreas Rumpf2015-12-211-1/+1
|\ | | | | fixed compile time `excl ` cause SIGSEGV #3639
| * fixed compile time `excl ` cause SIGSEGV #3639jangko2015-12-171-1/+1
| |
* | fixed VM touint conversion #2514jangko2015-12-191-1/+8
|/
* fixes #3546Araq2015-11-181-2/+5
|
* allows macros to access documentation commentsAraq2015-11-181-0/+1
|
* msgs: One msgWriteln with optional flagsAdam Strzelecki2015-10-221-2/+2
| | | | Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.