summary refs log tree commit diff stats
path: root/compiler/vm.nim
Commit message (Collapse)AuthorAgeFilesLines
* VM: accessing the string terminator is not allowed anymore; cleanup ↵Andreas Rumpf2018-07-171-1/+3
| | | | tests/system/tostring.nim
* Fix vm regression (#8163)Oscar Nihlgård2018-06-301-0/+7
|
* Fixes #6689 (#8135)Oscar Nihlgård2018-06-301-2/+8
|
* VM regression fixes (#8146)Oscar Nihlgård2018-06-291-1/+3
|
* Improve vm support for ref typesOscar Nihlgård2018-06-261-21/+26
|
* completed VM support for incremental compilationsAndreas Rumpf2018-06-041-26/+38
|
* WIP: an API for VM replay global state supportAndreas Rumpf2018-06-031-1/+90
|
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-17/+17
|
* compiler API: final cleanups; improve security by diabling 'gorge' and friendsAndreas Rumpf2018-05-291-9/+12
|
* vm now free of global variablesAndreas Rumpf2018-05-281-14/+8
|
* vm.nim: evalMacroCounter is not a global variable anymoreAndreas Rumpf2018-05-281-6/+5
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-6/+6
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* Merge branch 'devel' into araq-big-refactoringAndreas Rumpf2018-05-211-1/+1
|\
| * Fix typo in "out of bounds" error messagecoffeepots2018-05-181-1/+1
| |
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-10/+10
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-4/+4
| |
* | remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-3/+3
|/
* fixes testament compilationAraq2018-05-141-2/+8
|\
| * VM fix for refsOscar Nihlgård2018-05-081-2/+8
| |
* | move more globals into the config objectAndreas Rumpf2018-05-131-9/+9
| |
* | more modules compile againAndreas Rumpf2018-05-121-1/+1
| |
* | more modules compile againAndreas Rumpf2018-05-121-100/+110
|/
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-20/+21
|
* make tests green againAndreas Rumpf2018-04-211-1/+1
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-3/+3
| | | | uint16; fixes #7654
* allow setting template/macro recursive evaluation limits (#7652)jcosborn2018-04-191-2/+4
| | | | | | | * allow setting template/macro recursive evaluation limits * revert setting template/macro eval limits set them to 1000
* eqIdent new returns false on non identifier types (#7629)Arne Döring2018-04-171-5/+13
|
* move eqIdent to vm.nim (#7585)Arne Döring2018-04-151-3/+29
| | | | | | * Strutils comment changes. * fix typo
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-9/+9
|
* Get symbol kind (#7491)Arne Döring2018-04-111-15/+20
|
* reuse default ident in opcNNewNimNode (performance regression) (#7330)jcosborn2018-03-141-1/+1
| | | | | | * reuse default ident in opcNNewNimNode (performance regression) * use emptyIdent as default
* some progress on #7261; VM does not support the new backwards indexingAraq2018-02-281-3/+15
|
* fixes #7215Andreas Rumpf2018-02-141-2/+5
|
* deprecated unary '<'Andreas Rumpf2017-10-291-12/+11
|
* 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