summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Fixed copying of aggregates in JS.yglukhov2015-06-111-2/+2
|
* 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
| | |_|/ / | |/| | |
* | | | | Merge branch 'devel' into bugfix-2858-testament-sources-system-wideOscar Campbell2015-06-048-174/+240
|\| | | |
| * | | | Dropped 'T' from typespdw2015-06-046-41/+41
| | | | |
| * | | | Merge pull request #2848 from ozra/bugfix-2523-number-literal-lexingAndreas Rumpf2015-06-042-120/+164
| |\ \ \ \ | | | | | | | | | | | | Bugfix #2523 number literal lexing
| | * | | | Change const def to cleaner code per suggestion.Oscar Campbell2015-06-021-2/+1
| | | | | |
| | * | | | Remove forgotten debug echo statement.Oscar Campbell2015-05-311-1/+0
| | | | | |
| | * | | | Clean up to compiler style. Refine error-msg for illegal octal 'O'Oscar Campbell2015-05-312-128/+68
| | | | | |
| | * | | | Fix #2523 - first commit. Needs some cleanup.Oscar Campbell2015-05-311-98/+204
| | |/ / /
| * | | | Merge pull request #2849 from ozra/feature-2811-hump-snake-dashAndreas Rumpf2015-06-042-6/+21
| |\ \ \ \ | | | | | | | | | | | | Feature #2811 hump, snake and now dash
| | * | | | Restructure branching slighty. Fix error message.Oscar Campbell2015-06-011-2/+3
| | | | | |
| | * | | | Implement #2811 - Unicode en-dash (U+2013) as hump/snake alt.Oscar Campbell2015-05-312-5/+19
| | |/ / /
| * / / / Fixed codegen for DotDot magicyglukhov2015-06-041-7/+14
| |/ / /
* / / / Add "safety compilation". Improved, fixed messagesOscar Campbell2015-06-041-0/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | - node ext searcher also looks for "iojs" if no node(js?) found. - koch ensures the local work dir compiler is freshly compiled before executing the tests. - the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed"). - fixed expectations in tmitems.nim test to match changes in json mod. - re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
* / / Fixed renderer for asm node in JSyglukhov2015-05-281-1/+2
|/ /
* | Merge pull request #2695 from transfuturist/develAndreas Rumpf2015-05-261-2/+4
|\ \ | | | | | | Add path directive to allow inclusion of config file's path itself
| * | Add path directive to allow inclusion of config file's path itselftransfuturist2015-05-141-2/+4
| | |
* | | Merge pull request #2804 from yglukhov/minor-cosmeticsAndreas Rumpf2015-05-261-17/+5
|\ \ \ | | | | | | | | Minor cosmetic changes.
| * | | Minor cosmetic changes.yglukhov2015-05-261-17/+5
| | | |