Commit Graph

1133 Commits

Author SHA1 Message Date
Andreas Rumpf
d62fe7d538 update the documentation 2018-05-01 09:38:17 +02:00
Araq
85af8fb74c introduce --laxstrings switch for backwards compatibility 2018-04-30 19:50:36 +02: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
Abhishek
23064bba3a fix small typo in the documentation (#7411) 2018-03-26 09:48:39 +02:00
Oscar Nihlgård
d8108d0449 Remove basic2d & 3d from module list
`basic2d` and `basic3d` has been moved to nimble packages
2018-03-19 15:52:45 +01:00
twetzel59
d20729e840 Fix #7304 by clarifying integer width in manual (#7319)
* Fix #7304 by clarifying integer width in manual

* Update lexing.txt
2018-03-17 20:25:28 +01:00
Robert Hencke
ac10a3813a Fix casing in rule 'typeDesc' (#7324)
Also, leave a note in grammar.txt that it is generated.
2018-03-12 09:27:36 +01:00
PMunch
5003942256 Renamed jsondoc2 to jsondoc, similar to doc2 (#7279)
* Update information about jsondoc/jsondoc2

Manual was missing information about jsondoc2 which made it seem like
it didn't exist at all. This commit adds mention of the jsondoc2
command along with an example.

* Renamed jsondoc2 similar to doc2 and updated docs

doc2 was recently renamed to doc while doc was renamed to doc0. This
commits renames jsondoc to jsondoc2 and jsondoc2 to jsondoc0 to behave
tha same way. The documentation for doc/jsondoc was also lagging behind
this change which has also been fixed. I interpreted this as a soft
deprecation of doc and jsondoc and therefore removed them from the
auto-complete lists.
2018-03-08 15:11:45 +01:00
Araq
a9974a33f1 more documentation fixes 2018-03-05 23:25:50 +01:00
Andreas Rumpf
3dab0877da fixes #7247 2018-02-23 11:42:19 +01:00
Dominik Picheta
5476a82c47 Move joyent_http_parser out of stdlib. 2018-02-17 17:53:32 +00:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
fc52dd6463 Tut 1: tiny improvements 2018-02-05 21:13:18 +01:00
Andreas Rumpf
cfa96c9b13 fixes the RST in the manual 2018-02-04 00:49:47 +01:00
Andreas Rumpf
4e0b3fefa3 Merge branch 'devel' into araq-overloading-symmetry 2018-02-03 07:58:31 +01:00
Andreas Rumpf
c671356d51 manual: do not mention the VTable types which are not implemented yet 2018-02-02 17:35:04 +01:00
Andreas Rumpf
bd1dfa4b38 better type inference for numerical types; prerequisitive for version 1 2018-02-02 09:29:05 +01:00
Andreas Rumpf
7fc80f8f86 manual: do not mention the VTable types which are not implemented yet 2018-02-02 08:07:31 +01:00
konqoro
90c1edff8b Fix the names of the float checks pragmas. (#7170) 2018-02-01 14:02:32 +01:00
Andreas Rumpf
80caca15bd fixes #7089 2018-01-24 20:08:17 +01:00
Mathias Stearn
d127dd8095 Mention lack of js support in closure iterator limitations (#7110) 2018-01-19 16:51:49 +01:00
smt
e7e0648829 Update two links in tutorial to compiler usage docs with updated page anchors
Seems like these class ids on the page were renamed to reflect their hierarchy but the tutorial links weren't pointing to them, this should fix that
2018-01-12 13:57:58 +00:00
cooldome
2c9e56a783 Implement custom annotations (#6987) 2018-01-09 15:25:22 +01:00
Strømberg
ce31789431 Ast and concrete syntax different.
Change variable name to a from v, to match the ast and other examples.
2018-01-08 13:30:09 +01:00
data-man
37dde55f8d Add a shared collections to the docs 2018-01-02 01:44:45 +03:00
Zach Smith
3714e2f871 Add compile-time paragraph to manual
Includes a note in the manual entry for case statements clarifying that the branch values must be known at compile time.
2017-12-30 10:50:33 +01:00
Araq
b3732e2371 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-27 10:34:31 +01:00
Araq
b103b4d3f2 manual: clarify the rules for integer literals 2017-12-27 10:23:57 +01:00