| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
No logic was added, just 4 more files migrated.
|
|
|
|
|
|
|
| |
* RST: improve simple tables
* nim 1.0 gotchas
* Still allow legacy boundaries like `----`
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unify tuple expressions
* fix test
* fix test
* apply feedback
* Handle empty tuples
* Fix rendering named unary tuple
* Protect static NimNode against stripping
* Slightly less hacky
* Revert "Slightly less hacky"
This reverts commit 170c5aec0addc029f637afbc948700ca006b7942.
* Slightly less hacky
* Cleanup
* Fix test
* Fix another test
* Add condsym
* Rebase fallout
* changelog: Move from compiler changes to language changes
* Add stricter tests
* Add empty tuple example to doc/astspec
* Fix test
Co-authored-by: Clyybber <darkmine956@gmail.com>
|
|
|
|
|
| |
* nnkArglist => nnkArgList
* special case stylecheck:error
|
|
|
|
|
|
|
| |
* fix typo
* fix typo
* Update doc/astspec.txt
|
| |
|
|
|
| |
Add it to devel branch this time. I hope this works.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is more friendly to those browsing the documentation without
a network connection. The nim-doc package in Debian allows this,
for example.
Also, the domain name being used was not consistent. It could have
been either nim-lang.org or nim-lang.github.io, and those reading
the stable docs could have found themselves suddenly reading the
devel docs instead.
|
|
|
|
|
|
| |
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
|
| |
|
| |
|
|
|
| |
Change variable name to a from v, to match the ast and other examples.
|
|
|
|
|
|
|
| |
* strVal assingnable comment statement ast nodes
* Set comment instead of strVal for comment nodes
* Added test code for creating and setting comment nodes
* Modified the AST spec documentation for documentation comments
|
|
|
|
| |
fixes #4911
|
| |
|
| |
|
|\
| |
| | |
Clarified nnkFloat64Lit. Fixes #2939
|
| |
| |
| | |
Fixes #2939
|
|/
|
| |
Addresses #2929
|
| |
|
|
|
| |
Closing parenthesis. Couple of indentation fixes.
|
|\
| |
| | |
Fix rest syntax in astspec
|
| | |
|
| | |
|
|/
|
| |
Also gave some examples
|
|
|
| |
[This question on SO](http://stackoverflow.com/questions/30311110/how-to-create-a-nnkuint16lit-nimnode) made me realized these weren't in there
|
|
|
| |
Hopefully this table renders correctly. Not sure this is the best place for this stuff.
|
|
|
| |
import, import .. except, export, include, etc.
|
| |
|
|
|
| |
I put this within the type section, but I'm not sure if it should go here. It has a broader use. Should it get its own section?
|
|
|
| |
Got curious as to how re"..." worked.
|
|
|
| |
Sorry to be making so many changes.
|
|
|
|
|
| |
Objects are ubiquitous. Concepts don't use ``concept`` in their name.
Really, a lot more could be added here.
|
|
|
| |
Generic parameters are treated in the next paragraph. Revised text for future compatibility
|
|
|
|
| |
This is a start. Other updates for `macros.nim` are planned, but this at least fleshes out some of the sections.
Comments are appreciated!
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|