summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Don't consider concept types as non-complex during codegen (#8119)LemonBoy2018-06-272-2/+15
| | | Fixes #7125
* Lexer: do not accept some invalid integer literals (#8089)Hiroki Noda2018-06-273-7/+26
| | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable
* Nintendo switch support (#8069)Joey2018-06-2721-44/+1353
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add missing backtick to the changelog.mdDaniil Yarancev2018-06-271-1/+1
|
* 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-276-26/+118
|\ | | | | Language feature: range float types
| * manual merge 2cooldome2018-06-122-3/+3
| |
| * Manual mergecooldome2018-06-121-0/+1
| |
| * merge develcooldome2018-06-12136-5663/+4290
| |\
| * | Fix error messagecooldome2018-06-121-2/+2
| | |
| * | style fixes, typoscooldome2018-06-122-6/+6
| | |
| * | 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-10309-9635/+11910
| |\ \
| * | | fix spacing in changelogcooldome2018-04-301-2/+1
| | | |
| * | | Merge branch 'devel' into range_float_typecooldome2018-04-3048-2372/+424
| |\ \ \
| * \ \ \ merge develcooldome2018-04-2925-243/+408
| |\ \ \ \
| * | | | | update testcooldome2018-04-291-1/+13
| | | | | |
| * | | | | update the doccooldome2018-04-293-4/+10
| | | | | |
| * | | | | Add a testcooldome2018-04-291-0/+37
| | | | | |
| * | | | | Merge branch 'devel' into range_float_typecooldome2018-04-2615-79/+146
| |\ \ \ \ \
| * | | | | | Implement float range typescooldome2018-04-264-89/+145
| | | | | | |
* | | | | | | Merge pull request #8120 from krux02/basic-debuggingAndreas Rumpf2018-06-263-9/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | make basic debugging possible
| * | | | | | | readded -d:debug flagArne Döring2018-06-261-1/+1
| | | | | | | |
| * | | | | | | make basic debugging possibleArne Döring2018-06-263-9/+9
| | | | | | | |
* | | | | | | | Merge pull request #7681 from nim-lang/typedesc-reformsAndreas Rumpf2018-06-2639-270/+1702
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Typedesc reforms
| * \ \ \ \ \ \ \ Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-2647-165/+1918
| |\ \ \ \ \ \ \ \
| * | | | | | | | | requested pull-request changesZahary Karadjov2018-06-165-18/+25
| | | | | | | | | |
| * | | | | | | | | allow referencing other parameters in default parameter valuesZahary Karadjov2018-06-1610-31/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046
| * | | | | | | | | fix #6928; fix #7208Zahary Karadjov2018-06-164-3/+37
| | | | | | | | | |
| * | | | | | | | | fix some breakage after rebasingZahary Karadjov2018-06-162-2/+2
| | | | | | | | | |
| * | | | | | | | | Support default type parametersZahary Karadjov2018-06-163-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | progress on #7516
| * | | | | | | | | fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-1615-65/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | | | | | | | document the new `type[T]` and `static[T]` featuresZahary Karadjov2018-06-164-71/+104
| | | | | | | | | |
| * | | | | | | | | Implement the `is` operator for the new static and typedesc type classesZahary Karadjov2018-06-1610-55/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-162-8/+35
| | | | | | | | | |
| * | | | | | | | | Bugfix: aliases to generic types were not considered implicit generic parametersZahary Karadjov2018-06-162-0/+20
| | | | | | | | | |
| * | | | | | | | | A minimal patch enabling the new typedesc and static types syntaxZahary Karadjov2018-06-1610-110/+228
| | | | | | | | | |
| * | | | | | | | | Starting test recording the current state of the parserZahary Karadjov2018-06-161-0/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the next commit, I'll introduce changes to the parser bringing consistent handling of all type modifiers (ref, ptr, var, static and type). The goal of this commit is to record precisely what is going to be changed (i.e. by allowing you to look at the diff). To preserve the diff, please don't squash upon merging.
| * | | | | | | | | stdlib workZahary Karadjov2018-06-163-9/+66
| | | | | | | | | |
* | | | | | | | | | Merge pull request #8108 from LemonBoy/fix-5958Andreas Rumpf2018-06-265-15/+23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Make `static` blocks introduce their own scope
| * | | | | | | | | | Adjust some tests to make them passLemonBoy2018-06-253-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-scoped behaviour of static blocks was exploited by those tests, replace all the variables declared whithin one with compileTime marked ones.
| * | | | | | | | | | Make `static` blocks introduce their own scopeLemonBoy2018-06-242-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958
* | | | | | | | | | | Merge pull request #7800 from GULPF/vm-nil-fixAndreas Rumpf2018-06-264-23/+79
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | VM fix for nil assignment
| * | | | | | | | | | Improve vm support for ref typesOscar Nihlgård2018-06-264-23/+79
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #8123 from jwollen/cfile_extensionsAndreas Rumpf2018-06-262-2/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Don't remove extension of source files twice, if filenames contain dots
| * | | | | | | | | | Don't remove extension of source files twice, if filenames contain dotsJörg Wollenschläger2018-06-262-2/+2
|/ / / / / / / / / /