Kaushal Modi
5ac74da926
Clarify use of special : for passing a block of stmts to template ( #8133 )
...
Fixes https://github.com/nim-lang/Nim/issues/8131 .
2018-06-27 21:37:31 +02:00
Joey
559a7615ad
Nintendo switch support ( #8069 )
...
* 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
2018-06-27 12:35:09 +02:00
Andreas Rumpf
d8f7174dda
Merge pull request #7736 from cooldome/range_float_type
...
Language feature: range float types
2018-06-27 00:08:21 +02:00
Andreas Rumpf
2a3a128e36
Merge branch 'devel' into typedesc-reforms
2018-06-26 18:33:51 +02:00
mboratko
70664bd1a2
Changed tutorial documentation referring to 'constant' to 'immutable' ( #8056 )
...
* Changed tutorial documentation referring to 'constant' to 'immutable'
* Clarification regarding side-effect free procedures fo:r multiple assignments
2018-06-18 02:05:35 -04:00
Zahary Karadjov
e129466910
requested pull-request changes
2018-06-16 16:46:32 +03:00
Zahary Karadjov
ea36e0ebbe
document the new type[T] and static[T] features
2018-06-16 16:46:32 +03:00
Araq
21a17f3911
document the 'pkg' and 'std' pseudo directories; closes #7250
2018-06-14 16:40:06 +02:00
cooldome
37aa488f99
merge devel
2018-06-12 21:19:30 +01:00
cooldome
77f33db3ed
style fixes, typos
2018-06-12 09:27:37 +01:00
cooldome
73b7ec9009
merge devel
2018-06-10 22:58:39 +01:00
Dominik Picheta
ae342f84de
Revert "[RFC] NEP-1.1. Relax 80 chars requirement."
2018-06-09 18:39:33 +01:00
Yuriy Glukhov
1531738974
NEP-1.1. Relax 80 chars requirement.
2018-06-08 20:51:44 +03:00
Andreas Rumpf
12996c08a1
fixed merge conflict
2018-06-04 16:16:50 +02:00
Andreas Rumpf
b5194f592c
WIP: an API for VM replay global state support
2018-06-03 20:18:43 +02:00
Andreas Rumpf
cae1973856
document how the incremental compilation scheme could work
2018-06-01 22:11:32 +02:00
Chris McIntyre
8557a2e1a5
Fixed operator precedence in example ( #7912 )
...
The order of operations was incorrect for the right-hand side of the `assert` statement on line 3199, based on the operator precedence for line 3197.
2018-06-01 11:24:49 -04:00
Daniil Yarancev
c0ea647c37
Remove #
...
I don't even know how it got there.
2018-05-27 18:48:24 +03:00
data-man
dedf0f3e19
Removed space between "array" and a square bracket in the docs
2018-05-19 20:28:27 +03:00
Araq
5526252fa0
fixes testament compilation
2018-05-14 17:45:44 +02:00
Zahary Karadjov
cf13c5fba4
implement the export/except statement
2018-05-07 09:37:49 +02:00
Zahary Karadjov
ae5c946a32
Support thread-local variables declared inside procs; fixes #7565
2018-05-07 09:37:49 +02:00
Andreas Rumpf
79ec95a9b5
remove hardly used TimeMachine feature
2018-05-06 20:07:42 +02:00
Andreas Rumpf
d62fe7d538
update the documentation
2018-05-01 09:38:17 +02:00
cooldome
d21693f5e4
Merge branch 'devel' into range_float_type
2018-04-30 23:57:33 +01:00
Araq
85af8fb74c
introduce --laxstrings switch for backwards compatibility
2018-04-30 19:50:36 +02:00
cooldome
b3a80dd2eb
update the doc
2018-04-29 23:17:07 +01:00
Andreas Rumpf
5237ef4f52
update the documentation about the new strings/seqs behaviours
2018-04-29 08:14:00 +02:00
genotrance
e931f3b5a9
Fixes #802 , #803 and #3775 - genscript issues ( #7677 )
...
* Fixes #802 , #803 and #3775 - genscript issues
* Test case for genscript
* Test script
* Verify on Linux
* Update categories.nim
* Fix merge
* Improve test framework
* Windows fixes
2018-04-25 10:52:32 +02:00
Andreas Rumpf
ee366f1746
.experimental can now be used to enable specific features
2018-04-24 09:34:29 +02:00
Jacek Sieka
72dfe176f5
remove dead code elimination option ( #7669 )
2018-04-23 11:02:38 +02:00
Andreas Rumpf
4f10b5edb6
improve documentation for 'var T return values'; refs #7373
2018-04-21 17:01:33 +02:00
Arne Döring
516ce73066
macro manual improvements ( #7666 )
...
* macro manual improvements
* fixes a typo
* Small fixes
2018-04-21 08:15:41 +02:00
Andreas Rumpf
9cc8fec370
replace --advanced by --fullhelp; refs #7621
2018-04-20 08:45:03 +02:00
jcosborn
7e15d5134b
allow setting template/macro recursive evaluation limits ( #7652 )
...
* allow setting template/macro recursive evaluation limits
* revert setting template/macro eval limits
set them to 1000
2018-04-19 22:39:18 +02:00
Andreas Rumpf
c9f14ca9be
manual: remove the bind-once typedesc weirdness; replaced by how things should be done
2018-04-15 22:16:07 +02:00
AdrianV
0ce28d15cc
Nim namespace for cpp ( #7453 )
...
- new option --usenamespace to generate nim cpp code in its own namespace Nim
- minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
2018-04-15 13:43:01 +02:00
Andreas Rumpf
70c0ff1be2
manual: cleanup the documentation; document for-loop macros; ensure the examples compile
2018-04-15 11:56:18 +02:00
Andreas Rumpf
8c09ffd36d
manual: many additions and improvements
2018-04-14 14:53:31 +02:00
Andreas Rumpf
c6f15c53f4
merge the different manual/*.rst include files. Was too hard to find the corresponding sections otherwise. Hope it means the manual is more likely to be kept up to date.
2018-04-14 08:42:53 +02:00
Andreas Rumpf
9e884c31dd
the new feature's name is hotCodeReloading
2018-04-13 23:48:56 +02:00
zah
e3037a2f33
Support code hot reloading for JavaScript projects ( #7362 )
...
* Support code hot reloading for JavaScript projects
* Add some missing JavaScript symbols and APIs
* fix the Travis build
* (review changes) remove the js type from the standard library as it doesn't follow NEP-1
* more additions to the DOM module
* Follow NEP-1 in jsffi; spell 'hot code reloading' correctly
* introduce a jscore module
* Document jscore module.
* readded js type
* Remove the '$' operator that doesn't behave
2018-04-13 19:08:43 +02:00
Andreas Rumpf
5e1e1a9145
fixes #7551
2018-04-11 23:26:20 +02:00
Arne Döring
6baca58693
Get symbol kind ( #7491 )
2018-04-11 16:48:01 +02:00
cooldome
16c1a90857
Cpp codegen: handling of imported exceptions. Fixes #3571 ( #7360 )
2018-04-10 12:14:59 +02:00
Araq
212fdc5946
added the 'x.p[:T]' notation for explicit generic instantiations in combination with the ddot calling syntax
2018-04-06 22:05:57 +02:00
Araq
0872e7a27e
renamed future.nim to sugar.nim
2018-04-06 11:59:49 +02:00
Timothee Cour
aa40c91e6e
cmd line help: clarify compileOnly vs noLinking
2018-04-05 14:34:55 -07:00
Dominik Picheta
d6d3c5695b
Fixes #7400
2018-03-30 13:16:59 +01:00
Timothee Cour
50229293ae
doc: fix path to $HOME/.config/nim.cfg to work on POSIX (not just unix but also osx) ( #7421 )
2018-03-27 09:45:43 +02:00