summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Introduce gPrefixDir for nimsuggest.Dominik Picheta2015-06-141-2/+8
|
* Merge pull request #2903 from yglukhov/js-bracket-addrAndreas Rumpf2015-06-131-8/+11
|\ | | | | Fixed addr of bracket expression. Fixes #2148.
| * Singing and dancing with skipTypes.yglukhov2015-06-121-1/+1
| |
| * Fixed addr of bracket expression. Fixes #2148.yglukhov2015-06-111-8/+11
| |
* | Merge pull request #2890 from ozra/fix-1179-unsigned-number-literalsAndreas Rumpf2015-06-131-47/+84
|\ \ | | | | | | Fix 1179 unsigned number literals
| * | Non-base10 overflow allowed if bit-stable. Tests.Oscar Campbell2015-06-121-3/+15
| | |
| * | Fix bug #1179 + some more found while testing.Oscar Campbell2015-06-121-47/+72
| | | | | | | | | | | | | | | - The char(-1) < char(0) is not covered in this PR - different beast. - Additionally to #1179, I found that non base-10 literals wheren't bounds checked at all.
* | | Add missing nre dependency to installerSergey Avseyev2015-06-121-0/+1
|/ /
* | Merge pull request #2894 from nanoant/patch/macros-real-node-compareAndreas Rumpf2015-06-121-1/+5
|\ \ | | | | | | Real node compare for macros
| * | macros: exprStructuralEquivalent for EqNimrodNodeAdam Strzelecki2015-06-101-1/+5
| | | | | | | | | | | | | | | Previously NimNode comparison in macros way returning false for anything else than nil literal.
* | | Merge pull request #2902 from yglukhov/js-copying-fixAndreas Rumpf2015-06-121-2/+2
|\ \ \ | | | | | | | | Fixed copying of aggregates in JS.
| * | | Fixed copying of aggregates in JS.yglukhov2015-06-111-2/+2
| | |/ | |/|
* | | Merge pull request #2896 from r-ku/I64-magics-goneAndreas Rumpf2015-06-127-110/+63
|\ \ \ | |/ / |/| | I64 magics gone
| * | Removed magics: mAbsI64rku2015-06-105-11/+8
| | |
| * | Removed magics: mBitnotI64rku2015-06-105-7/+4
| | |
| * | Removed magics: mEqI64 mLtI64 mLeI64rku2015-06-107-23/+14
| | |
| * | Removed magics: mShrI64, mShlI64, mBitandI64, mBitorI64, mBitxorI64rku2015-06-105-30/+13
| | | | | | | | | | | | Author: rku <rokups@zoho.com>
| * | Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64rku2015-06-106-39/+24
| | | | | | | | | | | | Author: rku <rokups@zoho.com>
* | | Merge branch 'devel' into bugfix-2858-testament-sources-system-wideOscar Campbell2015-06-1012-219/+300
|\ \ \ | | |/ | |/|
| * | Merge pull request #2852 from kirbyfan64/develAndreas Rumpf2015-06-103-29/+54
| |\ \ | | | | | | | | Colors!
| | * | Remove unnecessary importRyan Gonzalez2015-06-091-1/+1
| | | |
| | * | Colors!Ryan Gonzalez2015-06-024-30/+55
| | | |
| * | | Merge pull request #2892 from apense/patch-6Andreas Rumpf2015-06-101-0/+3
| |\ \ \ | | | | | | | | | | Fixes #2886 (moves compiler function into the compiler)
| | * | | Moved negative indexing operator hereapense2015-06-091-0/+3
| | | |/ | | |/| | | | | Only used here (not in standard library)
| * | | securehash: SHA1 -> Sha1 according to style guideAdam Strzelecki2015-06-091-17/+17
| | | |
| * | | securehash: sha_digest_size is not following styleAdam Strzelecki2015-06-091-4/+4
| | | | | | | | | | | | | | | | https://github.com/Araq/Nim/wiki/Style-Guide-for-Nim-Code
| * | | securehash: remove unused emptySecureHashAdam Strzelecki2015-06-091-8/+0
| | | |
| * | | securehash: Keep module name consistentAdam Strzelecki2015-06-098-7/+9
| |/ / | | | | | | | | | | | | | | | 1. All other modules don't use underscore, why this should be different? 2. Wrap some imports to 80 column
| * | Merge pull request #2780 from flaviut/cleanup-crcAndreas Rumpf2015-06-099-190/+249
| |\ \ | | | | | | | | Use SHA1 instead of CRC
| | * | Add simple tests to secure_hashFlaviu Tamas2015-05-261-0/+5
| | | |
| | * | Use sha1 instead of crcFlaviu Tamas2015-05-264-105/+206
| | | |
| | * | Rename crc module to "secure_hash"Flaviu Tamas2015-05-238-13/+12
| | | |
| | * | Clean up crc moduleFlaviu Tamas2015-05-235-76/+30
| | | | | | | | | | | | | | | | | | | | Use better names, remove quite a bit of dead code. Change `><` to a name that's actually descriptive.
* | | | Merge branch 'devel' into bugfix-2858-testament-sources-system-wideOscar Campbell2015-06-0718-378/+73
|\| | |
| * | | Merge pull request #2867 from Araq/fix-2584Andreas Rumpf2015-06-072-2/+9
| |\ \ \ | | | | | | | | | | Fixes #2584
| | * | | Rename errUndeclaredProcedure to errUndeclaredRoutine.Dominik Picheta2015-06-052-3/+3
| | | | |
| | * | | Got rid of errUndeclaredProcedureField.Dominik Picheta2015-06-042-8/+3
| | | | |
| | * | | Fixes #2584Dominik Picheta2015-06-042-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Better compiler errors for accessing undeclared fields, calling undeclared procedures and procedure fields.
| * | | | fixes #2774Araq2015-06-061-1/+1
| | | | |
| * | | | fixes #2687Araq2015-06-061-3/+7
| | | | |
| * | | | fixes #2854Araq2015-06-061-1/+1
| | | | |
| * | | | fixes 'noreturn' regression for Visual C++Araq2015-06-061-0/+2
| | | | |
| * | | | Merge pull request #2824 from yglukhov/js-ct-lambda-liftingAndreas Rumpf2015-06-051-1/+5
| |\ \ \ \ | | | | | | | | | | | | Perform lambda lifting for compile-time stuff when targeting JS.
| | * | | | Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | unittest test.
| * | | | | Merge pull request #2859 from nanoant/patch/norewrite-pragmaAndreas Rumpf2015-06-056-8/+21
| |\ \ \ \ \ | | | | | | | | | | | | | | {.noRewrite.} pragma for term rewriting
| | * | | | | Parser: Inline expr pragmas with parenthesisAdam Strzelecki2015-06-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously pragmas could be attached only to whole statements, this change allows attaching pragmas to inline statements, eg.: template rewriteAdd{a + b}(a: expr, b: expr): expr = ({.noRewrite.}: a + b) + 1 Code above will cause a + b to be rewritten once, because rewriteAdd attaches {.noRewrite.} to resulting a + b expr.
| | * | | | | Parser: Properly represent parsePar in grammarAdam Strzelecki2015-06-021-4/+6
| | | | | | |
| | * | | | | Introduce {.noRewrite.} expr pragma disabling TRAdam Strzelecki2015-06-025-4/+11
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Term rewriting macros/templates are currently greedy and they will rewrite as long as there is a match. So there was no way to ensure some rewrite happens only once, eg. when rewriting term to same term plus extra content. With new macro we can actually prevent further rewriting on marked expr or stmts, eg. with given example echo(...) will be rewritten just once: template pwnEcho{echo(x)}(x: expr) = {.noRewrite.}: echo("pwned!") echo "ab"
| * | | | | Removed nimsuggest from this repo.Dominik Picheta2015-06-042-343/+2
| | | | | |
| * | | | | Hopefully fixes nimsuggest building against the compiler package.Dominik Picheta2015-06-044-19/+25
| | |_|/ / | |/| | |