Araq
3620155d93
bugfix: subtle bug about 'var' parameters in templates
2013-03-17 20:43:31 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
2b4922aea0
object constructors work now
2013-03-08 01:19:47 +01:00
Araq
f1b8f83495
next steps for object construction expressions
2013-03-07 08:43:44 +01:00
Araq
225d657019
first steps to implement object construction expressions
2013-03-07 01:52:17 +01:00
Araq
4f79e34a9a
fixed some typos
2013-03-05 21:36:06 +01:00
Araq
16821e31be
bugfix: tvtable works again
2013-03-05 07:39:52 +01:00
Araq
4b0cdc6db7
fixes for the new overloading resolution
2013-03-03 16:35:19 +01:00
Araq
5b0d8246f7
make some tests green
2013-03-03 12:05:03 +01:00
Araq
eebee0eff2
lazy operand sem'checking (beware)
2013-03-02 20:23:56 +01:00
Araq
a8aa1e1dca
fixes #286
2013-02-19 00:45:57 +01:00
Zahary Karadjov
81a3585872
merged upstream master
2013-01-27 23:41:45 +02:00
Zahary Karadjov
55f8ed2452
remove any traces of the old global generics cache
2013-01-27 21:28:34 +02:00
Araq
0d978c4a9a
fixed some closure related bugs
2013-01-22 00:29:54 +01:00
Araq
a22c1f444f
fixes #271
2012-12-15 22:35:16 +01:00
Araq
6ce15652d3
Merge branch 'master' of github.com:Araq/Nimrod
2012-12-02 11:13:05 +01:00
Araq
c98e3d2c27
implements 'export' feature
2012-12-01 19:10:47 +01:00
Araq
da5ba6ce62
resolved conflicts
2012-11-30 02:09:04 +01:00
Araq
92e10e4b18
implemented 'import except'
2012-11-28 23:54:23 +01:00
Araq
0ef08e49e7
bugfix: better implict 'items' support
2012-11-28 19:57:41 +01:00
Araq
9483606d5b
bugfix: implicit items/pairs work better
2012-11-28 08:03:25 +01:00
Araq
2591ac0ada
'return' for first class iterators
2012-11-26 08:47:57 +01:00
Araq
7f6633a06f
added system.finished for first class iterators
2012-11-17 01:25:32 +01:00
Zahary Karadjov
32d0ac01dc
AST quasi-quoting for macros
2012-11-11 17:02:13 +02: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
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
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
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
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
2aabae702d
fixes ttypeselectors
2012-09-28 14:30:48 +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
83b90b941b
bugfix: proc bodies as expr
2012-09-23 09:02:11 +02:00
Araq
759b3201ad
proc bodies can be expressions with a type
2012-09-22 22:43:36 +02:00
Araq
043921c7a7
fixes #194
2012-09-20 23:44:52 +02:00
Araq
cb6ad8cb74
bugfix: 'nimrod i' works again
2012-09-18 20:59:14 +02:00
Araq
a71c5f98ea
made tests green again
2012-09-18 00:36:48 +02:00
Araq
391fb89a3e
some support for passing blocks to overloaded templates/macros
2012-09-17 20:30:15 +02:00
Araq
d336cb4957
bugfix: echo vs debugEcho
2012-09-13 17:33:20 +02:00
Araq
23c3af80f6
semExpr/semStmt merged
2012-09-13 08:33:55 +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
Araq
b64eeeb430
term rewriting improvements
2012-09-08 15:43:21 +02:00
Araq
af7c92c003
term rewriting macros fully implemented; still buggy
2012-09-03 00:55:44 +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