Commit graph

2,792 commits

Author SHA1 Message Date
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
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
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
Araq
36efc380dd website improvements; better opengl wrapper (still broken) 2012-09-28 00:22:07 +02:00
Dominik Picheta
15dcb9a6a6 Added close() to async versions of scgi and httpserver. 2012-09-23 16:04:17 +01:00
Dominik Picheta
d00cb877fd Fixes sockets.recvFrom not setting length of data. 2012-09-23 01:31:49 +01:00
Araq
2997e26ee1 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-23 00:52:51 +02:00
Araq
759b3201ad proc bodies can be expressions with a type 2012-09-22 22:43:36 +02:00
Dominik Picheta
6c6f9e6674 Ftpclient now fully works both synchronously and asynchronously.
Fixed some deprecation doc messages. And some issues with asyncio.
2012-09-22 16:39:51 +01:00
Dominik Picheta
be1a709e7e ftpclient fixed but causes an issue with the code generator and
therefore does not compile.

Asyncio: Added handleWrite event and an ability to wrap an already
initialised TSocket to a PAsyncSocket.
Fixed tircbot test.
2012-09-21 20:39:47 +01:00
Araq
e741583f7b math.random(max: float) not available on windows 2012-09-19 00:16:23 +02:00
Araq
4892d6929a bugfix: 'defined/compiles' open an implicit mixin scope in generics 2012-09-18 16:27:02 +02:00
Araq
a71c5f98ea made tests green again 2012-09-18 00:36:48 +02:00
Araq
c934db86ad stricter symbol lookup in generics 2012-09-17 17:01:34 +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
04e4aa328b Merge branch 'master' of github.com:Araq/Nimrod 2012-09-15 00:21:29 +02:00
Araq
214c7a2ebd implemented a stack trace profiler 2012-09-15 00:21:10 +02:00
Zahary Karadjov
b6f8ab3254 [unittest] even deeper inspection of expressions and variables for the check macro 2012-09-14 00:53:30 +03:00
Araq
4a435a8fb4 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-13 18:48:14 +02:00
Araq
a783077cfd splitted echo into echo/debugEcho 2012-09-13 08:46:24 +02:00
Zahary Karadjov
36155a6813 [unittest] the check macro will print the values of params involved in failed proc calls 2012-09-13 04:10:08 +03:00
Dominik Picheta
254bc714dd Fixes IRC module. 2012-09-12 23:50:23 +01:00
Araq
eb72c7c0a0 debugger compiles again 2012-09-13 00:12:14 +02:00
Araq
a59abdf8e4 made more tests green; fixes #201 2012-09-12 21:48:37 +02:00
Araq
8178cd4fab made some tests green 2012-09-12 08:43:24 +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
Dominik Picheta
7c262b4233 Fixes scgi, adds async functionality to httpserver. 2012-09-09 22:21:23 +01:00
Araq
4cd795b3ee Merge pull request #198 from Tass/master
Implements hash(float)
2012-09-08 14:11:00 -07:00
Araq
46f652b93e unittest bugfix; made some tests green 2012-09-08 22:33:15 +02:00
Simon Hafner
1852c0548c hash() for floats 2012-09-08 15:15:28 -05:00
Araq
e2ecfb8438 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-08 15:43:40 +02:00
Araq
b64eeeb430 term rewriting improvements 2012-09-08 15:43:21 +02:00
Simon Hafner
e9bbc7235d no uniqueCounter it is 2012-09-06 17:25:52 -05:00
Simon Hafner
33cabeb04d + random number generator for floats and slices - with tests
I also took the liberty to unify the API between ECMAScript and C.
2012-09-06 16:42:53 -05: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
Dominik Picheta
d127ad5076 Asyncio module now works on file descriptors. 2012-09-02 19:58:13 +01:00
Araq
b56df72a32 made tests green again 2012-08-31 00:00:14 +02:00
Araq
1d14cb1ad8 next steps towards term rewriting macros; simple examples work 2012-08-30 22:55:32 +02:00
Araq
1786e30991 first steps towards term rewriting macros 2012-08-30 10:55:40 +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
8a92e95ccf made tests green again 2012-08-24 19:08:34 +02:00