Commit Graph

117 Commits

Author SHA1 Message Date
Zahary Karadjov
492fa86638 the delegator pragma becomes a set of dot operators 2014-02-15 17:41:35 +02:00
Araq
3be07d842a fixes regression: constant fac4 didn't work 2014-02-06 02:41:53 +01:00
Araq
c30f6cfcf1 cleaned up command expressions 2014-02-02 14:34:37 +01:00
Araq
70eff919cd only 1 argument allowed for command expressions 2014-02-02 00:00:56 +01:00
Araq
9af1ab5f43 fixes a minor parser bug 2014-01-25 14:22:05 +01:00
Araq
3e5cb6644f typeClasses now documented in grammar.txt 2014-01-23 17:19:12 +01:00
Araq
37229df7fc next steps for closure iterators 2014-01-22 17:32:38 +01:00
Araq
4a0aadef4d parser support anon iterators 2014-01-20 20:07:44 +01:00
Araq
d18f40b4e2 updated grammar.txt 2014-01-20 08:35:09 +01:00
Araq
79f59d18f1 command syntax is allowed in expressions 2014-01-20 08:29:02 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
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