Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move assertions out of system (#19599) | flywind | 2022-03-23 | 1 | -0/+3 |
| | |||||
* | fix setCommand so it behaves like regular nim invocation (#18555) | Timothee Cour | 2021-07-22 | 1 | -10/+1 |
| | |||||
* | cmdline: improve command processing (#16056) | Timothee Cour | 2020-11-26 | 1 | -1/+2 |
| | |||||
* | new: `nim -e:cmd` to run a command directly; also fixes #15731 (#15687) | Timothee Cour | 2020-11-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * new: `nim -i cmd` * rename -i to -e (for eval); consistent with majority of other programing languages * `nim e -e:cmd` now works; bugfix: `echo cmd | nim e -` now works * honor --betterRun * address comments * --eval alias for -e (replaces undocumented --eval which was a noop) * --eval now defaults to e (nimscript) instead of r * address comment: remove -e, only keep --eval * address comment * fixup * Update compiler/nimconf.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | explicit ID generation for easier IC (#15559) | Andreas Rumpf | 2020-10-25 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | * refactoring: idents don't need inheritance * refactoring: adding an IdGenerator (part 1) * refactoring: adding an IdGenerator (part 2) * refactoring: adding an IdGenerator (part 3) * refactoring: adding an IdGenerator (part 4) * refactoring: adding an IdGenerator (part 5) * refactoring: adding an IdGenerator (part 5) * IdGenerator must be a ref type; hello world works again * make bootstrapping work again * progress: add back the 'exactReplica' ideas * added back the missing exactReplica hacks * make tcompilerapi work again * make important packages green * attempt to fix the build for 32 bit machines (probably need a better solution here) | ||||
* | fix gc:arc in nimscript (#15525) | cooldome | 2020-10-09 | 1 | -2/+5 |
| | |||||
* | fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658) | Timothee Cour | 2020-06-16 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs | ||||
* | Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860) | Neelesh Chandola | 2020-04-27 | 1 | -4/+6 |
| | | | | | | | * Remove `paramStr` and `paramCount` from implicitly imported nimscript.nim * Update changelog.md * Update stable nimble commit hash Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | [RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other ↵ | Timothee Cour | 2020-03-20 | 1 | -1/+1 |
| | | | | | languages (#13642) Co-authored-by: narimiran | ||||
* | fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647) | Timothee Cour | 2020-03-17 | 1 | -2/+2 |
| | | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream | ||||
* | Fix #12676 (#13634) | genotrance | 2020-03-12 | 1 | -2/+2 |
| | |||||
* | correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order | Timothee Cour | 2020-02-27 | 1 | -2/+1 |
| | |||||
* | refactoring: --newruntime consists of 3 different switches | Araq | 2019-10-20 | 1 | -3/+3 |
| | |||||
* | fixes #11675 | Araq | 2019-09-08 | 1 | -0/+14 |
| | |||||
* | fixes #12125 (#12131) | Andreas Rumpf | 2019-09-06 | 1 | -11/+38 |
| | | | | * fixes #12125 | ||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -3/+4 |
| | |||||
* | [feature] Added os.delEnv; add delEnv support to nimscript too (#11466) | Kaushal Modi | 2019-06-15 | 1 | -0/+2 |
| | | | [feature] Fixes https://github.com/nim-lang/Nim/issues/11452. | ||||
* | Add stdin read support to nimscrit #3983 (#10292) | genotrance | 2019-01-14 | 1 | -3/+12 |
| | |||||
* | fixes #10240 (#10269) | Andreas Rumpf | 2019-01-11 | 1 | -2/+4 |
| | | | | | | * kochdocs.nim: code cleanup * fixes #10420 | ||||
* | incremental compilation: simple recompilation works | Araq | 2018-11-19 | 1 | -0/+3 |
| | |||||
* | Nimscript: fixes #9246 [backport] | Andreas Rumpf | 2018-11-06 | 1 | -0/+1 |
| | |||||
* | Add procs to retrieve project name, directory and full path to nimscript (#9274) | Solitude | 2018-10-11 | 1 | -0/+6 |
| | |||||
* | fix #9264 regression (#9265) | Timothee Cour | 2018-10-09 | 1 | -5/+2 |
| | |||||
* | compiler refactoring; use typesafe path handing; docgen: render symbols ↵ | Andreas Rumpf | 2018-09-07 | 1 | -7/+7 |
| | | | | between modules | ||||
* | make config.nims behave like nim.cfg in terms of where these scripts are ↵ | Timothee Cour | 2018-08-30 | 1 | -1/+1 |
| | | | | | | | | | searched / run (#8682) * run project config.nims if exists, then inputfile.nims if exists * ~/.config/nim/config.nims can now be used * also check in getSystemConfigPath for config.nims * refactor handleCmdLine for nim and nimsuggest | ||||
* | scriptconfig: register passes once (#8590) | alaviss | 2018-08-17 | 1 | -2/+5 |
| | | | fixes #8235 | ||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | incremental compilation: implemented basic replay logic | Andreas Rumpf | 2018-06-02 | 1 | -2/+3 |
| | |||||
* | more compiler API cleanups | Andreas Rumpf | 2018-05-28 | 1 | -4/+3 |
| | |||||
* | vm now free of global variables | Andreas Rumpf | 2018-05-28 | 1 | -2/+1 |
| | |||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | compiler compiles again; simple programs do work | Andreas Rumpf | 2018-05-13 | 1 | -32/+32 |
| | |||||
* | big refactoring: parser compiles again | Andreas Rumpf | 2018-05-10 | 1 | -2/+2 |
| | |||||
* | compiler refactoring, pass config around explicitly | Andreas Rumpf | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -3/+3 |
| | |||||
* | Sub second time resolution (#6978) | Oscar Nihlgård | 2018-04-13 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add deprecation warnings to recently deprecated procs * Fix bad usage of the times module * Introduce sub second resolution * Fix usage of C's time() * Switch to nanosecond resolution * Make Time & Duration opaque again and fix some errors * Change back to TimeInterval for shorthands * Fix JS test * Fix build error for windows * Undeprecate epochTime * Documentation and minor changes * Lots of bugfixes and doc comments * Attempt to make travis & appveyor green * Fix edge cases for dealing with the local timezone * Workaround JS backend overflow/underflow bug * Use better workaround for not knowing the size of time_t * Use all available timezones for tests * Fix indentation * Add procs for accessing the fractional part of a duration * Order time units from smallest to largest since it makes more sense * Include months and years in `TimeUnit` * Review fix | ||||
* | Add a few useful os calls to nimscript (#7442) | genotrance | 2018-04-10 | 1 | -0/+6 |
| | |||||
* | Fixes 7283 (#7284) | cooldome | 2018-03-05 | 1 | -0/+2 |
| | |||||
* | cleanup times.nim | Araq | 2017-12-21 | 1 | -1/+2 |
| | |||||
* | Show nimscript configuration files during compilation (#6750) | Lynn C. Rees | 2017-11-28 | 1 | -0/+1 |
| | |||||
* | getEnv now supports a 'default' parameter; refs #6019 | Andreas Rumpf | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | removed compiler internal list implementation (#5371) | Arne Döring | 2017-02-22 | 1 | -2/+2 |
| | |||||
* | Don't prepend project path to absolute filenames passed to setCommand (#5341) | nigredo-tori | 2017-02-06 | 1 | -2/+5 |
| | |||||
* | refactoring: explict config state instead of globals | Andreas Rumpf | 2017-02-01 | 1 | -4/+8 |
| | |||||
* | some progress on #5228 | Araq | 2017-01-20 | 1 | -3/+3 |
| | |||||
* | make tests green again | Araq | 2016-11-06 | 1 | -1/+1 |
| | |||||
* | new dependency tracking for nimsuggest | Araq | 2016-11-05 | 1 | -6/+8 |
| | |||||
* | refactoring complete: explicit ident cache | Araq | 2016-10-31 | 1 | -7/+7 |
| | |||||
* | fixes #4764, fixes #4731, fixes #4724 | Araq | 2016-09-14 | 1 | -0/+1 |
| |