Commit Graph

589 Commits

Author SHA1 Message Date
Araq
d86f421372 fixes #247 2012-11-08 19:42:57 +01:00
Araq
ed28f3c8dc documented 'mixin' declaration 2012-11-08 08:32:08 +01:00
Araq
865d9cc6e6 added system.onRaise to support a condition system 2012-11-05 08:36:44 +01:00
Araq
42c8fd1fe2 bugfixes for exception tracking 2012-11-04 22:40:51 +01:00
Araq
6dd2c2d767 exception tracking should work 2012-11-04 18:09:15 +01:00
Araq
9f38ff0c65 next steps for exception tracking 2012-11-03 15:57:12 +01:00
Araq
224f42bbd7 bugfix: exception tracking (still disabled) 2012-11-01 19:57:48 +01:00
Araq
f35b51c68f doc2 support for nimweb; fixed graphics.withEvents 2012-11-01 08:32:30 +01:00
Araq
42d0911d6a nimbuild should work again 2012-11-01 01:11:48 +01:00
Araq
ce454fb835 exception tracking barely works; but disabled 2012-10-31 02:31:03 +01:00
Araq
2133fbfcce bugfix: wrong assertions for C++ code generation; some solaris support; first steps to an effect system 2012-10-30 22:29:03 +01:00
Araq
86ed918157 fixes #235 2012-10-24 23:26:13 +02:00
Araq
7e31134ff6 cas improvements 2012-10-24 08:43:17 +02:00
Araq
de338526ec caas barely works now 2012-10-24 01:13:44 +02:00
Araq
3f7a9e9b47 fixes #226 2012-10-19 22:11:04 +02:00
Araq
ac978b3203 bugfix: tcan_inherit_generic works again 2012-10-19 21:43:18 +02:00
Araq
172b6aacf8 fixes #230; fixes #227 2012-10-19 20:45:26 +02:00
Araq
b20663ce19 fixes #232 2012-10-19 13:24:42 +02:00
Araq
e6b52fe219 Merge branch 'master' of github.com:Araq/Nimrod 2012-10-19 01:59:51 +02:00
Araq
3f82352c2e fixed a serious code generation bug leading to wrong RTTI 2012-10-19 01:59:28 +02:00
Zahary Karadjov
2efdf3df81 fixes #106 2012-10-16 02:21:28 +03:00
Zahary Karadjov
3c9e3a6a71 Improved support for nkSymChoices in type coercions
For example, this allows you to pick up a proc with a specific signature from
an overload set.

bugfix: nimrod generated invalid code when a RVO function had a single
compile-time param

bugfix: nkHiddenDerefs were not neutralised properly for indirect proc calls
2012-10-15 21:00:29 +03:00
Araq
b800b77a1a Merge branch 'master' of github.com:Araq/Nimrod 2012-10-14 12:03:18 +02:00
Araq
6fd4b8350d bugfix: evalTemplateArgs 2012-10-14 12:02:57 +02:00
Zahary Karadjov
4ef96a7435 fixes #211
transf: fix a clang compilation error when lineDir:on is used
2012-10-13 23:31:27 +03:00
Araq
ffcbe19cd8 fixes #217 2012-10-13 01:59:20 +02:00
Araq
2193460ea6 bugfix: tests should be green again 2012-10-13 01:48:13 +02:00
Araq
1d30798363 bugfix: threads should work again; fixes #220 2012-10-12 23:34:43 +02:00
Araq
bfda844ccc Merge branch 'master' of github.com:Araq/Nimrod 2012-10-12 18:42:22 +02:00
Araq
8cadc60e08 bugfix: fixed broken expr proc bodies 2012-10-12 18:40:24 +02:00
Araq
9bbf56bdbb allow 'mixin' in generics 2012-10-12 17:13:58 +02:00
Zahary Karadjov
11cd0fde42 add static assertions in the generated code about platform-related assumptions 2012-10-11 13:22:18 +03:00
Araq
74acf05e0e bugfix: prevent endless loop in the parser for 'nimrod check' 2012-10-10 00:59:09 +02:00
Araq
d43febf81e first version of a memory profiler 2012-10-10 00:41:34 +02:00
Araq
cf06131dec better extension loading for the OpenGL wrapper 2012-10-09 17:11:33 +02:00
Zahary Karadjov
c27637747a bugfix: closures as default param values 2012-10-06 14:51:46 +03:00
Araq
a85b579718 bugfix: gensym in rofiles 2012-10-05 14:33:32 +02:00
Araq
350e178d83 Merge branch 'master' of github.com:Araq/Nimrod 2012-10-05 12:10:01 +02:00
Araq
01dfcf6310 code cleanup of caas 2012-10-05 09:52:40 +02:00
Zahary Karadjov
d9d82fb0af syntax compatibility between do blocks and stmt blocks
See the section `do notation` in the manual for more info.

* nkMacroStmt has been removed
   Macro statements are now mapped to regular nkCall nodes.
   The support for additional clauses (such as else, except, of, etc)
   have been restored - they will now appear as additional arguments
   for the nkCall node (as nkElse, nkExcept, etc nodes)

* fixed some regressions in the `is` operator and semCompiles
2012-10-04 15:37:26 +03:00
Araq
cc51581937 next steps for 'compiler as a service' 2012-10-03 21:32:06 +02:00
Araq
c2b8669e04 Merge branch 'master' of github.com:Araq/Nimrod 2012-10-03 20:51:22 +02:00
Araq
9fbee85cc9 first steps for compiler as a service 2012-10-03 20:49:43 +02:00
Zahary Karadjov
2e5265bef5 experimental support for querying the type of expressions within macros
normalised the line endings of macros.nim (minor edits otherwise)
2012-10-03 01:59:50 +03:00
Zahary Karadjov
9c8bc3a244 the is operator now works with type classes and type variables
bugfixes:
the DLL tests were failing on Mac OS X, due to an incorrect DynlibFormat
2012-10-03 01:59:49 +03:00
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
f8184e3490 always print stack traces on errors in debug builds of nimrod
I've been using this for a while and it's really more convenient than hunting the message
in msgs.nim and grepping the error code in the whole project
2012-10-03 01:59:49 +03:00
Zahary Karadjov
698785ef5e bugfix: allow tuple constructors in generic code 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