Araq
4be0d16520
added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler
2015-04-22 12:04:11 +02:00
Araq
aacaa8f171
cleaned up some magics to make room for new magics; added '..<' and '..^' templates
2015-04-22 12:04:09 +02:00
Araq
e55f5d1fd4
fixes #2505 , fixes #1853 , fixes #2522
2015-04-20 21:25:49 +02:00
Araq
2b4e233510
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-04-20 11:44:54 +02:00
Araq
751232dc7c
implements .goto support for variables
2015-04-19 02:42:40 +02:00
Zahary Karadjov
1ebf1aaa80
importing of C++ nested generics like std::vector<T>::iterator, using the apostrophe operator
2015-04-13 23:49:41 +03:00
Araq
a1b937ab33
fixes #1691
2015-04-11 10:01:11 +02:00
def
39049e151f
Get rid of deprecation warnings
2015-04-07 15:47:18 +02:00
Araq
78f371c03a
first implementation of overloading of '='; missing: rewriting let/var sections
2015-04-06 23:21:51 +02:00
Araq
a83286192f
GC-safety error messages are useful now
2015-04-04 01:19:32 +02:00
Araq
f767e1749e
don't store the scope for routines
2015-04-04 01:19:31 +02:00
Araq
ed0d9e271d
disallow negative indexing
2015-03-27 01:30:06 +01:00
Araq
5d63ecb3a4
implemented a[^1] notation
2015-03-26 02:12:38 +01:00
Araq
08c0ba379a
fixes #1805
2015-03-21 20:38:28 +01:00
Araq
5641be51c1
codegen doesn't produce line tracing commands anymore; fixes #1344
2015-03-21 20:38:27 +01:00
Araq
910ef7b2d1
'constructor' pragma for C++ support
2015-03-18 11:42:37 +01:00
Araq
bc264618f5
fixes #2257
2015-03-16 23:02:20 +01:00
Araq
13cdad8819
fixes #2304
2015-03-16 23:02:18 +01:00
Araq
970e98718d
code cleanup
2015-03-12 01:45:13 +01:00
Araq
6dbd41e875
fixes #2316
2015-03-11 20:11:08 +01:00
Araq
1efb5174f2
fixes #2220 ; #2219 ; breaks #2022 ; for #2022 callsite needs to be used
2015-03-10 12:32:46 +01:00
Andreas Rumpf
df0473d754
Merge pull request #2239 from Maxdamantus/devel
...
interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
2015-03-07 17:35:14 +01:00
Araq
d58212ccc5
fixes #1940 ; code breakage! stricter template evaluation
2015-03-07 15:43:36 +01:00
Max Zerzouri
9c126282b2
interpret tuple as a class and tuple[] as the empty tuple
...
When the indentation syntax is allowed it is always interpreted as a
tuple:
type
Unit = tuple
2015-03-06 12:20:15 +13:00
Araq
3bfcfeb0cf
don't use stdout for nimsuggest server mode
2015-02-27 16:44:55 +01:00
Araq
752052e903
implements a type API for macros
2015-02-24 00:13:28 +01:00
Araq
9080d3a9a9
small cleanup of ast.nim
2015-02-24 00:13:27 +01:00
Araq
b7f11b8b0a
fixes #2125
2015-02-18 13:44:01 +01:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
74c6c8c903
compiler distinguishes between 2 different 'var' types for C++ interop; code cleanups
2015-02-07 10:48:07 +01:00
Araq
e75e421912
C++ support: codegen generates C++'s references and avoids copies
2015-02-04 00:52:45 +01:00
Araq
a4b2762249
fixes #325
2015-01-28 19:31:36 +01:00
Araq
26b853923c
nimsuggest: first version
2015-01-27 01:36:19 +01:00
Dustin Lacewell
0619383f46
Revert 5e4ae8d
2015-01-07 14:07:06 -08:00
Zahary Karadjov
5e4ae8dbb4
fix #1858 ; Add support for generic templates and macros
...
Implementation notes:
Just after overload resolution, the resolved generic params will be added to the
call expression to be later processed in evalTemplate and evalMacroCall. These
procs have been modified to handle the increased number of parameters, but one
remaining issue is that immediate templates and macros don't go through the same
process. The next commit will outlaw the use of generic parameters with such macros.
2015-01-05 03:53:31 +02:00
Zahary Karadjov
05cbbac4e5
support for static params in the user defined type classes
2015-01-02 23:58:24 +02:00
Araq
7f415b5b11
fixes #1788
2014-12-30 03:05:29 +01:00
Araq
9280473eb1
fixes #1120
2014-12-25 17:22:41 +01:00
Araq
f96e0a7523
fixes #1690
2014-12-18 20:15:40 +01:00
Araq
4b7de4dc5e
implemented 'experimental' switch
2014-12-05 10:09:29 +01:00
Araq
e27ab36731
implements 'defer'
2014-12-04 10:12:32 +01:00
Araq
105a0616a9
implemented procCall builtin
2014-11-28 02:43:41 +01:00
Araq
8349cee613
fixes #1055
2014-11-16 20:32:05 +01:00
Araq
78346c2587
astToStr is a special magic
2014-11-14 01:39:53 +01:00
Araq
b781e25ec6
should compile with csources again
2014-10-06 01:01:23 +02:00
Araq
e65c296bcc
implemented mixed mode codegen
2014-10-03 01:21:35 +02:00
Araq
e9dec2feed
better lock level handling
2014-10-02 02:33:14 +02:00
Araq
d576fbb39a
implemented locking levels; still incomplete
2014-09-27 15:06:06 +02:00
Araq
7916b1f9aa
implemented 'guard' annotation
2014-09-21 18:39:00 +02:00
Araq
2781fea9e2
Nimrod renamed to Nim
2014-08-28 09:38:14 +02:00