Commit Graph

1123 Commits

Author SHA1 Message Date
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
Andreas Rumpf
da90657317 make the new --genDeps feature optional since it makes compilations slower 2017-12-21 17:14:31 +01:00
Araq
e0e1241a54 move securehash back into the stdlib 2017-12-21 12:34:38 +01:00
Alexander Ivanov
a9ba02e8c9 added asyncjs standard library module (#6841) 2017-12-19 00:34:54 +01:00
Araq
26198e4ee7 added new stdlib module 'strformat'; refs #5600; refs #6507 2017-12-17 13:58:40 +01:00
Araq
da2f689e09 fixes #6033 2017-12-14 20:49:08 +01:00
Charlie Barto
c7ba4d91a3 add dynlibOverrideAll switch (#6873) 2017-12-06 09:56:44 +01:00
Andreas Rumpf
33814cf63e language change: change how the experimental dot operators work 2017-11-29 13:31:31 +01:00
Araq
58c3e5d2f5 test the snippets in tut2.rst 2017-11-28 01:25:59 +01:00
Araq
21ffb3a706 tut1.rst makes use of the new ':test:' feature 2017-11-28 01:15:33 +01:00
Araq
c1782fac21 cleaned up tutorial 1 2017-11-26 01:07:01 +01:00