summary refs log tree commit diff stats
path: root/compiler/vm.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3299Araq2015-10-151-1/+4
|
* added undocumented exportNims pragma for Nimscript supportAraq2015-10-031-0/+25
|
* vm: Don't fail on unknown enum position to stringAdam Strzelecki2015-09-281-1/+1
| | | | | | | Previously trying to convert constant of enum type, where this enum type has no entry with given constant position leaded to "internal error: opConv for enum". Instead of producing error, now we gracefully convert it to "EnumType position".
* Uint64 to string in pure nim. array[char] to string fixed in vm.Yuriy Glukhov2015-09-141-1/+12
|
* fixes some regressionsAraq2015-09-121-0/+2
|
* VM produces objects.Yuriy Glukhov2015-09-051-4/+9
|
* implemented macros.getImplAraq2015-08-211-0/+8
|
* preparations for Nimble NimScript integrations; minor cleanupsAraq2015-08-181-0/+4
|
* implements experimental new config system based on NimScriptAraq2015-08-161-2/+2
|
* Merge pull request #3177 from zah/generic-types-in-macrosAndreas Rumpf2015-08-141-9/+24
|\ | | | | Generic types in macros
| * Disable the new generic params handling for immediate template and macrosZahary Karadjov2015-08-021-4/+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.
| * fix #1858 again; restores the support for static macro paramsZahary Karadjov2015-08-021-9/+23
| |
* | fixes #3192Araq2015-08-071-1/+1
|/
* fixes #3103Araq2015-08-021-2/+4
|
* emerald project has a chance of workingAraq2015-08-021-4/+5
|
* staticExec now supports cachingAraq2015-07-151-1/+4
|
* macros: Introduce sameType(a, b) for node typesAdam Strzelecki2015-07-031-0/+3
| | | | | | | | | | | | | Previously introduced node comparison `==` was working somehow wrong on nodes returned from getType(a), comparing just ids of the symbols. Recently introduced `==` change 47dce2688633fad840a2f5e4073c531f1cd640ca started comparing symbol nodes pointer-wise, thus strictly. Since getType(a) always creates new symbol pointing to the type, comparing two such nodes using `==` always returns false, even they point to the same type. That is why we need a new sameType macro to be able to tell if these nodes point to the same type.
* fixes #3028Araq2015-07-011-1/+1
|
* VM: use stricter notion of equality for NimNodeAraq2015-06-251-1/+2
|
* fixes #2297, fixes #2946Araq2015-06-181-12/+0
|
* macros: exprStructuralEquivalent for EqNimrodNodeAdam Strzelecki2015-06-101-1/+5
| | | | | Previously NimNode comparison in macros way returning false for anything else than nil literal.
* Update ast spec about uint literalsdef2015-05-181-1/+1
|
* Make intVal work for uint literals in the VMdef2015-05-181-1/+1
|
* marshalling can be done at compile-timeAraq2015-04-251-6/+15
|
* VM: minor fixes to make lexim workAraq2015-04-201-1/+8
|
* Improve error message for failed conversion in VMdef2015-03-121-1/+1
| | | | | | | | | - Fixes #2045 - Old one: Error: conversion from unknown type to unknown type is invalid - New one: Error: conversion from -1 to [0..255] is invalid
* fixes #2252Araq2015-03-041-0/+2
|
* cleaned up whitespaceAraq2015-03-041-22/+22
|
* don't use stdout for nimsuggest server modeAraq2015-02-271-4/+8
|
* implements a type API for macrosAraq2015-02-241-1/+19
|
* macros.PNimrodNode is now NimNodeAraq2015-02-241-1/+1
|
* fixes #2167Araq2015-02-201-3/+9
|
* better error messageAraq2015-02-081-1/+3
|
* fixes #1989Araq2015-02-011-3/+5
|
* nimsuggest: first versionAraq2015-01-271-1/+1
|
* Proposed fix for issue #1946Audun Wilhelmsen2015-01-161-0/+1
|
* Revert 5e4ae8dDustin Lacewell2015-01-071-23/+9
|
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* fix #1858; Add support for generic templates and macrosZahary Karadjov2015-01-051-9/+23
| | | | | | | | | Implementation notes: Just after overload resolution, the resolved generic params will be added to the call expression to be later processed in evalTemplate and evalMacroCall. These procs have been modified to handle the increased number of parameters, but one remaining issue is that immediate templates and macros don't go through the same process. The next commit will outlaw the use of generic parameters with such macros.
* fixes #1744Araq2014-12-171-3/+8
|
* fixes #1689Araq2014-12-101-0/+7
|
* fixes #1692Araq2014-12-101-3/+5
|
* fixes #916Araq2014-11-201-2/+2
|
* fixes error propagation for macros.parseExprAraq2014-11-131-0/+1
|
* fixes #1473Araq2014-11-121-7/+23
|
* 'try' works at compile-timeAraq2014-10-021-1/+12
|
* fixes documentation generatorAraq2014-09-141-2/+2
|
* updated iup.nim; made tests greenAraq2014-08-311-2/+2
|
* VM supports math and a few os procsAraq2014-08-301-4/+10
|
* Nimrod renamed to NimAraq2014-08-281-1/+1
|