Araq
dd75346292
fixes the new nimcache handling
2018-08-07 22:54:45 +02:00
Andreas Rumpf
e067a7681f
'nimcache' defaults to ~/.cache on Posix; cleaned up documentation
2018-08-06 23:38:29 +02:00
Andreas Rumpf
e9d67266ef
introduce the --define 'osx' as an alias for 'macosx'
2018-08-06 19:58:48 +02:00
Araq
7ac6462cbd
make at least bootstrapping work
2018-08-05 14:17:24 +02:00
andri lim
78c0ac5407
fixes #7827 , bindSym enhancement ( #8499 )
...
* 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
2018-08-02 12:56:44 +02:00
Timothee Cour
c0f78ec012
fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 ( #8423 )
...
add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb
2018-07-30 14:02:18 +02:00
Oscar Nihlgård
97ea18746b
Fix path resolution of submodules in the std namespace ( #8453 )
2018-07-30 09:07:11 +02:00
Andreas Rumpf
ce01472ff3
refactorings in preparations for the new runtime
2018-07-10 10:39:53 +02:00
Andreas Rumpf
db35ac435b
code cleanup: remove newScopeForIf switch
2018-07-04 20:04:08 +02:00
Joey
559a7615ad
Nintendo switch support ( #8069 )
...
* 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
2018-06-27 12:35:09 +02:00
Araq
1578d222e2
implements pkg/ prefix to enforce searching for the module ignore the stdlib paths; refs #7250
2018-06-14 16:12:02 +02:00
Andreas Rumpf
5348fef003
implements a --nep1:on switch to make the compiler enforce the naming conventions outlined in NEP-1
2018-06-13 01:44:19 +02:00
Araq
1074cc1fb9
fixes yet another merge conflict
2018-06-11 17:17:34 +02:00
Yuriy Glukhov
5c449c8cd1
Removed oldIterTranf feature
2018-06-10 23:42:53 +03:00
Andreas Rumpf
8db27d30e6
record cppdefine for incremental compilation
2018-06-10 18:05:43 +02:00
Andreas Rumpf
2662d713f7
implement passL and passC for the compilation cache
2018-06-10 17:06:02 +02:00
Araq
8e9551b1c7
fixex merge conflicts
2018-06-08 19:50:36 +02:00
Andreas Rumpf
3cbc07ac78
Merge pull request #7770 from yglukhov/yield-in-try
...
Yield in try
2018-06-05 19:58:00 +02:00
Andreas Rumpf
826c1e2d78
incremental compilation: implemented basic replay logic
2018-06-02 09:41:27 +02:00
Andreas Rumpf
cae1973856
document how the incremental compilation scheme could work
2018-06-01 22:11:32 +02:00
Andreas Rumpf
61fb83ecbb
baby steps for incremental compilation
2018-05-30 23:50:34 +02:00
Andreas Rumpf
5d45e630c5
vm.nim: evalMacroCounter is not a global variable anymore
2018-05-28 13:57:16 +02:00
Andreas Rumpf
545b1582cd
refactoring: make projectMainIdx typesafe
2018-05-27 22:30:36 +02:00
Andreas Rumpf
18a3833d60
more refactoring
2018-05-27 15:22:17 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
12bd1c494c
fixes merge conflict
2018-05-26 19:09:02 +02:00
Dmitry Atamanov
e206a8d952
Use new binarySearch everywhere ( #7876 )
2018-05-25 00:04:30 +03:00
andri lim
c12726d41e
fixes #7696 , add ConfigRef.arguments initialization ( #7858 )
2018-05-22 13:17:09 +02:00
Andreas Rumpf
a4e2b0c153
platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals
2018-05-18 15:18:00 +02:00
Araq
635451591d
extccomp: no globals anymore
2018-05-16 02:01:55 +02:00
Yuriy Glukhov
cfe40a3e6e
Merge branch 'devel' into yield-in-try
2018-05-15 19:54:52 +03:00
Andreas Rumpf
5bf6ad9fa3
make tests green on Unix
2018-05-15 01:39:56 +02:00
Andreas Rumpf
328e7a1005
options.nim: no global variables anymore
2018-05-13 17:52:21 +02:00
Andreas Rumpf
297038f704
move more globals into the config object
2018-05-13 14:19:42 +02:00
Andreas Rumpf
3c4ceea427
move more global variables into ConfigRef
2018-05-11 15:28:26 +02:00
Andreas Rumpf
a8a544a8f7
avoid more global variables
2018-05-11 15:01:28 +02:00
Andreas Rumpf
7eb39d9d26
guards.nim does compile
2018-05-11 13:07:16 +02:00
Andreas Rumpf
0d56dd4677
big refactoring: magicsys compiles again
2018-05-10 13:12:42 +02:00
Andreas Rumpf
61e57cfa13
big refactoring: parser compiles again
2018-05-10 10:49:51 +02:00
Yuriy Glukhov
d71f69ab50
Closure iter transformation
2018-05-09 22:25:27 +03:00
Andreas Rumpf
79ec95a9b5
remove hardly used TimeMachine feature
2018-05-06 20:07:42 +02:00
Andreas Rumpf
b7116a28ee
compiler refactoring, pass config around explicitly
2018-05-05 18:47:29 +02:00
Andreas Rumpf
599b5d6dcb
make 'not nil' experimental
2018-05-02 13:34:53 +02:00
Araq
85af8fb74c
introduce --laxstrings switch for backwards compatibility
2018-04-30 19:50:36 +02:00
Andreas Rumpf
b503ca03f6
refactoring: move 'argument' global into config object
2018-04-24 11:58:18 +02:00
Andreas Rumpf
ee366f1746
.experimental can now be used to enable specific features
2018-04-24 09:34:29 +02:00
Jacek Sieka
72dfe176f5
remove dead code elimination option ( #7669 )
2018-04-23 11:02:38 +02:00
treeform
35b0cc67e8
Remove PHP backend. ( #7606 )
...
* remove php
* fix
* keep nimphpext
* remove targetJS enum
2018-04-18 20:40:11 +02:00
AdrianV
0ce28d15cc
Nim namespace for cpp ( #7453 )
...
- new option --usenamespace to generate nim cpp code in its own namespace Nim
- minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
2018-04-15 13:43:01 +02:00
Andreas Rumpf
9e884c31dd
the new feature's name is hotCodeReloading
2018-04-13 23:48:56 +02:00