Commit Graph

276 Commits

Author SHA1 Message Date
Zahary Karadjov
770d4a997e implemented case expressions 2012-10-03 01:59:49 +03:00
Zahary Karadjov
92f70b08f9 table constructors now mimic more closely the syntax of case... of...
see the safePrintF example in the manual as a motivation
2012-10-03 01:59:49 +03:00
Zahary Karadjov
7e44015491 implemented return type inference
Other fixes:
* bind once is now the default for type classes as documented in the manual
* fixes an issue in template overloading (erroneous  ambiguity when different typedesc params were used)
2012-10-03 01:59:49 +03:00
Zahary Karadjov
88ea9073c3 missing documentation added to the manual
documented:
* closures and the do notation
* type classes
* return type inference
* typedesc parameters and values
* destructor pragma
* fixed a number of typos
2012-09-27 22:44:52 +03:00
Zahary Karadjov
04c5f58ce4 normalized the line endings in the manual 2012-09-27 22:44:52 +03:00
Araq
3ef146b0ea 'mixin' and 'interface' are now keywords 2012-09-22 10:04:31 +02:00
Araq
75abf72503 profiler improvements 2012-09-17 00:31:41 +02:00
Araq
ad6ee9e857 profiler documentation 2012-09-15 01:27:53 +02:00
Araq
d336cb4957 bugfix: echo vs debugEcho 2012-09-13 17:33:20 +02:00
Araq
a783077cfd splitted echo into echo/debugEcho 2012-09-13 08:46:24 +02:00
Araq
d48d3d0bd1 small bugfixes; reactivated tests/compile 2012-09-11 23:21:02 +02:00
Araq
64c638a9dc first steps for overloading support of passing blocks; bugfix: test results of 'compile' are not overwritten 2012-09-11 08:09:34 +02:00
Araq
92b449562e tr macros now documented 2012-09-10 19:34:16 +02:00
Araq
580d85d233 implemented 'pure' enums 2012-09-08 20:51:50 +02:00
Araq
b4cd119800 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-03 00:56:06 +02:00
Araq
af7c92c003 term rewriting macros fully implemented; still buggy 2012-09-03 00:55:44 +02:00
Dominik Picheta
223b4f45ed Added fsmonitor module. 2012-09-02 23:26:49 +01:00
Araq
1d14cb1ad8 next steps towards term rewriting macros; simple examples work 2012-08-30 22:55:32 +02:00
Araq
b4844a189d parameter passing works the same for macros and templates; use callsite magic to access the invokation AST 2012-08-28 22:15:29 +02:00
Araq
b5b5e6e76d distinguish properly between nkOpen and nkClosedSymChoice 2012-08-26 02:47:17 +02:00
Araq
9a7f0cd851 bindSym suffices; no 'bind' for macros anymore 2012-08-25 01:34:50 +02:00
Araq
d17caa86e8 objects with no ancestor are not implicitely final 2012-08-24 17:33:04 +02:00
Araq
afcff024a1 documented bind in macros 2012-08-24 08:18:48 +02:00
Araq
bdf3bee055 implemented backslash for continuation comments 2012-08-23 08:45:40 +02:00
Araq
f893179889 documented hygienic templates; made tests green; fixed system.clamp 2012-08-22 22:46:02 +02:00
Araq
5e15dec175 first steps to make templates hygienic 2012-08-20 01:13:13 +02:00
Araq
e4c432387e bycopy/byref for object/tuple types 2012-08-16 17:54:11 +02:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
c7158af752 idetools: 'usages' and 'def' should work now; documented js backend 2012-08-05 12:33:23 +02:00
Araq
559980c890 fixed some typos in the documentation 2012-07-31 08:11:10 +02:00
Araq
674c05f426 made compiler more robust for idetools; implemented idetools.usages 2012-07-30 23:07:19 +02:00
Araq
538b06a123 implements #173 2012-07-28 14:16:08 +02:00
Araq
c1c059356c fixes #171 2012-07-25 23:34:16 +02:00
Araq
ed915a309e DLLs should work again; fixes #169 2012-07-24 01:14:21 +02:00
Araq
43f057c5aa got rid of some mAddU64 etc. magics 2012-07-20 07:52:04 +02:00
Araq
39235e21f5 bugfixes for the symbol mangling; implements #129 2012-07-19 17:38:52 +02:00
Araq
98fd408adc implemented #133 2012-07-19 16:38:46 +02:00
Araq
e68830a952 improvements for 'bind', fixes #166 2012-07-18 17:21:10 +02:00
Araq
526be8a4cf tutorial improvements 2012-07-17 08:25:20 +02:00
Araq
8d99753d63 preparations for making 'closure' the default calling convention for proc types 2012-07-16 23:00:57 +02:00
Araq
4215686cce x11 example compiles again; updated python wrapper; compiler supports variables in DLLs 2012-07-16 08:11:37 +02:00
Araq
96be38e794 made a test green again 2012-07-15 08:43:05 +02:00
Araq
b4084df434 improved unsigned support 2012-07-14 14:03:13 +02:00
Araq
94013a4cff ';' as statement separator 2012-07-12 08:17:22 +02:00
Araq
b4a9aca2d3 ';' now valid for parameter lists 2012-07-11 18:17:39 +02:00
Araq
f0dd96fa58 cross-compilation improvements 2012-07-08 23:33:45 +02:00
Araq
4fbba0a65a changed integer promotion rules; breaks bootstrapping and lots of code 2012-07-08 21:03:47 +02:00
Araq
36247e0947 added devel/logging; weakrefs test; next steps for proper unsigned support 2012-07-05 00:03:33 +02:00
Araq
8ef48a34e5 fixes #150; next steps for proper unsigned support 2012-07-03 00:59:36 +02:00
Araq
2e2650c708 ' is optional in type suffixes for numerical literals 2012-07-02 08:49:38 +02:00