Commit graph

513 commits

Author SHA1 Message Date
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
Parashurama
da52ade86e fix right shift c codegen bug. (#5919)
* fix right shift c codegen bug.

signed int must first be cast as unsigned before converting to larger
integer. The C compiler will auto convert operands to the largest type.
2017-05-31 21:05:14 +02:00
Jacek Sieka
ba4cc4bf35 a few tiny cleanups (#5712)
exposes emitLazily (for nlvm) and simplifies some conditionals
2017-05-29 09:42:26 +02:00
Araq
8f67b90997 Merge branch 'araq2' into devel 2017-05-17 22:13:57 +02:00
Dominik Picheta
06415eb69d Fixes #5821 (float32 literal comparison issue) (#5825)
* Remove processing hints for async procs.
* Fixes #5821.
2017-05-17 15:57:06 +02:00
Zahary Karadjov
2a34552596 fix 5756 2017-04-30 22:28:20 +03:00
Zahary Karadjov
e11b3520ff fix #5654 2017-04-07 19:35:05 +03:00
Zahary Karadjov
fb3ff64450 fix #5642 2017-04-07 19:28:52 +03:00
Emery Hemingway
7e351fc7fa support for the Genode OS framework (#5560) 2017-03-31 23:13:06 +02:00
Zahary Karadjov
0b0a3e5f20 support derived values in non-generic user type classes 2017-03-24 16:58:15 +02:00
Araq
46b672a6c4 minor codegen bugfix: don't use names for closures that are also mangled Nim names 2017-02-26 17:41:00 +01:00
Araq
4c5ecb46b0 fixes a minor codegen issue where name mangling could produce an identifier used by the codegen; refs #5437 2017-02-26 17:41:00 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Araq
6499462303 fixes #5402 2017-02-16 11:15:43 +01:00
Andreas Rumpf
5ff6ff28bf fixes #5339 2017-02-09 01:16:43 +01:00
Andreas Rumpf
072d79511f fixes #5314 2017-02-05 17:14:49 +01:00
Andreas Rumpf
b15e8124fe fixes #5090 2017-02-05 15:21:40 +01:00
Andreas Rumpf
fab69661ad new name mangling rules for easier debugging 2017-02-02 16:27:48 +01:00
Brandon Pickering
9f95dd8e1d Create temp var in deepcopy if needed (#5205) 2017-01-15 06:26:59 +01:00
Andreas Rumpf
6ee487b0eb bugfix: abs(0.0) should be +0.0 2017-01-10 18:29:26 +01:00
Araq
862a32fe85 make tmissing_ccgtrav_unique_type green again 2016-12-04 22:10:58 +01:00
Araq
2eee15d7f3 Merge branch 'devel' into sighashes 2016-12-01 10:06:41 +01:00
Araq
2adb2be86a fixes tconsttable regression 2016-12-01 09:01:00 +01:00