summary refs log tree commit diff stats
path: root/compiler/vmgen.nim
Commit message (Collapse)AuthorAgeFilesLines
* deprecated unary '<'Andreas Rumpf2017-10-291-11/+11
|
* first steps of making 'opt' a first class type for NimAndreas Rumpf2017-09-251-0/+2
|
* first implementation of the 'func' keywordAndreas Rumpf2017-09-231-2/+2
|
* Fix operations on string as openarray in VM. (#6257)Parashurama2017-09-151-3/+3
| | | | | | | | | | * 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 VM intsize for 32bits and smaller targetOS. (#6211)Parashurama2017-08-101-3/+4
| | | | | | | This commit change the default behaviour of VM int/uint always being 64bits and make int/uint on VM behave identically to compiled code. This insert 'opcNarrowU' or 'opcNarrow' opcode on Int/Uint operations when needed to simulate smaller Int/Uint on VM.
* Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988)Parashurama2017-08-031-2/+16
| | | | | | * 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-1/+10
|
* fix logical right shift in VM. (#5916)Parashurama2017-06-051-1/+17
|
* Working test cases for the sophisticated matrix library example from the manualZahary Karadjov2017-03-241-1/+2
| | | | | Fixed the dot operator when used within return types (see tgenericdotrettype) Fixed the matching of generic concepts aliases used with the implicit generics style
* fixes #5221Andreas Rumpf2017-02-051-1/+1
|
* fixes #5269Andreas Rumpf2017-02-051-6/+10
|
* make vmgen more robust in the context of 'nim check'Araq2016-12-311-2/+3
|
* removed tyArrayConstr completely from the compiler; introduced tyAlias ↵Araq2016-11-141-1/+1
| | | | instead in preparation for further bugfixes
* fixes #4915andri lim2016-10-271-1/+1
|
* fixes regressionAndreas Rumpf2016-08-261-1/+1
|
* remove unused stuffJacek Sieka2016-08-091-14/+0
|
* attempt to fix #4065Andreas Rumpf2016-08-041-2/+1
|
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-2/+2
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-2/+2
|
* added system.newSeqOfCap for improved efficiencyAndreas Rumpf2016-07-151-2/+14
|
* fixes #2730Andreas Rumpf2016-07-131-2/+2
|
* fixes #4462Andreas Rumpf2016-07-081-3/+5
|
* fixes #4371Andreas Rumpf2016-07-081-1/+1
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2016-07-061-1/+4
|\
| * Fixed vm codegen for a call with compile-time args. Fixes #4412.Yuriy Glukhov2016-07-061-1/+4
| |
* | fixes #537Andreas Rumpf2016-07-061-10/+16
|/
* system. for cstrings uses value comparisons, not reference comparisonsAndreas Rumpf2016-06-021-2/+2
|
* fixes #1713Andreas Rumpf2016-05-301-4/+8
|
* Merge pull request #4113 from jcosborn/gettypeinstAndreas Rumpf2016-05-281-1/+6
|\ | | | | getTypeInst
| * getTypeInst and getTypeImpl mostly working now and added testJames Osborn2016-05-041-1/+2
| |
| * added getTypeInst which includes generic parametersJames Osborn2016-05-041-1/+5
| |
* | fixes #3956Andreas Rumpf2016-05-111-4/+5
|/
* fixes #3731Andreas Rumpf2016-04-041-3/+11
|
* fixes #3561, fixes #2409Andreas Rumpf2016-04-041-3/+7
|
* fixes #3804Andreas Rumpf2016-04-041-0/+4
|
* fixes #3973Andreas Rumpf2016-04-031-1/+1
|
* fixes #3916Andreas Rumpf2016-02-291-4/+4
|
* 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.
* first implementation of the new lambda-lifting pass; barely anything worksAndreas Rumpf2015-12-261-2/+2
|
* os.walkDir is available at compile timeAraq2015-11-101-2/+4
|
* fixes #3299Araq2015-10-151-0/+22
|
* fixes #2473; cleanup of some testsAraq2015-09-301-6/+9
|
* fixes #3387Araq2015-09-291-1/+0
|
* fixes #3357Araq2015-09-231-2/+5
|
* VM produces objects.Yuriy Glukhov2015-09-051-2/+6
|
* when nimvm stmt proof of conceptYuriy Glukhov2015-09-041-1/+4
|
* implemented macros.getImplAraq2015-08-211-0/+1
|
* VM: repl supports global variables properly"Araq2015-08-161-3/+3
|
* Merge pull request #3177 from zah/generic-types-in-macrosAndreas Rumpf2015-08-141-2/+23
|\ | | | | Generic types in macros
| * Disable the new generic params handling for immediate template and macrosZahary Karadjov2015-08-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since immediate templates are not subjected to the standard sigmatching algorithm, they will have a number of deficiencies when it comes to generic params: Type dependencies between the parameters won't be honoured and the bound generic symbols won't be resolvable within their bodies. We could try to fix this, but it may be wiser to just deprecate immediate templates and macros now that we have working untyped parameters. Disabling the new features is admittedly not the greatest way to handle this situations as it introduces inconsistency in the language, but at least it makes the code backwards-compatible with the previous version of the compiler instead of triggering more serious problems.