Commit Graph

3913 Commits

Author SHA1 Message Date
Mathias Stearn
07fe1aa655 Use escape sequences rather than hex in string/char literals (#6941)
This should makes documentation easier to read for people who haven't
committed the ascii table to memory.
2017-12-18 17:49:49 +01:00
Araq
ed616664f7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-18 13:13:10 +01:00
Araq
2502f86d2f next steps in giving Nim a decent DFA infrastructure 2017-12-18 13:12:10 +01:00
cooldome
3659fec725 Alternative fix for #4910 that covers #6892; fixes #6892 (#6938) 2017-12-17 23:56:21 +01:00
Araq
d244508b8a fixes #6932 2017-12-17 14:23:57 +01:00
Araq
eab46c5b7e runnableExamples feature: allow import statements and move them to the top level 2017-12-17 13:42:56 +01:00
Araq
e06d76669a renderer.nim: fixes a long standing bug that kept triple string literals from being rendered properly 2017-12-17 13:15:19 +01:00
Araq
7a711cc8e1 cleanup of the Intel compiler handling; refs #6488 2017-12-15 19:12:39 +01:00
Eduardo Bart
7c3e00d469 Fix icc compiler on linux (#6488) 2017-12-15 17:01:23 +01:00
Araq
0d744cccc2 make boostrapping work 2017-12-15 16:46:27 +01:00
Araq
d68be11fea Merge branch 'issue-6805' of https://github.com/Veladus/Nim into Veladus-issue-6805 2017-12-15 16:44:01 +01:00
Araq
e0591d4941 fixes #6626 2017-12-15 15:33:43 +01:00
Araq
be87fe9176 make tests green again 2017-12-15 13:24:47 +01:00
Araq
8db5b32ff7 make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693 2017-12-15 12:16:03 +01:00
Araq
8decf0f5ce make JS tests green again 2017-12-15 11:34:17 +01:00
Araq
a5e4d2f7a3 fixes #668 2017-12-15 11:21:49 +01:00
Araq
1bb086e7a8 fixes #5999 2017-12-14 20:55:02 +01:00
Araq
da2f689e09 fixes #6033 2017-12-14 20:49:08 +01:00
Andreas Rumpf
be16dfd195 make tests green again 2017-12-13 22:16:37 +01:00
Araq
c35788b97c make hidden visibility the default for Unix 2017-12-13 14:37:19 +01:00
Gerke Max Preussner
d3f966922e Fixed koch warning when installing Nim. (#6898) 2017-12-12 14:43:12 +01:00
Veladus
56aa16b1de removed unused constants 2017-12-11 22:09:29 +01:00
Veladus
15f72d0cf1 Now analyzes over magics instead of symbol names; but dosn't compile for me 2017-12-11 21:49:28 +01:00
Veladus
a15ddf4013 Improved error reporting 2017-12-11 21:48:22 +01:00
Andreas Rumpf
e8a52a0fc2 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-09 13:40:16 +01:00
Andreas Rumpf
14f2578604 fixes crash related to runnableExamples in Nim doc that yet uses the VM 2017-12-09 13:40:08 +01:00
jcosborn
96a5062b8c modify getTypeImpl to reduce result to final implementation (#6891)
* added test case for getTypeImpl
* modify getTypeImpl to reduce result to final implementation
2017-12-09 13:07:37 +01:00
Andreas Rumpf
f70d967d2c fixes #6889 2017-12-08 23:31:06 +01:00
Araq
b0c682de4d Merge branch 'devel' into araq-new-mm2 2017-12-08 10:06:56 +01:00
Araq
eae1aaa377 fixes another sighashes problem 2017-12-08 10:06:20 +01:00
Araq
00a230e5d8 Leak detector: give more info for anon ref objects 2017-12-08 09:19:55 +01:00
Charlie Barto
c7ba4d91a3 add dynlibOverrideAll switch (#6873) 2017-12-06 09:56:44 +01:00
jcosborn
35d7a99b6a fix getTypeInst for tyGenericInst (#6868) 2017-12-04 17:37:25 +01:00
Veladus
2c886823e7 Fixed for diffrent Typeids of Excpetion for diffrent compilation units 2017-12-02 20:57:18 +01:00
Veladus
6a2b31226e Compiler now catches when an expression is raised which is no Exception 2017-12-02 17:54:35 +01:00
Alexander Ivanov
1699d7c2a4 Implement codegenDecl for js (#6851) 2017-12-01 15:42:10 +01:00
Araq
96b7c2481c make tests green again 2017-12-01 10:18:49 +01:00
Araq
f9ddd00d3a Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-01 01:52:12 +01:00
Araq
fa92c519aa more progress on destructors; removed old destructor based code as it proved confusing 2017-12-01 01:52:00 +01:00
Araq
34ac04f705 improve the error messages when overloaded '.' operators are involved 2017-11-30 12:55:28 +01:00
Araq
49870579cc ccgexprs.nim: added support for 'debugMagics' 2017-11-30 12:11:38 +01:00
Araq
34f07d10f2 renderer.nim: support for outputting symbol magics for debugging 2017-11-30 12:09:19 +01:00
Araq
6e9a98d1e9 minor code cleanup: remove redundant .final markers 2017-11-30 12:06:44 +01:00
Yuriy Glukhov
216119212c Emit relative object file paths in genScript (#6835) 2017-11-29 17:07:16 +01:00
Andreas Rumpf
33814cf63e language change: change how the experimental dot operators work 2017-11-29 13:31:31 +01:00
Andreas Rumpf
416a322efb added lexer.newlineFollows for parser experiments 2017-11-29 11:00:25 +01:00
Anatoly Galiulin
c343303efe Fix usage of parameters types in templates #6756 (#6768) 2017-11-29 01:34:30 +01:00
Araq
c43f718301 destructors: some improvements for bug #4214: object constructors are moved too 2017-11-29 00:01:27 +01:00
Araq
7660e59afe doc gen :test: feature: created a nested directory in order to keep Nim happy in parallel builds 2017-11-28 23:13:56 +01:00
Araq
cb8dd0252f fixes #6831 2017-11-28 23:13:56 +01:00