Commit Graph

11210 Commits

Author SHA1 Message Date
Yury Benesh
bfd3ac4ee7 Added CAS to system/atomics.nim 2012-10-13 00:04:09 +03: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
Dominik Picheta
b3913a28c9 Wrapped GtkInfoBar, GtkComboBox and GtkComboBoxText 2012-10-11 22:14:59 +01:00
Zahary Karadjov
11cd0fde42 add static assertions in the generated code about platform-related assumptions 2012-10-11 13:22:18 +03:00
Araq
8717742f00 bugfix: leak in db_sqlite.GetValue 2012-10-10 01:05:03 +02:00
Araq
fe7dd31b61 Merge branch 'master' of github.com:Araq/Nimrod 2012-10-10 01:03:04 +02: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
Dominik Picheta
8f3dc6ebd3 Fixes segfault in db_sqlite. Fixes problems with times.format. 2012-10-07 15:37:12 +01:00
Araq
5a83bd8812 Merge branch 'master' of github.com:Araq/Nimrod 2012-10-06 22:47:08 +02:00
Araq
70fa5a6df0 attempt to fix #183 2012-10-06 22:46:41 +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
f28b7be6a3 fixes #120 2012-10-04 17:24:42 +03: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
a6d5707faf added titer7 test 2012-10-04 13:00:37 +02:00
Araq
1dc2c780f1 fixes #213 2012-10-04 09:49:04 +02: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
34e62d9f73 rebuilt the C sources 2012-10-03 01:59:50 +03: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
Araq
b28fcdfa93 website improvements 2012-09-29 09:12:03 +02:00
Araq
2b49000cbb Merge branch 'master' of github.com:Araq/Nimrod 2012-09-29 08:07:05 +02:00
Araq
3bcf9f4e53 opengl wrapper compiles under windows 2012-09-29 08:06:43 +02:00
Dominik Picheta
e314da76b9 Fixes async scgi. 2012-09-28 18:45:31 +01:00
Zahary Karadjov
2aabae702d fixes ttypeselectors 2012-09-28 14:30:48 +03:00
Araq
95cf849954 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-28 00:23:35 +02:00
Araq
36efc380dd website improvements; better opengl wrapper (still broken) 2012-09-28 00:22:07 +02: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
5538727945 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-26 02:22:39 +02:00
Araq
ca447be43e bugfix: c2nim and pas2nim work again 2012-09-26 02:22:22 +02:00
Zahary Karadjov
c899b51b52 test cases for the new typedesc features 2012-09-25 02:03:15 +03:00
Zahary Karadjov
badb6c0f66 improved support for typedesc values
* can be stored in constants and variables (including in containers like sequences)
* can be passed to and returned from macros
2012-09-25 02:03:15 +03:00
Araq
92b0d64018 version 0.9.0 v0.9.0 2012-09-23 21:57:19 +02:00
Araq
1de4effb46 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-23 21:35:33 +02:00
Araq
7c08d14cfd preparations for 0.9.0 2012-09-23 21:35:12 +02:00
Zahary Karadjov
27dc9fcb8f fixes #186 and the ttypedesc1 test case 2012-09-23 19:34:20 +03:00