Zahary Karadjov
afddae5aaf
Merge branch 'upstream' into devel
...
Conflicts:
compiler/ccgutils.nim
compiler/msgs.nim
compiler/sem.nim
compiler/semexprs.nim
compiler/seminst.nim
compiler/semmagic.nim
compiler/semstmts.nim
compiler/semtypes.nim
compiler/semtypinst.nim
compiler/sigmatch.nim
compiler/types.nim
compiler/vmgen.nim
lib/core/macros.nim
lib/system.nim
tests/reject/tenummix.nim
web/news.txt
2013-12-29 17:21:00 +02:00
Araq
b731e6ef1c
case consistency: cs:partial bootstraps on windows
2013-12-29 03:19:10 +01:00
Araq
438703f59e
case consistency: next steps
2013-12-29 01:13:51 +01:00
Araq
92b8fac94a
case consistency part 4
2013-12-27 23:10:36 +01:00
Araq
2df9b442c6
case consistency part 1
2013-12-27 15:48:53 +01:00
Zahary Karadjov
027f30610e
static params: expr[T] is now static[T]
...
This introduces tyStatic and successfully bootstraps and handles
few simple test cases. Static params within macros are no longer
treated as PNimrodNodes - they are now equivalent to constants
of the designated type.
2013-12-19 01:06:38 +02:00
Zahary Karadjov
31dd66acbf
support for multiple test variables and var qualifiers in user-defined type classes
2013-11-13 02:24:08 +02:00
Araq
422327c010
fixed another semicolon related parsing bug
2013-10-02 07:57:30 +02:00
Araq
a943905d6c
fixes #609
2013-10-01 20:24:37 +02:00
Araq
8b5aa221ad
support for multiple modules of the same name; niminst supports 'platforms'; minor bugfixes
2013-09-24 16:07:07 +02:00
Araq
83584bf889
implemented 'import a as b'
2013-09-24 09:36:31 +02:00
Zahary Karadjov
6082595e96
Merge branch 'type-classes' into upstream
2013-09-03 03:14:56 +03:00
Araq
f2b9af6ae1
bugfix: line information for comments
2013-09-01 18:50:03 +02:00
Zahary Karadjov
b5d833b329
implemented the using statement
2013-08-31 19:40:36 +03:00
Zahary Karadjov
03577bc936
fix parsing of `proc foo(x: distinct Type)`
2013-08-24 23:44:37 +03:00
Zahary Karadjov
037a1a3e0f
parsing of user defined type classes
2013-08-23 21:36:56 +03:00
Zahary Karadjov
ea54aa386c
Revert "Revert "allow keyword params for the [] and {} operators""
...
This reverts commit b7ea4a7e65 .
2013-08-19 01:29:22 +03:00
Araq
fd2a808266
fixes token's column information
2013-07-30 08:45:00 +02:00
Araq
b3ac785f95
fixes semicolon parsing issue
2013-06-03 08:05:32 +02:00
Araq
b7ea4a7e65
Revert "allow keyword params for the [] and {} operators"
...
This reverts commit bfff1ac8b2 .
2013-05-27 23:19:11 +02:00
Zahary Karadjov
bfff1ac8b2
allow keyword params for the [] and {} operators
...
conceptually, these operators are not very different from regular procs in the way
they are defined and overloaded. keyword params for them are admittedly less useful,
but they improve consistency and may help with generic instantiations once default
generic parameters are supported.
2013-05-26 11:14:23 +03:00
Araq
9b9a180947
'inject' for 'for' loop variables
2013-05-14 00:41:07 +02:00
Araq
fa0a327dd6
completed expr/stmt unification
2013-05-03 23:51:43 +02:00
Araq
8e5d6834cc
new parser works with docgen
2013-05-02 02:17:03 +02:00
Araq
e70cc64e90
proper scoping for 'if'
2013-04-30 14:40:54 +02:00
Araq
2afadc5c9c
first steps to the expr/stmt unification
2013-04-30 02:38:49 +02:00
Araq
f182cefc08
new parser: diallow more things
2013-04-23 23:11:33 +02:00
Araq
61e9bd0c48
made some tests green
2013-04-22 21:18:48 +02:00
Araq
f7c7d95d89
bugfix: 'import x var y' without newline doesn't parse anymore
2013-04-21 22:04:56 +02:00
Araq
8a595b631b
new parsing scheme is documented
2013-04-21 20:09:46 +02:00
Araq
03764f0aba
new parser works
2013-04-20 18:46:08 +02:00
Araq
7e329db45f
next steps for the new parser
2013-04-20 03:03:12 +02:00
Araq
2796121dd7
next steps for the new parser/grammar
2013-04-20 01:59:39 +02:00
Araq
04216fc750
first steps to the new parser/grammar
2013-04-19 09:07:01 +02:00
Araq
18fbaab216
fixes #310
2013-04-13 01:09:15 +02:00
Araq
1ab598b336
fixes #283
2013-04-11 11:45:59 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +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
Zahary Karadjov
81a3585872
merged upstream master
2013-01-27 23:41:45 +02:00
Araq
92e10e4b18
implemented 'import except'
2012-11-28 23:54:23 +01:00
Araq
0d19de18cc
first steps for the 'export' feature
2012-11-28 02:02:46 +01:00
Zahary Karadjov
36e25a6849
CaaS in-memory caching
...
removed some redundant filepath params and variables and
switched to canonical paths in most places
2012-11-28 01:15:13 +02:00
Araq
c43bf78000
fixed recently introduced parser bugs
2012-11-26 19:31:55 +01:00
Araq
dd9ad9e497
next steps for first class iterators
2012-11-26 02:43:32 +01:00
Araq
538699a281
parser support for 'not nil' annotation
2012-11-25 23:40:42 +01:00
Araq
ccd2934e4a
first steps for 'not nil' annotation
2012-11-25 11:03:14 +01:00
Araq
f610d2d221
'iterator' as type description
2012-11-22 08:31:40 +01:00
Araq
7f6633a06f
added system.finished for first class iterators
2012-11-17 01:25:32 +01:00
Araq
74acf05e0e
bugfix: prevent endless loop in the parser for 'nimrod check'
2012-10-10 00:59:09 +02:00