Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implemented macros.getImpl | Araq | 2015-08-21 | 1 | -0/+1 |
| | |||||
* | VM: repl supports global variables properly" | Araq | 2015-08-16 | 1 | -3/+3 |
| | |||||
* | Merge pull request #3177 from zah/generic-types-in-macros | Andreas Rumpf | 2015-08-14 | 1 | -2/+23 |
|\ | | | | | Generic types in macros | ||||
| * | Disable the new generic params handling for immediate template and macros | Zahary Karadjov | 2015-08-02 | 1 | -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. | ||||
| * | fix #1858 again; restores the support for static macro params | Zahary Karadjov | 2015-08-02 | 1 | -2/+19 |
| | | |||||
* | | fixes #3066 | Araq | 2015-08-09 | 1 | -0/+3 |
| | | |||||
* | | fixes #1329 | Araq | 2015-08-09 | 1 | -0/+2 |
|/ | |||||
* | emerald project has a chance of working | Araq | 2015-08-02 | 1 | -9/+18 |
| | |||||
* | staticExec now supports caching | Araq | 2015-07-15 | 1 | -1/+13 |
| | |||||
* | macros: Introduce sameType(a, b) for node types | Adam Strzelecki | 2015-07-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | 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 #3041 | Araq | 2015-07-02 | 1 | -20/+26 |
| | |||||
* | fixes #2297, fixes #2946 | Araq | 2015-06-18 | 1 | -6/+1 |
| | |||||
* | Removed magics: mAbsI64 | rku | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Removed magics: mBitnotI64 | rku | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Removed magics: mEqI64 mLtI64 mLeI64 | rku | 2015-06-10 | 1 | -3/+3 |
| | |||||
* | Removed magics: mShrI64, mShlI64, mBitandI64, mBitorI64, mBitxorI64 | rku | 2015-06-10 | 1 | -5/+5 |
| | | | | Author: rku <rokups@zoho.com> | ||||
* | Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64 | rku | 2015-06-10 | 1 | -5/+5 |
| | | | | Author: rku <rokups@zoho.com> | ||||
* | marshalling can be done at compile-time | Araq | 2015-04-25 | 1 | -4/+42 |
| | |||||
* | added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin ↵ | Araq | 2015-04-22 | 1 | -2/+2 |
| | | | | system to the compiler | ||||
* | cleaned up some magics to make room for new magics; added '..<' and '..^' ↵ | Araq | 2015-04-22 | 1 | -2/+2 |
| | | | | templates | ||||
* | VM: minor fixes to make lexim work | Araq | 2015-04-20 | 1 | -3/+4 |
| | |||||
* | Fixes #1986 when calling sameConstant on uint | Joseph Turner | 2015-04-09 | 1 | -1/+1 |
| | | | | | | | | | The problem was saveConstant only checked the range `nkCharLit..nkInt64Lit`, but not up to UInt. This lead to the sonsLen method being called, where sons was never declared. This commit changes it to `nkCharLit..nkUint64Lit`, to match the case statements in the type definition of TNode, in ast.nim. | ||||
* | fixes another regression | Araq | 2015-03-27 | 1 | -1/+2 |
| | |||||
* | fixes #2346 | Araq | 2015-03-16 | 1 | -44/+44 |
| | |||||
* | implements a type API for macros | Araq | 2015-02-24 | 1 | -1/+6 |
| | |||||
* | macros.PNimrodNode is now NimNode | Araq | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | tables work in 'const' sections; echo supports 'nil' strings; minor cleanups | Araq | 2015-02-09 | 1 | -1/+2 |
| | |||||
* | Fixed high(cstring) in vmgen too | Simon Hafner | 2015-02-01 | 1 | -1/+2 |
| | |||||
* | Revert 5e4ae8d | Dustin Lacewell | 2015-01-07 | 1 | -20/+3 |
| | |||||
* | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | unstaged file | Zahary Karadjov | 2015-01-05 | 1 | -1/+1 |
| | |||||
* | fix #1858; Add support for generic templates and macros | Zahary Karadjov | 2015-01-05 | 1 | -3/+20 |
| | | | | | | | | | 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 #1781 | Araq | 2014-12-28 | 1 | -5/+8 |
| | |||||
* | fixes #1742 | Araq | 2014-12-24 | 1 | -1/+1 |
| | |||||
* | fixes #1744 | Araq | 2014-12-17 | 1 | -5/+7 |
| | |||||
* | fixes #1718 | Araq | 2014-12-10 | 1 | -0/+2 |
| | |||||
* | fixes #1548 | Araq | 2014-11-17 | 1 | -5/+7 |
| | |||||
* | fixes #1473 | Araq | 2014-11-12 | 1 | -2/+7 |
| | |||||
* | fix issue #1581 | Billingsly Wetherfordshire | 2014-10-20 | 1 | -0/+1 |
| | |||||
* | implemented 'guard' annotation | Araq | 2014-09-21 | 1 | -0/+2 |
| | |||||
* | merged things from devel | Araq | 2014-09-12 | 1 | -1/+0 |
|\ | |||||
| * | fixes #903, fixess #1513 | Araq | 2014-09-11 | 1 | -6/+14 |
| | | |||||
* | | added nimfix tool | Araq | 2014-09-05 | 1 | -1/+1 |
| | | |||||
* | | fixes recently introduced regression | Araq | 2014-09-03 | 1 | -1/+4 |
| | | |||||
* | | fixes #903, fixes #1513 | Araq | 2014-09-03 | 1 | -7/+18 |
| | | |||||
* | | VM supports math and a few os procs | Araq | 2014-08-30 | 1 | -1/+22 |
| | | |||||
* | | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -1/+1 |
|/ | |||||
* | fixes #1343 | Araq | 2014-08-15 | 1 | -4/+3 |
| | |||||
* | fixes #1433 | Araq | 2014-08-14 | 1 | -0/+2 |
| |