| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow use of colons inside fmt
allowing colons inside fmt by replacing the format specifier delimiter lets arbitrary nim code be run within fmt expressions.
Co-authored-by: flywind <xzsflywind@gmail.com>
* formatting,documentation,backslash escapes
Adding support for evaluating expressions by special-casing parentheses causes this regression: `&"""{ "(hello)" }"""` no longer parses.
In addition, code such as &"""{(if open: '(' else: ')')}""" wouldn't work.
To enable that, as well as the use of, e.g. Table constructors inside curlies, I've added backslash escapes.
This also means that if/for/etc statements, unparenthesized, will work, if the colons are escaped, but i've left that under-documented.
It's not exactly elegant having two types of escape, but I believe it's the least bad option.
* changelog
* added json strformat test
* pulled my thumb out and wrote a parser
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: flywind <xzsflywind@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
| |
* IC: integrity checking: the plumbing code
* progress
* progress + bugfix (yes, the code already found a bug)
* implemented integrity checking
|
|
|
|
|
|
|
|
| |
* fix failing test toSeq in manual which now works
* changelog
* reject proc fn(a: iterable)
* add iterable to spec
* remove MCS/UFCS limitation that now works
|
|
|
|
|
|
|
|
|
| |
* changed parser to ignore ':' within parens
* Update strformat.nim
* Update lib/pure/strformat.nim
Co-authored-by: flywind <xzsflywind@gmail.com>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
|
|
| |
* turn on syntax highlighting in Manual & Tutorial
* avoid highlighting of "method"
* use relative path
* 2 more changes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WIP: restyle RST option lists
* apply similar style to Latex
* fix tests
* minor visual tweaks
* update tests
* remove leftover comments
|
|
|
|
|
|
|
|
|
|
|
| |
could be missing (#16397)
* refs #15667 improve invalid indentation errors
* also show line info where = is missing
* add test
* add more tests
|
|
|
|
|
| |
* IC: added converter test case
* IC: make converter example work
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Genode: move dyncall failures to runtime
Do not use the "error" pragma to warn that dynamic library loading is
not implemented, print a message at runtime and exit.
* Genode: use stricter dataspace type in page allocator
* Genode: remove compiler configuration from nim.cfg
Self-hosting Nim is not supported on Genode and defining the
cross-compilation environment can be done externally.
* Genode: use new mutex API
* Genode: call nim_component_construct as a C procedure
* Genode: implement echo for NimStringV2
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* ast: add getPIdent
* fixup
|
|
|
|
| |
* nep1: guidelines for getters and setters
* address a comment
|
|
|
|
|
| |
* IC: added basic test case for methods
* IC: better methods test
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* further progress on rst roles & dir-s (fix #17646)
* fix documents according to the messages
* fix bug 17 from #17340
|
|
|
|
|
|
|
| |
* manual: minor improvements
* Update doc/manual.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
|
|
|
| |
Extend documentation
Add runnableExamples
|
|
|
|
|
| |
* use strstr for a faster find implementation
* stress the -d:release and -d:danger switches
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* use sink and lent in deques
* Update lib/pure/collections/deques.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* ensure the avr example keeps compiling
* Update tests/avr/thello.nim
* now compiles properly
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* add compiler/debugutils.nim
* address comments
|
|
|
|
|
| |
This example seems to break our 32-bit nightlies builds.
This is just a temporary solution (TM) until we figure out a better one.
|
|
|
|
|
|
| |
* fix #16898
* fix #17621
* Update compiler/semtypes.nim
|
|
|
|
|
|
|
| |
* ref #14873
* comment
* Update lib/core/locks.nim
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Debugger works for enums again. Additionally, flags work better than before.
Reworked object printer as well, but the approach needs much more work or has
to be replaced all together. This is mostly to save the work and myself or
someone else can revisit it.
|
|
|
| |
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
|
|
| |
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
|
| |
|
|
|
|
| |
asyncfutures, asyncmacro (#17631)
|
| |
|
|
|
|
|
|
|
| |
* fix #14850: `repr` now correctly renders `do`
* add tests
* fix test
|
| |
|
|
|
|
|
| |
* close #14806
* tiny
|
|
|
|
|
|
|
|
|
|
|
| |
* fix https://github.com/nim-lang/RFCs/issues/294 ; disallow enum <=> enum conversion
* fix the runnableExamples that was the instigator of this RFC
* legacy -d:nimLegacyConvEnumEnum
* use -d:nimLegacyConvEnumEnum in important_package nimgame2
* add test for enum cast
* improve changelog
* add changelog: Changes affecting backward compatibility
* cleanup changelog
* fix changelog
|