summary refs log tree commit diff stats
path: root/compiler/options.nim
Commit message (Collapse)AuthorAgeFilesLines
* gogc: GCC-8.2.0 compatibility and other improvements (#9211)Ștefan Talpalaru2018-10-111-2/+4
| | | | | | | | - Go's write barriers are now plugged-in in all the relevant points - "gcGo" is correctly classified by usesWriteBarrier() - some gogc structures and functions now use golib wrappers to keep GCC version-specific conditions out of the compiler/stdlib code - we no longer allow mixing the C malloc with Go's - fix a problem with string copying
* Removed optUseNimNamespace, removed useless nil checkGiovanni2018-09-161-1/+0
|
* improve the compiler option "cppCompileToNamespace", a custom namespace can ↵Giovanni2018-09-151-0/+1
| | | | now be set
* Merge pull request #8875 from awr1/experimentalize-reorderAndreas Rumpf2018-09-151-1/+2
|\ | | | | Experimentalize reorder (Changes {.reorder: on.} to {.experimental: "codeReordering".})
| * Merge branch 'devel' into experimentalize-reorderawr12018-09-041-7/+27
| |\
| * | transformed {.reorder: on.} into {.experimental: codeReordering.}, added testsawr2018-09-041-1/+2
| | |
* | | fixes bootstrapping problemsAraq2018-09-071-1/+1
| | |
* | | compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-88/+95
| |/ |/| | | | | between modules
* | system.compileDate and compileTime are in UTC; fixes #7305; docgen supports ↵Andreas Rumpf2018-09-031-0/+19
| | | | | | | | SOURCE_DATE_EPOCH, fixes #3113
* | make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-301-4/+5
| | | | | | | | | | | | | | | | | | 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
* | fixes merge conflictAndreas Rumpf2018-08-191-17/+36
|\|
| * implements 'case statement macros' in order to encourage the development of ↵Andreas Rumpf2018-08-161-2/+2
| | | | | | | | pattern matching mechanisms that are not terrible to look at
| * put the new for loop macros under an experimental switch named 'forLoopMacros'Andreas Rumpf2018-08-151-2/+4
| |
| * WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-1/+2
| |
| * fixes #8599Andreas Rumpf2018-08-101-1/+1
| |
| * Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-101-1/+1
| |\
| | * Uses XDG_CACHE_HOME if available (#8585)alaviss2018-08-091-1/+1
| | | | | | | | | | | | | | | | | | * compiler/options: use XDG_CACHE_HOME if set * doc/nimc: update documentation
| | * fixes the new nimcache handlingAraq2018-08-081-1/+2
| | |
| | * 'nimcache' defaults to ~/.cache on Posix; cleaned up documentationAndreas Rumpf2018-08-081-2/+12
| | |
| | * introduce the --define 'osx' as an alias for 'macosx'Andreas Rumpf2018-08-081-0/+1
| | |
| * | make nimsuggest go up in the directory tree in order to determine the main ↵Andreas Rumpf2018-08-101-12/+16
| | | | | | | | | | | | .nim file
| * | fixes the new nimcache handlingAraq2018-08-071-1/+2
| | |
| * | 'nimcache' defaults to ~/.cache on Posix; cleaned up documentationAndreas Rumpf2018-08-061-2/+12
| | |
| * | introduce the --define 'osx' as an alias for 'macosx'Andreas Rumpf2018-08-061-0/+1
| |/
* | make at least bootstrapping workAraq2018-08-051-4/+20
|\|
| * fixes #7827, bindSym enhancement (#8499)andri lim2018-08-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
| * fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 ↵Timothee Cour2018-07-301-2/+2
| | | | | | | | | | (#8423) add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb
| * Fix path resolution of submodules in the std namespace (#8453)Oscar Nihlgård2018-07-301-1/+16
| |
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-101-3/+3
|/
* code cleanup: remove newScopeForIf switchAndreas Rumpf2018-07-041-2/+0
|
* Nintendo switch support (#8069)Joey2018-06-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* implements pkg/ prefix to enforce searching for the module ignore the stdlib ↵Araq2018-06-141-18/+14
| | | | paths; refs #7250
* implements a --nep1:on switch to make the compiler enforce the naming ↵Andreas Rumpf2018-06-131-2/+1
| | | | conventions outlined in NEP-1
* fixes yet another merge conflictAraq2018-06-111-2/+1
|\
| * Removed oldIterTranf featureYuriy Glukhov2018-06-101-2/+1
| |
* | record cppdefine for incremental compilationAndreas Rumpf2018-06-101-3/+0
| |
* | implement passL and passC for the compilation cacheAndreas Rumpf2018-06-101-5/+1
| |
* | fixex merge conflictsAraq2018-06-081-1/+2
|\|
| * Merge pull request #7770 from yglukhov/yield-in-tryAndreas Rumpf2018-06-051-1/+2
| |\ | | | | | | Yield in try
| | * Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-151-169/+234
| | |\
| | * | Closure iter transformationYuriy Glukhov2018-05-091-1/+2
| | | |
* | | | incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-0/+13
| | | |
* | | | document how the incremental compilation scheme could workAndreas Rumpf2018-06-011-10/+13
| | | |
* | | | baby steps for incremental compilationAndreas Rumpf2018-05-301-2/+2
| | | |
* | | | vm.nim: evalMacroCounter is not a global variable anymoreAndreas Rumpf2018-05-281-0/+1
| | | |
* | | | refactoring: make projectMainIdx typesafeAndreas Rumpf2018-05-271-2/+2
| | | |
* | | | more refactoringAndreas Rumpf2018-05-271-0/+1
| | | |
* | | | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-2/+34
| | | |
* | | | fixes merge conflictAndreas Rumpf2018-05-261-15/+2
|\| | |
| * | | Use new binarySearch everywhere (#7876)Dmitry Atamanov2018-05-251-14/+0
| | | |