Andreas Rumpf
|
4948cf3b4c
|
make the build more robust
|
2018-04-30 11:54:26 +02:00 |
|
Andreas Rumpf
|
9b8603adcd
|
strutils: code cleanups and do not rely on the terminating binary zero anymore
|
2018-04-28 21:59:43 +02:00 |
|
Andreas Rumpf
|
f64f9e50cc
|
correct comparisons for nil strings/seqs
|
2018-04-28 15:13:44 +02:00 |
|
Andreas Rumpf
|
13a380bca6
|
make tests green
|
2018-04-28 13:10:45 +02:00 |
|
Andreas Rumpf
|
aded62520b
|
string to cstring conversions produce the empty C string for nil; this will be consistent with alternative string implementations
|
2018-04-28 11:12:23 +02:00 |
|
Andreas Rumpf
|
e3379770b2
|
codegen: support nil strings/seqs in more places
|
2018-04-28 09:56:10 +02:00 |
|
Andreas Rumpf
|
7c538b26ad
|
nil in string concats does not produce crashes anymore
|
2018-04-27 21:33:05 +02:00 |
|
Andreas Rumpf
|
ce36b8efd6
|
setLen doesn't crash on nil strings/seqs anymore
|
2018-04-27 11:07:40 +02:00 |
|
Andreas Rumpf
|
ef1b547f35
|
'add' on a nil sequence doesn't produce a crash anymore
|
2018-04-27 09:57:20 +02:00 |
|
Jacek Sieka
|
72dfe176f5
|
remove dead code elimination option (#7669)
|
2018-04-23 11:02:38 +02:00 |
|
Andreas Rumpf
|
33b69f0ed0
|
refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654
|
2018-04-21 08:13:37 +02:00 |
|
Andreas Rumpf
|
47335aab41
|
introduce nkTupleConstr AST node for unary tuple construction; breaking change
|
2018-04-13 17:45:58 +02:00 |
|
Jacek Sieka
|
85e21158db
|
Cleanups 20180401 (#7458)
|
2018-04-12 17:35:10 +02:00 |
|
Araq
|
aa6353e4fa
|
fixes #6843
|
2018-04-06 13:10:22 +02:00 |
|
Andreas Rumpf
|
d837362216
|
C codegen: preparations for different seq and string implementations
|
2018-04-03 10:25:20 +02:00 |
|
Andreas Rumpf
|
cc6fe6e578
|
fixes codegen for nil cstrings
|
2018-04-02 17:00:35 +02:00 |
|
Araq
|
1d9343080d
|
added toOpenArray builtin for zero-copy slices; syntax sugar yet to come
|
2018-03-24 20:26:34 +01:00 |
|
cooldome
|
e2c2ae8e7e
|
fixes #7392 (#7395)
|
2018-03-23 13:28:22 +01:00 |
|
cooldome
|
70b28a39fe
|
Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340)
Do not emit object definition it if used only by ref or ptr
|
2018-03-16 16:21:03 +01:00 |
|
Andreas Rumpf
|
08282b1355
|
make 'memset' calls more robust; refs #7341
|
2018-03-16 15:44:40 +01:00 |
|
Andreas Rumpf
|
c99f952dfb
|
basic 'lent T' test works
|
2018-01-21 03:04:22 +01:00 |
|
jcosborn
|
d0a9fac362
|
avoid creating temporary in genObjConstr if possible (#7032)
|
2018-01-11 02:01:51 +01:00 |
|
Andreas Rumpf
|
e4081a7201
|
preparations for language extensions: 'sink' and 'lent' types
|
2018-01-07 23:09:26 +01:00 |
|
Zahary Karadjov
|
2ceee884fe
|
fix #6462
|
2017-12-21 11:08:45 +01:00 |
|
Zahary Karadjov
|
057d5789ba
|
fix #6277
|
2017-12-21 11:06:36 +01:00 |
|
Araq
|
ee67a67ac4
|
first steps in adding template/macro calls to stack traces
|
2017-12-21 10:03:33 +01:00 |
|
Araq
|
a5e4d2f7a3
|
fixes #668
|
2017-12-15 11:21:49 +01:00 |
|
Araq
|
49870579cc
|
ccgexprs.nim: added support for 'debugMagics'
|
2017-11-30 12:11:38 +01:00 |
|
Araq
|
8a601669ef
|
fixes #6489
|
2017-11-23 02:32:51 +01:00 |
|
andri lim
|
b174e9f42a
|
fixes #5521 object variants superclass trigger bad codegen (#6120)
|
2017-11-19 13:12:26 +01:00 |
|
Yuriy Glukhov
|
e1ed34627f
|
Fixes #5979 (#5980)
|
2017-11-19 02:32:39 +01:00 |
|
Andreas Rumpf
|
416aa921fa
|
fixes #6757
|
2017-11-17 18:02:47 +01:00 |
|
Andreas Rumpf
|
70ea45cdba
|
deprecated unary '<'
|
2017-10-29 08:37:13 +01:00 |
|
Andreas Rumpf
|
c6235920cb
|
backend preparations for incomplete/forwarded object types
|
2017-10-28 13:46:43 +02:00 |
|
Andreas Rumpf
|
9485f1c888
|
make tests green again
|
2017-10-16 20:29:16 +02:00 |
|
Andreas Rumpf
|
7eeef4aae7
|
fixes #1137
|
2017-10-16 16:47:10 +02:00 |
|
Araq
|
9d5f54f456
|
fixes #5007
|
2017-10-16 13:28:36 +02:00 |
|
Andreas Rumpf
|
1a61c4d46d
|
first implementation of the 'func' keyword
|
2017-09-23 23:22:53 +02:00 |
|
Andreas Rumpf
|
3936587c06
|
fixes #6403
|
2017-09-21 21:07:18 +02:00 |
|
Andreas Rumpf
|
405b9c8a85
|
refactoring: TLoc knows the node it originated from; it is planned to use this to produce better C code (move optimizations)
|
2017-09-21 14:38:45 +02:00 |
|
Andreas Rumpf
|
a04c7d8b38
|
introduce OnHeapNew and rename TLoc.s to TLoc.storage
|
2017-09-21 11:38:04 +02:00 |
|
Andreas Rumpf
|
2ef65d5cdf
|
C++ codgen: do not emit struct literals if not possible
|
2017-09-05 09:28:36 +02:00 |
|
Araq
|
21e22624a2
|
fixes #6294
|
2017-09-05 01:03:23 +02:00 |
|
Parashurama
|
0861249de7
|
Fix seq.setLen initialisation in VM (#6224)
|
2017-09-02 22:53:22 +02:00 |
|
Andreas Rumpf
|
920f4acadf
|
fixes #6279
|
2017-08-29 00:33:46 +02:00 |
|
Andreas Rumpf
|
88b65ea957
|
fixes #6234
|
2017-08-11 20:14:44 +02:00 |
|
Araq
|
81ce73db94
|
fixes #5892
|
2017-07-17 16:43:10 +02:00 |
|
Araq
|
ad2ef0f70a
|
fixes #6118
|
2017-07-17 11:42:26 +02:00 |
|
Andreas Rumpf
|
b6307dded3
|
fixes #6037
|
2017-07-09 00:45:14 +02:00 |
|
Zahary Karadjov
|
b199c5af4e
|
fix #5968
|
2017-06-20 11:29:42 +02:00 |
|