Commit Graph

228 Commits

Author SHA1 Message Date
Araq
7720c0aafd fixes a regression related to the new typeOf parsing 2015-03-27 02:13:51 +01:00
Araq
e680e43fc2 fixes #2405 2015-03-25 14:50:08 +01:00
Araq
765f274629 fixes #1783 2015-03-23 00:09:34 +01:00
Araq
a541be8935 prepare for upcoming parsing change of unary operators 2015-03-22 09:31:15 +01:00
Araq
bf90b9c833 fixes #2346 2015-03-16 23:02:20 +01:00
Araq
13cdad8819 fixes #2304 2015-03-16 23:02:18 +01:00
def
d77c883911 globalError instead of localError when failing infinite recursion
globalError throws an exception, so this works for `nim check` as well.
2015-03-13 17:17:42 +01:00
def
c19d6cb620 Fix infinite recursion in semtypes with recursive types
Fixes #2213
2015-03-13 02:17:46 +01:00
Max Zerzouri
dba25d2622 enable syntax for anonymous tuples.
Turns out to be slightly problematic as `(int, int)` could be logically
thought of as an expression evaluating to a tuple value containing
two typedesc[int]s.

To disambiguate, the zero-tuple's type must still be written as
`tuple[]`, and what would be tuple value expressions containing only
typedescs are interpreted as types.

() # value of type `tuple[]`
(int, int) # tuple type
(int, int, ()) # value of type `(typedesc[int], typedesc[int], tuple[])`
2015-03-06 12:23:31 +13: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
b870744d5d makes Aporia build for 64bit archs 2015-03-03 13:53:31 +01:00
Araq
9053799bf5 fixes #2216 2015-02-26 02:05:23 +01:00
Araq
fce2ff161e tsigtypeop.nim works again 2015-02-25 21:36:43 +01:00
Hans Raaf
79384ea729 Allow empty sets in case/of branches.
Added support for conditional compilation using 'when' with empty sets and arrays in
'case of' branches.

 Please enter the commit message for your changes. Lines starting
2015-02-24 14:54:27 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
1e6aef62ba macros.PNimrodNode is now NimNode 2015-02-24 00:13:27 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Araq
247af96b00 cleaned up some tests 2015-02-10 20:19:45 +01:00
Araq
52e297c4e1 fixes #1956 2015-02-08 13:38:05 +01:00
Araq
b5f1957588 fixes #2057 2015-02-04 12:51:54 +01:00
Araq
fe30ec83e2 nimsuggest improvements 2015-01-30 03:04:45 +01:00
Araq
5f6131cbdc fixes #1944 2015-01-18 14:44:16 +01:00
Araq
9d0ae03918 fixes #1838 2015-01-11 13:51:30 +01:00
Araq
fd10866ae3 fixes #1919 2015-01-11 02:23:39 +01:00
Zahary Karadjov
05cbbac4e5 support for static params in the user defined type classes 2015-01-02 23:58:24 +02:00
Zahary Karadjov
aa69a8a09f expand the test case for bug 1049 2015-01-02 23:58:24 +02:00
Zahary Karadjov
da36a847a7 fix #1789 (binding to static params during generic proc sigmatch) 2014-12-31 01:45:23 +02:00
Araq
18cbd51600 fixes #1187 2014-12-19 12:53:51 +01:00
Araq
e9619d7278 fixes #1655 2014-12-17 01:11:30 +01:00
Araq
61c5c92f09 fixes #1656 2014-12-15 02:15:11 +01:00
Araq
2a1acbd1a6 fixes #1669 2014-11-22 23:09:08 +01:00
Araq
3866820eee made some tests green 2014-09-21 23:57:54 +02:00
Araq
7916b1f9aa implemented 'guard' annotation 2014-09-21 18:39:00 +02:00
Araq
344488fa0d ttypeclasses works again 2014-09-17 01:35:46 +02:00
Araq
113a1c450c generic proc type works again 2014-09-14 14:38:11 +02:00
Araq
c5dbcb548f improvements for nimfix 2014-09-10 09:48:18 +02:00
Araq
569fbe8c37 'pretty' command does not exist anymore; improvements for nimfix 2014-09-10 02:19:46 +02:00
Araq
490371977e some improvements for nimfix 2014-09-09 21:31:34 +02:00
Araq
5946747970 updated the compiler to use the new symbol names 2014-08-28 23:48:42 +02:00
Araq
c95e47216f Nimrod renamed to Nim 2014-08-28 10:01:20 +02:00
Araq
f9d7e8db2a implements #1332 2014-07-06 22:56:34 +02:00
Araq
b56f43c394 fixes #898 2014-07-01 22:58:44 +02:00
Araq
3c818c89be fixes #1285 2014-06-30 23:36:46 +02:00
Andreas Rumpf
2ec1501c7a Merge pull request #1281 from Araq/new_spawn
New spawn
2014-06-16 23:03:17 +02:00
Araq
947b152163 some changes 2014-06-09 08:03:54 +02:00
flaviut
20cb567bf5 Fix accents in enums 2014-06-03 14:15:32 -04:00
flaviut
7b1b3cbf25 More descriptive error message in semtypes enum 2014-06-03 10:12:57 -04:00
Araq
be229163af Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn 2014-06-01 22:00:06 +02:00
Clay Sweetser
10e23e9159 Renamed considerAccents to considerQuotedIdent 2014-05-26 10:42:10 -04:00