summary refs log tree commit diff stats
path: root/lib/system/dollars.nim
Commit message (Collapse)AuthorAgeFilesLines
* improvements to `addInt` and `$` for integer types (#18592)Timothee Cour2021-08-191-38/+24
| | | | | | | | * improvements to $(SomeInteger) and addInt * remove mIntToStr, mInt64ToStr * improvements * fix tests/pragmas/tinjectstmt.nim; the diff is harmless, cgen code is identical with -d:danger or debug mode * rm tests/system/tstrmantle.nim * revert compiler/jsgen.nim for -d:nimVersion140
* make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531)Timothee Cour2021-07-201-8/+5
| | | | | | * compiler/vmhooks: add getVar to allow vmops with var params * addFloat vmops with var param * cgen now renders float32 literals in c backend using roundtrip float to string
* Fix unused warning for $ on empty object (#18381)Clyybber2021-06-281-1/+1
|
* Simplify addInt, remove digits10 (#18356)Clyybber2021-06-281-3/+1
| | | | | | | | | | | | | * Simplify addInt, remove digits10 Co-authored-by: Charles Blake <charlechaud@gmail.com> * Fix bootstrapping * Add noInit to tmp array * noInit -> noinit Co-authored-by: Charles Blake <charlechaud@gmail.com>
* followup #18318: simplify `dollarImpl` and add a test (#18330)Timothee Cour2021-06-221-7/+0
|
* merge similar procs regarding digits (#18318)flywind2021-06-221-15/+10
|
* added float32 schubfach algorithm; wip (#18155)Andreas Rumpf2021-06-031-0/+4
| | | | | * added float32 schubfach algorithm; wip * fixes #18418
* Replace double backticks with single backticks - Part 1 out of ~6 (#17205)Danil Yarantsev2021-02-281-10/+10
|
* fix stringify unsigned integer in JS and JS VM (#17086)flywind2021-02-181-18/+29
| | | | | * fix js unsigned integer * better
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-171-1/+0
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* remove unused warning (#16809)flywind2021-01-241-2/+2
|
* $(uint|uint64) now works with nimscript (#15644)Timothee Cour2020-10-201-0/+20
| | | | | * $(uint|uint64) now works with nimscript * fixup
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-021-1/+1
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* `$` now works for unsigned intergers with `nim js` (#14122)Timothee Cour2020-04-271-0/+17
| | | | * $(unsigned) now works for js * move NimMajor+friends closer to NimVersion according as per reviewer feedback
* changed type() to typeof() in docs and error messages (#14084)hlaaftana2020-04-241-3/+3
|
* refactor system.$ for objects a little; refs #13398Araq2020-04-201-9/+3
|
* Fix unused warning for `$` for empty tuple/objects (#13991)hlaaftana2020-04-181-1/+2
|
* replace old problematic isNamedTuple implementation by TypeTrait ↵Timothee Cour2020-02-071-11/+15
| | | | | | | | isNamedTuple in dollars.nim (#13347) * replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple * fix for bootstrap
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-1/+1
| | | | --styleCheck:error
* move system.dollars in a separate file (#10829)Miran2019-03-131-0/+158