summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* better docs; undocument sinkInference as it doesn't work (#22089)Andreas Rumpf2023-06-132-10/+8
|
* make binary `not` not parse complex expressions on right side (#22078)metagn2023-06-121-3/+3
| | | | | | | * binary `not` only parses simple expressions fixes #16324 * switch to primary
* Atlas: now in its own repository (#22066)Andreas Rumpf2023-06-101-188/+0
| | | | | * Atlas: now in its own repository * progress
* Remove Deprecated Nimfix (#22062)Juan Carlos2023-06-102-68/+3
| | | | * Remove Deprecated Nimfix * Trailing whitespace cleanups
* fixes typos in the constructor docs (#22035)Juan M Gómez2023-06-091-3/+3
| | | | | | | | | | | * fixes typos in the constructor docs * updates constructor docs * Update doc/manual_experimental.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fix indentation in destructors.md (#22048)Antonis Geralis2023-06-081-1/+1
|
* fixes #19086: Document exception and defect hierarchy (#22030)Raynei2023-06-081-0/+32
| | | | | * Documented exception and defect hierarchy (#19086) * Fixed style
* documents constructor (#22013)Juan M Gómez2023-06-061-0/+58
| | | | | | | | | * documents constructor * Apply suggestions from code review --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* post expr blocks colon fix + correct grammar (#21983)metagn2023-06-061-11/+15
| | | | | | | | | | | | | | | * post expr blocks colon fix + correct grammar fixes #21982 * fix dochelpers * this is remarkably common * use head for unchained * fix atlas * final grammar fix
* update the documentation of the dup hook (#21984)ringabout2023-06-031-2/+12
| | | | | | | | | | | | | | | | | | | | | * update the documentation of the dup hook * document `=dup` * typo * minor improvement * typo * Update doc/destructors.md * Update doc/destructors.md * Update doc/destructors.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Atlas: virtual environments (#21965)Andreas Rumpf2023-05-301-0/+15
| | | | | * Atlas: virtual environments * fixes
* Atlas: URL rewrite rules; --autoinit flag (#21963)Andreas Rumpf2023-05-301-0/+37
|
* Atlas: some final cleanups (#21947)Andreas Rumpf2023-05-282-14/+10
|
* ship atlas and build documentation (#21945)ringabout2023-05-282-0/+144
| | | | | * ship atlas and build documentation * move atlas.md and link it in tools' index
* fix #21501 by making --app:lib and --app:staticLib imply --noMain (#21910)heterodoxic2023-05-261-1/+1
|
* documents changes on byref and bycopy (#21882)Juan M Gómez2023-05-221-6/+10
|
* Moves virtual under its own section manual_experimental.md (#21870)Juan M Gómez2023-05-201-2/+2
|
* documents virtual (#21860)Juan M Gómez2023-05-191-0/+76
| | | | | | | | | * documents virtual * Apply suggestions from code review --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* isolation spec update; WIP (#21843)Andreas Rumpf2023-05-142-6/+127
| | | | | | | | | | | * isolation spec update; WIP * wip * docs update, WIP * progress * Update doc/manual.md
* adds documentation for `=wasMoved` and `=dup` hooks and small fixes (#21827)ringabout2023-05-112-2/+37
| | | | | | | | | | | * adds documentation for `=wasMoved` and `=dup` hooks and small fixes * Update doc/destructors.md * Update doc/destructors.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Remove LineTooLong (#21819)Juan Carlos2023-05-112-11/+10
| | | | | | | * LineTooLong refactor to make it actually useful * Improve error message * changelog wording * Fix typo
* fixes links of generic `define` pragma (#21828)ringabout2023-05-111-1/+1
|
* documents codegendecl for object types (#21811)Juan M Gómez2023-05-081-2/+25
|
* Document about size pragma (#21794)Tomohiro2023-05-061-0/+31
| | | | | | | | | | | | | * Document about size pragma * Fix typos * Fix manual.md * Update doc/manual.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Update the Nim Manual compile pragma with the second tuple form (#21773)Daniel Belmes2023-05-051-0/+6
| | | | | * Update the nim manual compile pragma with the second tuple form of * Incorrectly put 'two' forms
* closes #21771; fixes the link (#21777)ringabout2023-05-031-1/+1
| | | closes #21771
* fixes #21245; warn about destructors that can raise (#21726)Andreas Rumpf2023-04-261-3/+11
| | | | | | | | | * fixes #21245; warn about destructors that can raise * doc update * progress * typo
* documents #21628 (#21723)Juan M Gómez2023-04-241-0/+29
| | | | | | | | | * documents #21628 * Update doc/manual.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* alias syntax fixes, improvements and tests (#21671)metagn2023-04-221-10/+7
| | | | | | | | | | | | | * alias syntax fixes, improvements and tests * even better, cannot use alias syntax with generics * more type tests, improve comment * fix again * consistent error message + make t5167_5 work * more comments, remove {.noalias.}
* Documented path substitution by compiler (#21662)Raynei2023-04-212-0/+13
| | | Document compiler path substitution (nim-lang#19928)
* warn on set types bigger than max size, default to 0..255 for int literals ↵metagn2023-04-171-3/+6
| | | | | | | | | | | | | | | | | | | (#21659) * test implicitly huge set types refs https://github.com/nim-lang/RFCs/issues/298 * oh my god * boot at least * don't error, fix remaining issues, no 2 len arrays * fix runnable example * test assuming 0..255 for int literal * test refactor, add changelog, test
* Update nim 2.0 documentation for docgen & nimgrep (#21665)Andrey Makarov2023-04-172-31/+59
| | | | | | | | | | | | | * Update nim 2.0 documentation for docgen & nimgrep * [skip ci] Update changelogs/changelog_2_0_0.md Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * [skip ci] expand section on Markdown migration and `doctype` --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* make grammar a bit more honest (#21655)metagn2023-04-141-9/+10
| | | | | | | | | | | * test if expr parsing expr refs #19802 * in any case * just be honest * fix symbol/keyword issue too
* int64/uint64 as bigint in JS (#21613)metagn2023-04-111-0/+2
| | | | | | | | | | | * int64/uint64 as bigint in JS * fix CI * convert to compile option * fix lie * smaller diff, changelog entry
* `proc` typeclass accounts for `iterator`, call conventions + `nil` fix + ↵metagn2023-04-112-3/+46
| | | | | | | | | | | | | document typeclass AST (#21629) * test fix #16546 #16548 + another issue * please don't tell me other packages do this * fix CI + test typeclass callconv pragma * better logic in parser * docs and changelog
* remove useVersion (#21626)metagn2023-04-081-1/+0
| | | test removing useVersion
* warn against `a, b = val` in routine arguments (#21604)metagn2023-04-061-9/+0
| | | closes https://github.com/nim-lang/RFCs/issues/480
* Remove the "This module" suffix and reword some entries from the stdlib ↵Yardanico2023-03-301-107/+97
| | | | | overview (#21580) Remove a lot of "This module x" and reword some entries
* document general use of `_`, error message, fixes (#21584)metagn2023-03-301-0/+13
| | | | | | | | | | | | * document general use of `_`, error message, fixes fixes #20687, fixes #21435 Documentation and changelog updated to clarify new universal behavior of `_`. Also new error message for attempting to use `_`, new tests, and fixes with overloadable symbols and implicit generics. * add test for #21435
* tuple unpacking for vars as just sugar, allowing nesting (#21563)metagn2023-03-282-3/+33
| | | | | | | | | | | | | | | | | | | * tuple unpacking for vars as just sugar, allowing nesting * set temp symbol AST * hopeful fix some issues, add test for #19364 * always use temp for consts * document, fix small issue * fix manual indentation * actually fix manual * use helper proc * don't resem temp tuple assignment
* Docs: Mention Source Code Filters in `lib/String handling` (#21570)Zoom2023-03-281-1/+3
| | | | | Mention Source Code Filters in `String handling` ...as a viable solution for templating
* closes #21536; fixes manual (#21552)ringabout2023-03-201-2/+2
| | | fixes manual
* Add NuttX for thread stack size doc (#21529)Hiroki Noda2023-03-161-1/+1
|
* fixes sinkinference documentation, which has been disabled (#21470)ringabout2023-03-121-1/+1
| | | since https://github.com/nim-lang/Nim/pull/15105
* fixes #21461 (#21463)Arnaud Moura2023-03-031-1/+1
| | | | | * fixes #21461; Move nim-gdb.py and add nim-lldb.py * fixes bad path for nim-gdb.py
* replaces implicit passes array registed at runtime with explicit function ↵ringabout2023-03-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calls; simplify compilation pipeline (#21444) * abolish using passes in the compiler; simplify compilation pipeline * duplicate code * Really cool to have the same signature... * haul * unify other backends * refactor process * introduce PipelinePhase * refactor compiler * fixes passes * fixes nimsuggest * add a sentinel * enable docs checkj * activate doc testing * clean up * complete cleanups
* fixes #19291; implements `wasMoved` hook (#21303)ringabout2023-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #19291; implements `wasMoved` hook * basics * checkpoint * finish `wasMoved` * add a test for #19291 * add documentation and changelog * work `attachedWasMoved` with generics * fixes optimizer * register `=wasMoved` * handle wasMoved magcis * check another round * some patches * try `op == nil` * nicer * generate `wasMoved` before `destroy` * try again * fixes tests * default wasMoved * Update tests/destructor/tv2_cast.nim * Update tests/destructor/tv2_cast.nim * Update tests/arc/topt_refcursors.nim
* Mitigate issues related to compiler options when cross-compiling (#21330)Francis Thérien2023-02-221-3/+5
| | | | | * Document C compiler options config when cross-compiling * Allow empty string to override default
* Fix a couple of small keyword issues. (#21416)Benji York2023-02-221-2/+2
| | | In this section of the manual, "if" should be enclosed in backticks and "elif" should be lower case.
* Change the default stdlib location for Linux packaging (#21328)Gabriel Huber2023-02-121-2/+5
| | | | | * Correctly evaluate the Nim prefix on Posix * Document new packaging layout