Commit Graph

11173 Commits

Author SHA1 Message Date
Eduardo Bart
edefe4db21 Futher improve seq assingment speed by 2x factor (#6437) 2017-10-09 22:55:12 +02:00
Andreas Rumpf
d8746398c4 allow macros to produce nnkGotoState and nkState 2017-10-09 21:12:40 +02:00
Andreas Rumpf
c81e9069f2 minor todo.txt update 2017-10-09 21:12:40 +02:00
Andreas Rumpf
cf01cb1935 preparations for a new AST transformation pass with the aim of giving us reliable destructors 2017-10-09 21:12:40 +02:00
Andreas Rumpf
6e337fe58a further preparations for 'opt' builtin type 2017-10-09 21:12:40 +02:00
Andreas Rumpf
740c07ead4 fixes a codegen bug: in 'result = f(result)' the default initialization for 'result' IS required 2017-10-09 21:12:40 +02:00
Andreas Rumpf
7eaa2474a2 disable the new DFA 2017-10-09 21:12:40 +02:00
Andreas Rumpf
b9511a2d7f work in progress: a dataflow architecture for Nim 2017-10-09 21:12:40 +02:00
Eduardo Bart
5c1a842b88 Add missing nilChecks compiling option (#6480) 2017-10-09 19:09:49 +02:00
Charlie Barto
d55e02ddf1 fixes to allow the usage of clang on windows with the msvc abi and ms headers (#6442) 2017-10-09 17:26:53 +02:00
Andreas Rumpf
9b1a23c554 minor breacking change: in string formats '' the '1' is now interpreted as a number, not as an identifier. This is more consistent with the rest of the mini language and allows '12'. 2017-10-06 08:28:16 +02:00
Andreas Rumpf
125ccd303e nimpretty bugfix 2017-10-06 08:20:56 +02:00
Andreas Rumpf
2d5fdd288e system.nim: doc comment fix 2017-10-06 08:14:03 +02:00
Andreas Rumpf
eddf9abd13 beginnings of the new nimpretty tool; still unusable 2017-10-05 08:43:22 +02:00
GULPF
0b7b116f04 Call tzset to initialize timezone (#6466) 2017-10-03 07:31:06 +02:00
Andreas Rumpf
9d4f5c6d2c enable unguarded_access test 2017-10-02 23:35:56 +02:00
Andreas Rumpf
a883005f65 attempt to make appveyor green again 2017-10-02 23:25:21 +02:00
Euan T
4617114453 Fix documentation for the $ proc on an option (#6449) 2017-10-02 16:11:53 +02:00
Bo Lingen
535f21ced3 direct nim --version to stdout rather than stderr (#6460)
Closes #6298
2017-10-02 12:20:24 +02:00
Dominik Picheta
1c6c87f47f Install sfml on Mac OS X in travis. 2017-10-02 11:14:52 +01:00
Dominik Picheta
911551aaed Install libsfml-dev on travis. 2017-10-02 11:13:54 +01:00
Andreas Rumpf
02ff5f596c implemented new experimental scriptable import mechanism 2017-10-01 23:38:23 +02:00
Dominik Picheta
7889c03cbc Add tests for examples from Nim in Action. 2017-10-01 17:17:40 +01:00
Dominik Picheta
a585748f27 Remove basic2d/basic3d. 2017-10-01 16:09:05 +01:00
Andreas Rumpf
68c7da227f make tests green again 2017-10-01 07:46:13 +02:00
Andreas Rumpf
e8eb496e6f make tests green again 2017-09-30 22:34:54 +02:00
Andreas Rumpf
ddc131cf07 the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
Araq
b2c358be96 the 'using construct is not .experimental anymore 2017-09-30 18:32:44 +02:00
Araq
3ccc9c467d 'with' and 'without' are not keywords anymore 2017-09-30 18:32:44 +02:00
GULPF
5cf789ac3f Improved unittest check macro, fixes #5784 (#6446) 2017-09-30 15:39:00 +02:00
Araq
7e07fc5893 finish.nim tool: make path environment creation more robust 2017-09-30 15:37:36 +02:00
Araq
7b63ee85b9 fixes #6452 2017-09-30 15:37:01 +02:00
Araq
4b350d2632 osproc: fixes a memory leak affecting Windows 2017-09-30 15:36:13 +02:00
Andreas Rumpf
0314075639 revert the 'wasMoved' logic until the write barrier has been adapted 2017-09-29 11:33:40 +02:00
Andreas Rumpf
70e94b8c9e GCs: use add instead of & 2017-09-29 11:20:28 +02:00
Andreas Rumpf
599c429fdd Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-28 21:52:45 +02:00
Andreas Rumpf
f151b7efd1 added missing test for methods 2017-09-28 21:52:23 +02:00
Andreas Rumpf
7349d12e96 GC v2 works sometimes 2017-09-28 21:48:43 +02:00
Andreas Rumpf
05c6cb5f9f Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-28 10:35:59 +02:00
Andreas Rumpf
d453bc1d4d fixes #6438 2017-09-28 10:35:45 +02:00
konqoro
5ae82708aa Add default value for filename in parseJson proc (#6441) 2017-09-28 10:35:19 +02:00
Alexander Ivanov
455452e107 Fix node quit (#6444) 2017-09-28 08:51:51 +02:00
Zach Smith
7abad507c9 Add flatMap operator to Options (#6404)
* Add >>= operator to Options

* options.bind callback signature: A -> Option[B]

* Use `flatMap` as the name of the Option bind operation.

* Rename Options test "bind" to "flatMap"

* CR from @dom96: Remove spaces inside of check() call
2017-09-27 21:55:55 +01:00
Andreas Rumpf
7083c8df57 minor improvement for the db_sqlite module 2017-09-27 12:00:19 +02:00
Andreas Rumpf
414e7eff04 make tests green again 2017-09-26 23:07:37 +02:00
Andreas Rumpf
2bdbe97af1 workaround a GC/codegen issue that proves nasty to fix 2017-09-26 22:19:31 +02:00
Andreas Rumpf
61720e0df9 breaking change: getAst strips away pointless nnkStmtList nodes; node rendering of nnkStmtList without wrong indentation 2017-09-26 10:24:14 +02:00
Andreas Rumpf
eeb2661a28 fixes #6433 2017-09-25 15:22:07 +02:00
Andreas Rumpf
d3dc753732 make the tester compile again 2017-09-25 14:52:52 +02:00
Andreas Rumpf
07cf7d3340 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-25 14:27:36 +02:00