reactormonk
6c8f7cc481
Merge pull request #2778 from avsej/patch-1
...
Fix typo in tutorial
2015-05-23 11:41:42 -05:00
Sergey Avseyev
eb6f26dd6a
Fix typo in tutorial
2015-05-23 19:32:47 +03:00
apense
d48bcb9873
Rewrote some peeking procedures
...
Use `defer`s and `read...` procs that are already in place. Someone should check that the `defer`s are written correctly. I'm new to using them.
2015-05-21 17:51:41 -04:00
Göran Krampe
0fc53151ba
Tweaked to do commas properly
2015-05-20 12:48:38 +02:00
Dominik Picheta
5ad9d874c3
Merge pull request #2767 from PhilipWitte/devel
...
Fix asyncdispatch.async bug with discard stmt
2015-05-20 11:44:35 +01:00
Philip Witte
c936cf9e8e
Fix bug with asyncdispatch.async and discard statements.
2015-05-20 03:34:48 -07:00
Göran Krampe
2cceaff88a
Fixes #2749 , traverse full inheritance for reprRecord
2015-05-20 11:59:02 +02:00
Flaviu Tamas
caa730127b
Use custom exception for option unpack
2015-05-19 17:47:54 -04:00
Flaviu Tamas
ae0c8573f2
Simplify optionals tests
2015-05-19 16:58:39 -04:00
Flaviu Tamas
a66dcd9d94
Simplify optionals module
2015-05-19 16:52:24 -04:00
Oleh Prypin
32ebcfa8ff
Implement optionals module
2015-05-19 16:38:37 -04:00
Andreas Rumpf
5d4ee87f3b
Merge pull request #2754 from def-/intval
...
Intval
2015-05-19 14:36:03 +02:00
Andreas Rumpf
d7c0b269cb
Merge pull request #2734 from def-/stdin-fix
...
Clean up stdin file reading of compiler.
2015-05-19 14:35:18 +02:00
Andreas Rumpf
c34d7e6467
Merge pull request #2761 from yglukhov/js-codegen-fix
...
Fixed JS call codegen, when first parameters are compile-time.
2015-05-19 14:33:47 +02:00
yglukhov
4439b00b19
Fixed JS call codegen, when first parameters are compile-time.
2015-05-19 13:41:18 +03:00
Koala Zen
7a2dce8012
refactored lowerBound in algorithm.nim
2015-05-18 14:59:05 -07:00
Dominik Picheta
59e95c015e
Fixes problems introduced by #2738 . Closes 2755.
2015-05-18 21:57:59 +01:00
def
2076e14a09
Update ast spec about uint literals
2015-05-18 21:34:26 +02:00
def
51de44be79
Make intVal work for uint literals in the VM
2015-05-18 21:31:24 +02:00
transfuturist
bc2aaea853
Change check for NimNode items to node kind
2015-05-17 15:05:26 -07:00
Dominik Picheta
f85dab3076
Merge pull request #2689 from def-/clang-cpp
...
Add -ldl with clang cpp compilation
2015-05-17 20:26:41 +01:00
Dominik Picheta
baee41499e
Merge pull request #2712 from nanoant/patch/macros-introduce-typenode-for-typedesc
...
Macros: Introduce typeNode(t: typedesc): NimNode
2015-05-17 18:22:55 +01:00
Dominik Picheta
60af6a2653
Merge pull request #2747 from def-/json-inline
...
Make a few json procs inline, improves performance significantly
2015-05-17 18:20:27 +01:00
Dominik Picheta
d937b4cd85
Removes superfluous toUgly, documents toUgly better.
2015-05-17 18:18:33 +01:00
Dominik Picheta
0ab2dc2954
Merge pull request #2738 from onionhammer/devel
...
Improved performance of json rendering with `$`
2015-05-17 18:13:42 +01:00
def
46264a0674
Make a few json procs inline, improves performance significantly
2015-05-17 16:13:06 +02:00
def
2613110015
Use gProjectIsStdin instead
2015-05-17 16:10:46 +02:00
Adam Strzelecki
1d47617d1b
Macros: Introduce getType(t: typedesc): NimNode
...
Since typedesc are exception in macros and they are not implicitly converted to
NimNode on macro call, we need some means to perform such conversion on demand.
Fortunately it is as simple as declaring new magic "NGetType" proc with
typedesc parameter.
NOTE: Keeping actual macro exceptional behavior for typedesc is important,
since it allows passing typedesc macro parameter to other procs or macros
expecting type parameter. If typedesc parameter was implicitly converted, then
we would lost this ability.
2015-05-17 15:28:41 +02:00
Andreas Rumpf
63f1e03278
Merge pull request #2732 from Perelandric/fix_miliseconds
...
Fixed 'milliseconds' spelling in code and docs
2015-05-17 12:04:03 +02:00
transfuturist
3d80fcb8c6
Add value check for NimNode items
2015-05-16 17:50:01 -07:00
transfuturist
7500eed0cf
Better solution: deprecation
2015-05-16 17:26:47 -07:00
pdw
d1230497dd
Updated with breaking changes
2015-05-16 14:35:41 -05:00
transfuturist
939c0a6bb8
NimNode needs an items iterator to be used nicely in for statements
2015-05-16 10:52:44 -07:00
Dominik Picheta
61c7cc2ff7
Merge pull request #2701 from borisvassilev/fill
...
Fill array with same values (was issue #2462 )
2015-05-16 18:52:30 +01:00
Dominik Picheta
4441c961c9
Merge pull request #2717 from reactormonk/sexp-to-libs
...
added documentation about sexp
2015-05-16 18:47:33 +01:00
onionhammer
30aed77d04
Fixed indentation (2 spaces) part 2
2015-05-16 12:37:07 -05:00
onionhammer
11457bc63b
Fixed indentation (2 spaces)
2015-05-16 12:35:55 -05:00
onionhammer
f1343e52e0
Added comment noting improved performance of non-pretty string conversion
2015-05-16 12:33:00 -05:00
onionhammer
edce0ca2ed
Fixed typo
2015-05-16 11:38:43 -05:00
Erik O'Leary
abc8e88c8a
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2015-05-16 11:34:09 -05:00
Dominik Picheta
4ac0804187
Merge pull request #2736 from mgee/fix-flowvar-type-in-docs
...
RawFlowVar was renamed to FlowVarBase
2015-05-16 14:11:41 +01:00
Markus Engelbrecht
5799f4f103
RawFlowVar was renamed to FlowVarBase
2015-05-16 14:35:10 +02:00
def
def61c9fcd
Clean up stdin file reading of compiler.
...
Uses "stdinfile" as the module identifier now, which prevents problems
with - colliding with the minus operator. This fixes #2422 and #2702 .
2015-05-16 12:38:53 +02:00
apense
7b26df50d7
Small sequence fix for algorithm.nim
...
Since #853 was fixed, this should work fine. The `result = @[]` was swapped to the same syntax, too.
2015-05-15 23:52:55 -04:00
Erik O'Leary
911c5d45ec
Improved performance of "$" on jsonnode
2015-05-15 22:12:31 -05:00
pdw
cb6f867495
Fixed 'milliseconds' spelling in code and docs
2015-05-15 20:15:12 -05:00
Dominik Picheta
1c0bbcff5a
Merge pull request #2718 from apense/patch-3
...
Corrected sortedByIt example
2015-05-15 20:22:46 +01:00
reactormonk
3d3dcdabfe
Merge pull request #2729 from mgee/fix-noSideEffect-typo
...
fix typo for noSideEffect pragma
2015-05-15 13:24:27 -05:00
reactormonk
2950732ec3
Merge pull request #2728 from mgee/fix-slicing-in-tut1
...
use new syntax for negative slicing in tut1
2015-05-15 13:24:20 -05:00
Markus Engelbrecht
7ba5f18e9d
fix typo for noSideEffect pragma
2015-05-15 18:42:29 +02:00