summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |_|/ |/| |
* | | 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
|/ /
* / 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
| | |
* | | Merge pull request #2810 from yglukhov/js-codegen-obj-field-byvarAndreas Rumpf2015-05-261-2/+5
|\ \ \ | | | | | | | | Fixes #2798. Passing arguments by var in certain cases leads to invalid JS.
| * | | Fixes #2798yglukhov2015-05-261-2/+5
| |/ /
* / / Ship all testdata with distSergey Avseyev2015-05-261-1/+5
|/ /
* | now nimsuggest works on the first sugSimon Hafner2015-05-241-5/+5
| |
* | fixes #2694Simon Hafner2015-05-241-1/+1
| |
* | Merge pull request #2754 from def-/intvalAndreas Rumpf2015-05-191-2/+2
|\ \ | | | | | | Intval
| * | Update ast spec about uint literalsdef2015-05-181-1/+1
| | |
| * | Make intVal work for uint literals in the VMdef2015-05-181-1/+1
| |/
* | Merge pull request #2734 from def-/stdin-fixAndreas Rumpf2015-05-195-22/+25
|\ \ | | | | | | Clean up stdin file reading of compiler.
| * | Use gProjectIsStdin insteaddef2015-05-173-1/+3
| | |
| * | Clean up stdin file reading of compiler.def2015-05-164-22/+23
| |/ | | | | | | | | Uses "stdinfile" as the module identifier now, which prevents problems with - colliding with the minus operator. This fixes #2422 and #2702.
* / Fixed JS call codegen, when first parameters are compile-time.yglukhov2015-05-191-1/+3
|/
* Merge pull request #2680 from reactormonk/epcAndreas Rumpf2015-05-143-83/+258
|\ | | | | Implements EPC for nim-mode in nimsuggest
| * changed from parseEnum to direct copySimon Hafner2015-05-131-5/+1
| | | | | | | | Let's hope this doesn't break anything
| * nextFreePort -> connectToNextFreePortSimon Hafner2015-05-131-2/+2
| |
| * hardcoded orderSimon Hafner2015-05-081-4/+2
| |
| * removed unnecessary depsSimon Hafner2015-05-081-2/+1
| |
| * merged devel into epcSimon Hafner2015-05-0844-517/+1141
| |\
| * | import sigmatch, not suggest in nimsuggestSimon Hafner2015-05-081-3/+5
| | |