summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Fix template codegen with static parameters (#8110)LemonBoy2018-06-271-8/+12
| | | | | | | | * Fix template codegen with static parameters Fixes #7477 * Move the test case to tstaticimportcpp
* Return an error symbol as macro output if needed (#8116)LemonBoy2018-06-271-1/+6
| | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454
* Reject ptr/ref void types (#8127)LemonBoy2018-06-271-0/+3
| | | | | Do this during the semantic pass to avoid tripping the following passes. Fixes #6454
* Reject enums with holes when computedGoto is used (#8132)LemonBoy2018-06-271-0/+3
| | | Fixes #7699
* Don't consider concept types as non-complex during codegen (#8119)LemonBoy2018-06-271-1/+1
| | | Fixes #7125
* Lexer: do not accept some invalid integer literals (#8089)Hiroki Noda2018-06-271-7/+12
| | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable
* Nintendo switch support (#8069)Joey2018-06-274-4/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* compiler/types.nim: make low/high know about 'sink' parameters; cleans up #7736Araq2018-06-271-12/+16
|
* Merge pull request #7736 from cooldome/range_float_typeAndreas Rumpf2018-06-273-23/+60
|\ | | | | Language feature: range float types
| * manual merge 2cooldome2018-06-122-3/+3
| |
| * Manual mergecooldome2018-06-121-0/+1
| |
| * merge develcooldome2018-06-12110-5502/+3689
| |\
| * | Fix error messagecooldome2018-06-121-2/+2
| | |
| * | style fixes, typoscooldome2018-06-121-5/+5
| | |
| * | remove underscorescooldome2018-06-111-5/+5
| | |
| * | fix commentscooldome2018-06-102-23/+52
| | |
| * | manual mergecooldome2018-06-101-2/+2
| | |
| * | manual merge continuescooldome2018-06-101-16/+30
| | |
| * | manual mergecooldome2018-06-101-470/+0
| | |
| * | merge develcooldome2018-06-10104-6872/+7045
| |\ \
| * \ \ Merge branch 'devel' into range_float_typecooldome2018-04-309-22/+33
| |\ \ \
| * \ \ \ merge develcooldome2018-04-2912-191/+134
| |\ \ \ \
| * | | | | update the doccooldome2018-04-291-1/+1
| | | | | |
| * | | | | Merge branch 'devel' into range_float_typecooldome2018-04-263-2/+4
| |\ \ \ \ \
| * | | | | | Implement float range typescooldome2018-04-264-89/+145
| | | | | | |
* | | | | | | Merge pull request #8120 from krux02/basic-debuggingAndreas Rumpf2018-06-262-8/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | make basic debugging possible
| * | | | | | | make basic debugging possibleArne Döring2018-06-262-8/+8
| | | | | | | |
* | | | | | | | Merge pull request #7681 from nim-lang/typedesc-reformsAndreas Rumpf2018-06-2617-164/+493
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Typedesc reforms
| * \ \ \ \ \ \ \ Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-2614-84/+201
| |\ \ \ \ \ \ \ \
| * | | | | | | | | requested pull-request changesZahary Karadjov2018-06-164-14/+21
| | | | | | | | | |
| * | | | | | | | | allow referencing other parameters in default parameter valuesZahary Karadjov2018-06-169-31/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046
| * | | | | | | | | fix #6928; fix #7208Zahary Karadjov2018-06-163-3/+16
| | | | | | | | | |
| * | | | | | | | | fix some breakage after rebasingZahary Karadjov2018-06-162-2/+2
| | | | | | | | | |
| * | | | | | | | | Support default type parametersZahary Karadjov2018-06-162-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | progress on #7516
| * | | | | | | | | fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-1611-65/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr
| * | | | | | | | | Implement the `is` operator for the new static and typedesc type classesZahary Karadjov2018-06-164-25/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase
| * | | | | | | | | Bugfix: the size of an array may be a static tuple elementZahary Karadjov2018-06-161-1/+2
| | | | | | | | | |
| * | | | | | | | | Bugfix: aliases to generic types were not considered implicit generic parametersZahary Karadjov2018-06-161-0/+3
| | | | | | | | | |
| * | | | | | | | | A minimal patch enabling the new typedesc and static types syntaxZahary Karadjov2018-06-167-52/+110
| | | | | | | | | |
* | | | | | | | | | Merge pull request #8108 from LemonBoy/fix-5958Andreas Rumpf2018-06-261-0/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Make `static` blocks introduce their own scope
| * | | | | | | | | | Make `static` blocks introduce their own scopeLemonBoy2018-06-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958
* | | | | | | | | | | Improve vm support for ref typesOscar Nihlgård2018-06-262-22/+26
| |_|/ / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Don't remove extension of source files twice, if filenames contain dotsJörg Wollenschläger2018-06-262-2/+2
| | | | | | | | | |
* | | | | | | | | | nimpretty: detect '; vs ,' style based on the first usage of the token in ↵Araq2018-06-261-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameter lists
* | | | | | | | | | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-06-267-14/+32
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge pull request #8117 from LemonBoy/cmd-verbosity-levelDominik Picheta2018-06-251-1/+4
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Warn the user if the specified verbosity level is wrong
| | * | | | | | | | | Warn the user if the specified verbosity level is wrongLemonBoy2018-06-251-1/+4
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #8105 from LemonBoy/concept-high-low-indexAndreas Rumpf2018-06-253-4/+4
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | More concept fixes
| | * | | | | | | | | | More concept fixesLemonBoy2018-06-243-4/+4
| | | |/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7705, #7703, #7702
| * | | | | | | | | | Merge pull request #7964 from LemonBoy/fix-7936Andreas Rumpf2018-06-251-2/+9
| |\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | Fixes #7936