summary refs log tree commit diff stats
path: root/compiler/vmdeps.nim
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-31/+31
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* fixes #12663 staticRead now creates a dependency for rebuilds (#12731) ↵Timothee Cour2019-11-251-0/+2
| | | | | | | [backport] * fix #12663 staticRead * address comments
* fix range.getType crashJasper Jenkins2019-09-051-2/+3
|
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-1/+1
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-6/+6
| | | | --styleCheck:error
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-2/+2
|
* code cleanup: there is no tyOptRefAndreas Rumpf2019-02-221-1/+1
|
* make code more readableAndreas Rumpf2019-02-181-3/+3
|
* fixes #9600 (#9601)jcosborn2018-11-071-1/+4
|
* getTypeImpl now returns pragmas for object types (#9538)jcosborn2018-10-301-9/+7
|
* fixes #9532Araq2018-10-281-1/+1
|
* Unchecked arrays now have their own type (#9267)LemonBoy2018-10-101-1/+5
|
* Fix range type construction in the VM (#9205)LemonBoy2018-10-091-2/+9
| | | | | | The `range[X,Y]` representation is wrong, we use `range[X .. Y]` instead. Fixes #9194
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-1/+1
| | | | between modules
* Custom pragmas in proc types (#8205)cooldome2018-07-091-1/+2
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-26/+26
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-1/+1
|
* remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-11/+11
|
* transf and vmgen compile againAndreas Rumpf2018-05-121-5/+5
|
* Fix the return value of GetType and friends when given a `var T` type. (#7701)Varriount2018-04-271-1/+6
|
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-1/+1
|
* preparations for language extensions: 'sink' and 'lent' typesAndreas Rumpf2018-01-071-1/+3
|
* modify getTypeImpl to reduce result to final implementation (#6891)jcosborn2017-12-091-3/+3
| | | | | * added test case for getTypeImpl * modify getTypeImpl to reduce result to final implementation
* fix getTypeInst for tyGenericInst (#6868)jcosborn2017-12-041-3/+6
|
* deprecated unary '<'Andreas Rumpf2017-10-291-3/+3
|
* implemented new experimental scriptable import mechanismAndreas Rumpf2017-10-011-44/+1
|
* first steps of making 'opt' a first class type for NimAndreas Rumpf2017-09-251-1/+1
|
* some work to make 'opt' a first class typeAndreas Rumpf2017-09-241-1/+2
|
* Corrected tuple type to nkPar for unnamed tuples on getType (#6172)Yuriy Glukhov2017-08-031-1/+2
|
* fixed macros.getTypeImpl for a symbol of type tyGenericBody (#5788) (#5812)jcosborn2017-05-141-1/+6
| | | | | * fixed macros.getTypeImpl for a symbol of type tyGenericBody * added test case and commented test code
* support derived values in non-generic user type classesZahary Karadjov2017-03-241-4/+7
|
* introduce tyInferred for the unbound concept type paramsZahary Karadjov2017-03-241-0/+1
| | | | | | | | | | | | | | | | | | * Why is tyInferred needed? The bindings in TCandidate are capable of inferring types within a single call expression. In concepts, we need to infer types in the same way, but across the whole body of the concept. Previously, once a concept type param was inferred, it was destructively mutated using t.assignType, but this proved to be problematic in the presence of overloads, because the bindings established while a non-matching overload is tested must be reverted/forgotten. tyInferred offers a non-destructive way to keep track of the inference progress. While introducing new types usually requires a lot of code paths in the compiler to updated, currently tyInferred is only a short-lived type within the concept body pass and it's unlikely to introduce breakage elsewhere in the compiler.
* fix getTypeImpl for tyEnum (#5568)jcosborn2017-03-191-1/+3
| | | | | * fixed getTypeImpl for tyEnum * fixed getType for enum and updated release notes about change
* Fix sigsegv in getTypeImpl for unnamed tuple (#5440)Fabian Keller2017-03-021-2/+7
| | | avoid sigsegv in getTypeImpl for unnamed tuple; fixes #4862
* added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994Araq2017-01-071-12/+12
|
* fixes #5131Araq2016-12-201-1/+1
|
* Merge branch 'devel' into sighashesAraq2016-12-131-4/+9
|\
| * macros.getType: do not copy symbols if not necessaryAraq2016-12-071-4/+9
| |
* | removed tyArrayConstr completely from the compiler; introduced tyAlias ↵Araq2016-11-141-2/+2
|/ | | | instead in preparation for further bugfixes
* Merge pull request #4945 from arnetheduck/cleanup-tyXxxAndreas Rumpf2016-10-241-4/+1
|\ | | | | Cleanup ty xxx
| * clean up tyMutable remnantsJacek Sieka2016-10-241-2/+1
| |
| * clean up tyConst remnantsJacek Sieka2016-10-241-2/+1
| |
| * clean up tyBigNum remnantsJacek Sieka2016-10-241-2/+1
| |
* | Merge pull request #4872 from flyx/gorgefixAndreas Rumpf2016-10-241-3/+6
|\ \ | |/ |/| Fixes #4871
| * Fixes #4871Felix Krause2016-10-091-3/+6
| |
* | remove remnants of tyIterJacek Sieka2016-10-241-1/+1
|/
* remove unused stuffJacek Sieka2016-08-091-4/+0
|
* fixes #4526Andreas Rumpf2016-08-041-7/+15
|
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-9/+9
|