summary refs log tree commit diff stats
path: root/compiler/scriptconfig.nim
Commit message (Collapse)AuthorAgeFilesLines
* prepare for the enforcement of `std` prefix (#22873)ringabout2023-10-291-2/+4
| | | follow up https://github.com/nim-lang/Nim/pull/22851
* fixes #22763; nimcache in nim.cfg uses the relative path to the config file ↵ringabout2023-09-281-0/+1
| | | | | (#22764) fixes #22763
* replaces `doAssert false` with `raiseAssert` for unreachable branches, which ↵ringabout2023-08-101-1/+1
| | | | | works better with strictdefs (#22436) replaces `doAssert false` with `raiseAssert`, which works better with strictdefs
* fixes #22212; Compile error when running a Nimscript that compares se… ↵ringabout2023-07-031-3/+14
| | | | | (#22213) fixes #22212; Compile error when running a Nimscript that compares seq with switch("mm", "arc")
* adds an experimental `mm:atomicArc` switch (#21798)ringabout2023-05-081-1/+1
|
* replaces implicit passes array registed at runtime with explicit function ↵ringabout2023-03-031-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 a strange issue most likely caused by a git merge (#20822)Andreas Rumpf2022-11-121-4/+2
|
* move assertions out of system (#19599)flywind2022-03-231-0/+3
|
* fix setCommand so it behaves like regular nim invocation (#18555)Timothee Cour2021-07-221-10/+1
|
* cmdline: improve command processing (#16056)Timothee Cour2020-11-261-1/+2
|
* new: `nim -e:cmd` to run a command directly; also fixes #15731 (#15687)Timothee Cour2020-11-091-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 Rumpf2020-10-251-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)cooldome2020-10-091-2/+5
|
* fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658)Timothee Cour2020-06-161-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 Chandola2020-04-271-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 Cour2020-03-201-1/+1
| | | | | languages (#13642) Co-authored-by: narimiran
* fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647)Timothee Cour2020-03-171-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)genotrance2020-03-121-2/+2
|
* correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in orderTimothee Cour2020-02-271-2/+1
|
* refactoring: --newruntime consists of 3 different switchesAraq2019-10-201-3/+3
|
* fixes #11675Araq2019-09-081-0/+14
|
* fixes #12125 (#12131)Andreas Rumpf2019-09-061-11/+38
| | | | * fixes #12125
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-3/+4
|
* [feature] Added os.delEnv; add delEnv support to nimscript too (#11466)Kaushal Modi2019-06-151-0/+2
| | | [feature] Fixes https://github.com/nim-lang/Nim/issues/11452.
* Add stdin read support to nimscrit #3983 (#10292)genotrance2019-01-141-3/+12
|
* fixes #10240 (#10269)Andreas Rumpf2019-01-111-2/+4
| | | | | | * kochdocs.nim: code cleanup * fixes #10420
* incremental compilation: simple recompilation worksAraq2018-11-191-0/+3
|
* Nimscript: fixes #9246 [backport]Andreas Rumpf2018-11-061-0/+1
|
* Add procs to retrieve project name, directory and full path to nimscript (#9274)Solitude2018-10-111-0/+6
|
* fix #9264 regression (#9265)Timothee Cour2018-10-091-5/+2
|
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-7/+7
| | | | between modules
* make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-301-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)alaviss2018-08-171-2/+5
| | | fixes #8235
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-1/+1
|
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-2/+3
|
* more compiler API cleanupsAndreas Rumpf2018-05-281-4/+3
|
* vm now free of global variablesAndreas Rumpf2018-05-281-2/+1
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-1/+1
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* compiler compiles again; simple programs do workAndreas Rumpf2018-05-131-32/+32
|
* big refactoring: parser compiles againAndreas Rumpf2018-05-101-2/+2
|
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-1/+1
|
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-3/+3
|
* Sub second time resolution (#6978)Oscar Nihlgård2018-04-131-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)genotrance2018-04-101-0/+6
|
* Fixes 7283 (#7284)cooldome2018-03-051-0/+2
|
* cleanup times.nimAraq2017-12-211-1/+2
|
* Show nimscript configuration files during compilation (#6750)Lynn C. Rees2017-11-281-0/+1
|
* getEnv now supports a 'default' parameter; refs #6019Andreas Rumpf2017-10-301-1/+1
|
* removed compiler internal list implementation (#5371)Arne Döring2017-02-221-2/+2
|