Commit Graph

2065 Commits

Author SHA1 Message Date
Araq
b92c87e2ec Merge pull request #467 from fowlmouth/patch-9
use proper types in lua
2013-06-06 14:18:55 -07:00
Araq
ce378d8984 Merge pull request #464 from fowlmouth/patch-8
made macros.dumptree and dumplisp immediate, deprecated the *_imm versions
2013-06-06 14:16:16 -07:00
Araq
9604df8431 fixes #466 2013-06-06 23:15:05 +02:00
Billingsly Wetherfordshire
463267ce12 cleaned up lualib.nim 2013-06-06 03:51:38 -06:00
Billingsly Wetherfordshire
05f0444c02 cleaned up lua.nim 2013-06-06 03:51:10 -06:00
Billingsly Wetherfordshire
516e0cb71a use proper types in lua
* ints changed to cint
* the source has been cleaned up with {.push/pop.}
* lua 5.2 has been removed (it is incompatible)
2013-06-06 03:49:31 -06:00
Billingsly Wetherfordshire
7ea77d93e3 Update news.txt 2013-06-04 22:33:55 -06:00
Billingsly Wetherfordshire
4255eb511e made macros.dumptree and dumplisp immediate, deprecated the *_imm versions 2013-06-04 22:28:20 -06:00
Araq
2aaa8f7909 implemented dataflow analysis; activate via --warning[Uninit]:on 2013-06-04 21:58:39 +02:00
Araq
f7c0cc976d fixes #456 2013-06-04 08:02:53 +02:00
Araq
2f5d5e3ba7 fixes #451 2013-06-04 07:48:46 +02:00
Araq
b487ebaaba new scoping rules for 'if' now active 2013-06-04 01:11:55 +02:00
Araq
b767f34b6b manyloc test should be green again 2013-06-04 00:58:43 +02:00
Araq
7d6556ffe7 tiny doc improvement 2013-06-03 19:33:20 +02:00
Araq
b3ac785f95 fixes semicolon parsing issue 2013-06-03 08:05:32 +02:00
Araq
865a43050d fixes #385 2013-06-03 01:21:21 +02:00
Araq
dcff5571a2 Merge branch 'master' of github.com:Araq/Nimrod 2013-06-02 21:52:35 +02:00
Araq
4308f32255 astToStr is now immediate 2013-06-02 21:52:04 +02:00
Araq
fa062ca0c4 next steps to a luajit codegen 2013-06-02 21:50:56 +02:00
Dominik Picheta
e56fdfc4be Added unittest module to docgen. 2013-05-31 12:46:21 +01:00
Araq
2ec3e6b49e more accurate effects for times.nim; bugfix for the JS codegen 2013-05-31 12:20:55 +02:00
Araq
ddedefd4c4 Merge branch 'master' of github.com:Araq/Nimrod 2013-05-31 02:28:33 +02:00
Araq
7d58b9247e Merge pull request #455 from fowlmouth/patch-7
rename json.existsKey to hasKey, deprecates existsKey
2013-05-30 17:27:53 -07:00
Araq
24955f8358 fixes #458 2013-05-31 02:27:05 +02:00
Araq
1c6ce881ec another attempt to implement #448 2013-05-31 01:36:15 +02:00
Araq
8c211113f2 better error message for subtle nil errors 2013-05-31 01:27:03 +02:00
Araq
a8ba628bcd Revert "fixes #267"
This reverts commit 7fccdedcb5.
2013-05-27 23:20:41 +02:00
Araq
75c586bbe1 Revert "bugfix: emulated thread vars used in combination with the mark & sweep GC"
This reverts commit 420789c278.
2013-05-27 23:20:20 +02:00
Araq
ede5ce9ac1 Revert "allow void as a field type"
This reverts commit aea27a7ce4.
2013-05-27 23:19:44 +02:00
Araq
b7ea4a7e65 Revert "allow keyword params for the [] and {} operators"
This reverts commit bfff1ac8b2.
2013-05-27 23:19:11 +02:00
Araq
0662ec4a43 Revert "static and default params for generics"
This reverts commit 46813bbe4e.
2013-05-27 23:18:38 +02:00
Araq
e3f93241c3 Revert "fix tforwardgeneric"
This reverts commit d82a032566.
2013-05-27 23:18:15 +02:00
Araq
9c45e33d8c Revert "fix threading tests"
This reverts commit d5fffc032f.
2013-05-27 23:17:48 +02:00
Araq
d11cf5d191 Revert "further fixes for void stripping. fixes tvoid."
This reverts commit 4ae4005f80.
2013-05-27 23:17:18 +02:00
Araq
c67abd7e61 Revert "more test made green"
This reverts commit 911e6e710f.
2013-05-27 23:16:56 +02:00
Araq
e1b668c868 Revert "test cases for the new features"
This reverts commit 66653e8f14.
2013-05-27 23:16:00 +02:00
Billingsly Wetherfordshire
65d3e51650 rename json.existsKey to hasKey, deprecates existsKey 2013-05-27 03:32:51 -07:00
Zahary Karadjov
66653e8f14 test cases for the new features 2013-05-26 22:15:30 +03:00
Zahary Karadjov
911e6e710f more test made green
the lambda lifting was trying too hard to ignore generic prods
isGenericRoutine was producing false-negatives and only
this allowed for some of the warning and error messages
to be triggered.

some files with mixed line endings were fixed
2013-05-26 21:06:39 +03:00
Zahary Karadjov
4ae4005f80 further fixes for void stripping. fixes tvoid. 2013-05-26 18:06:01 +03:00
Zahary Karadjov
d5fffc032f fix threading tests
* more type names are valid expressions now
* void is properly stripped off during generic instantiation
2013-05-26 16:23:23 +03:00
Zahary Karadjov
d82a032566 fix tforwardgeneric 2013-05-26 15:12:09 +03:00
Zahary Karadjov
46813bbe4e static and default params for generics 2013-05-26 13:59:39 +03: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
Zahary Karadjov
aea27a7ce4 allow void as a field type 2013-05-26 11:14:23 +03:00
Zahary Karadjov
420789c278 bugfix: emulated thread vars used in combination with the mark & sweep GC
resulted in invalid code generation
2013-05-26 11:14:23 +03:00
Zahary Karadjov
7fccdedcb5 fixes #267 2013-05-26 11:14:23 +03:00
Araq
c093139494 fixes #411 2013-05-26 01:53:24 +02:00
Araq
0715496d72 implements #448 2013-05-26 01:33:23 +02:00
Araq
ca02dfab48 implements #397 2013-05-26 01:19:19 +02:00