Andreas Rumpf
a9c251b8e0
fixes #3763
2016-05-12 00:38:15 +02:00
Andreas Rumpf
eae30d1961
fixes #950
2016-05-12 00:38:15 +02:00
Andreas Rumpf
34110fc118
Merge pull request #4136 from oderwat/HARA-peg-replace-cb
...
Added a replace() with callback to pegs.
2016-05-11 23:31:22 +02:00
Hans Raaf
d3bae50c3c
PHP codegen array constructor hack.
...
Because of PHP can't have refs for literal function parameters I
needed to come up with a hack such that the following code compiles with
PHP target.
```nim
type Foo = tuple[a: string, b: int]
var foo: array [0..2, Foo]
foo[0] = ("Test", 1)
foo[1] = ("Me", 2)
for x in foo:
echo x.a
echo x.b
```
2016-05-11 22:51:27 +02:00
Andreas Rumpf
4f9083268f
fixes #4145
2016-05-11 21:56:56 +02:00
Andreas Rumpf
1ae95310ad
fixes #3992
2016-05-11 21:34:54 +02:00
Andreas Rumpf
ac1a753aff
fixes #3956
2016-05-11 21:20:53 +02:00
Andreas Rumpf
8dec1dcd1f
make tests green
2016-05-11 21:17:13 +02:00
Andreas Rumpf
685b8963da
fixes #4110
2016-05-11 21:16:26 +02:00
Andreas Rumpf
11d0f3f7ec
fixes #4034
2016-05-11 20:50:03 +02:00
Andreas Rumpf
38040e7691
fixes #4040
2016-05-11 20:00:28 +02:00
Andreas Rumpf
299351a909
fixes #4070
2016-05-11 18:16:25 +02:00
Andreas Rumpf
95ffeb6079
fixes #177
2016-05-11 17:39:37 +02:00
Andreas Rumpf
d0c91131c1
makes tests green again
2016-05-11 17:11:55 +02:00
Ruslan Mustakov
0dc35b7841
Replaced ignoreStackAndRegisters with stackSize in GC_step
2016-05-11 20:02:12 +06:00
Andreas Rumpf
61700861d3
fixes #4144
2016-05-11 15:59:51 +02:00
Araq
b654aa399a
better debugging support for native debuggers; changed name mangling; fixes #3471
2016-05-10 22:03:07 +02:00
Araq
97129ebd8a
added another version of eqIdent
2016-05-10 22:03:07 +02:00
Araq
e101773d8b
added scanp macro as an alternative to pegs
2016-05-10 22:03:07 +02:00
Araq
33aeadab73
minor whitespace change
2016-05-10 22:03:07 +02:00
Araq
875132bf46
fixes a varargs[untyped] bug that kept strscans from compiling
2016-05-10 22:03:07 +02:00
Araq
b357e80833
added strscans stdlib module
2016-05-10 22:03:07 +02:00
Araq
724cd631d8
allow tabs in multi-line comments
2016-05-10 22:03:07 +02:00
Araq
2024e1335f
generate typedefs for bitsets for better debugging support
2016-05-10 22:03:07 +02:00
Araq
c912ae6cb3
enums are mapped to a typedef for better debugging support
2016-05-10 22:03:07 +02:00
Araq
c55ff72ea7
split too long lines
2016-05-10 22:03:07 +02:00
Araq
0dc92960d2
include statement is not restricted to top level statements anymore
2016-05-10 22:03:07 +02:00
Ruslan Mustakov
f288eb7543
Added ignoreStackAndRegisters parameter to GC_step
2016-05-10 21:52:44 +06:00
Dominik Picheta
9fb97e310f
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2016-05-10 12:50:48 +01:00
Dominik Picheta
2e5b19e479
Added some useful JS procs to DOM module.
2016-05-10 12:50:18 +01:00
Andreas Rumpf
d2cfd71627
Merge pull request #4131 from niv/pr-logging-syslogish
...
pure/logging: add notice level, suggest usecases
2016-05-09 16:32:34 +02:00
Hans Raaf
fcfe27a1f8
Added a replace() proc using a callback to pegs.
...
I was missing a nice way to use pegs with a more specialized replace
functionality. Here my try to create a universal and versatile version
of replace for that.
2016-05-07 17:53:43 +02:00
Federico Ceratto
36be28aa47
Add another JSON example
...
JSON generation can be a bit tricky, another example might help
2016-05-05 22:02:48 +01:00
James Osborn
0356f53b56
getTypeInst and getTypeImpl mostly working now and added test
2016-05-04 00:24:44 -05:00
James Osborn
c89397f821
changed getTypeInst handling for distinct types
2016-05-04 00:24:44 -05:00
James Osborn
d462cca21f
added getTypeInst which includes generic parameters
2016-05-04 00:24:44 -05:00
lihf8515
42bd3fd953
Update parsecfg.nim
2016-05-02 17:00:58 +08:00
lihf8515
a1de24e2f6
Update tparscfg.nim
2016-05-02 16:59:38 +08:00
niv
5da7f28990
pure/logging: add notice level, suggest usecases
2016-05-01 12:51:36 +02:00
Andreas Rumpf
c876b304ba
make test green again (code was wrong, but not detected by compiler)
2016-04-30 02:00:50 +02:00
Andreas Rumpf
f348671ba7
fixes #3544
2016-04-30 01:12:36 +02:00
Andreas Rumpf
e04f319540
fixes #4084
2016-04-29 22:30:00 +02:00
Andreas Rumpf
c870e831c8
fixes #4124
2016-04-29 20:56:30 +02:00
Andreas Rumpf
b48e178969
JS target improvements
2016-04-29 17:56:06 +02:00
Andreas Rumpf
55aa4c2689
fixes a critical PHP codegen bug
2016-04-29 09:09:49 +02:00
Dominik Picheta
d2b191dc73
Merge pull request #4122 from yglukhov/binheap
...
Added heapqueue collection. Fixed timers in asyncdispatch.
2016-04-28 16:45:32 +01:00
Yuriy Glukhov
1a8f784834
Added heapqueue collection. Fixed timers in asyncdispatch.
2016-04-28 00:04:32 +03:00
Andreas Rumpf
ae4142b2da
Merge pull request #4002 from arnetheduck/malloc-store-size
...
store block size in when using malloc and nogc
2016-04-26 16:54:27 +02:00
Andreas Rumpf
f9d9cdd1ee
Merge pull request #4099 from cheatfate/asyncdispatch2
...
Proper definitions for functions СreateIoCompletionPort and GetQueuedCompletionStatus
2016-04-26 16:53:40 +02:00
Jacek Sieka
ba1a52614b
Merge remote-tracking branch 'origin/devel' into malloc-store-size
2016-04-26 21:25:57 +08:00