Araq
7056ceda67
float64 is now an alias to 'float'; fixes #545
2013-08-30 12:24:54 +02:00
Zahary Karadjov
01ccb52a00
minor improvement towards tgenericshardcases
2013-08-28 01:10:51 +03:00
Zahary Karadjov
52b00630c8
fix tisop
...
Adding nil checks on the exit paths for semCompiles errors.
This was probably not needed before, because semIndirectOp
had a special detection for semCompiles contexts. We could
try to restore these, but wouldn't this just postpone the crashes
until someone tries the same expressions in nimrod check?
One of the previous commits also used errorNode to avoid
returning nil. This may be an alaternative approach.
2013-08-27 01:51:02 +03:00
Zahary Karadjov
9cc23118be
fix tcompiles
2013-08-27 01:01:03 +03:00
Zahary Karadjov
bdeaee4a33
fix tnoop
...
This commit requires further investigation.
Fixing semExpr(nkCall) once and for all to work with sym-choices and to
allow overloading with immediate templates and macros will probably set
this straight too.
2013-08-26 23:43:39 +03:00
Zahary Karadjov
28d9398de7
implemented delegators and improved the error messages of unmatched type classes
2013-08-26 23:29:24 +03:00
Zahary Karadjov
89086a8e19
prevent eval crashes due to PContext-dependent ops not being available in evalConstExpr
2013-08-25 18:11:28 +03:00
Zahary Karadjov
6378fbd66e
working code for simple cases of user-defined type classes
2013-08-25 12:17:40 +03:00
Zahary Karadjov
8682ed9bd0
pass-through of static int generic params to arrays when late instantiation is disabled
2013-08-23 01:10:20 +03:00
Zahary Karadjov
cefa16ae77
Revert "Revert "fix threading tests""
...
This reverts commit 9c45e33d8c .
2013-08-19 01:29:58 +03:00
Zahary Karadjov
f127bc387a
Revert "Revert "test cases for the new features""
...
This reverts commit e1b668c868 .
2013-08-19 01:17:07 +03:00
Zahary Karadjov
5c32156a71
fixes #534
2013-08-07 00:01:58 +03:00
Araq
84534ce4b8
Merge branch 'master' of github.com:Araq/Nimrod
2013-07-20 20:18:21 +02:00
Araq
aa88e150da
'modules' module from 'main'; minor bugfixes
2013-07-20 20:17:23 +02:00
Araq
bfbdb1f028
refactorings for the eval engine; bugfix: clean templates as accessors
2013-07-19 22:22:20 +02:00
Araq
bfca977d5f
fixes #505
2013-07-02 19:44:40 +02:00
Araq
1bdc0d1dd3
fixes lots of regressions
2013-06-29 10:04:18 +02:00
Araq
8d4f5038d0
fixes #488
2013-06-27 08:19:03 +02:00
Araq
c156f2d493
next steps for guarded data flow analysis
2013-06-11 00:31:40 +02:00
Araq
23ef565a3c
implemented large parts of the 'not nil' checking
2013-06-09 23:29:43 +02:00
Araq
4308f32255
astToStr is now immediate
2013-06-02 21:52:04 +02:00
Araq
24955f8358
fixes #458
2013-05-31 02:27:05 +02:00
Araq
9c45e33d8c
Revert "fix threading tests"
...
This reverts commit d5fffc032f .
2013-05-27 23:17:48 +02:00
Araq
e1b668c868
Revert "test cases for the new features"
...
This reverts commit 66653e8f14 .
2013-05-27 23:16:00 +02:00
Zahary Karadjov
66653e8f14
test cases for the new features
2013-05-26 22:15:30 +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
Araq
1c9b4e5d33
made some tests green; implemented 'from module import nil'
2013-05-19 23:17:16 +02:00
Araq
7b36d3d6ff
made some tests green
2013-05-19 17:06:11 +02:00
Araq
f16ded879b
updated docs
2013-05-19 03:32:37 +02:00
Araq
9f6547ba63
fixes #433
2013-05-18 23:41:44 +02:00
Zahary Karadjov
b3103c4657
fixes #429 and tstmtexpr
2013-05-12 21:01:39 +03:00
Zahary Karadjov
14b5d5f262
merged the persistent scopes work with the delayed proc compilation strategy
2013-05-12 14:41:32 +03:00
Zahary Karadjov
f317807a89
final fixes giving us a working compiler
2013-05-12 02:19:17 +03:00
Zahary Karadjov
7a2b1a7520
get rid of ImportTablePos and ModuleTablePos
2013-05-12 01:20:40 +03:00
Zahary Karadjov
3d1c6de638
get rid of the SymTab* procs in astalgo
2013-05-12 00:49:00 +03:00
Zahary Karadjov
9a6f47ae69
switch to a linked list of scopes
2013-05-11 23:45:20 +03:00
Araq
f8af7ed6b4
more intuitive behaviour for 'discardable' in expression bodies
2013-05-04 18:58:58 +02:00
Araq
af441e607f
fixes #117
2013-05-04 13:21:36 +02:00
Araq
3aa36a8568
bugfixes
2013-05-04 02:22:38 +02:00
Araq
fa0a327dd6
completed expr/stmt unification
2013-05-03 23:51:43 +02:00
Araq
1dd01e5891
revert new scope for 'if'
2013-05-02 00:36:06 +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
4f09794be9
fixes #244
2013-04-13 01:46:13 +02:00
Araq
3cb3813eed
fixes #287 ; bugfix: subrange checking is performed again
2013-04-12 16:24:58 +02:00
Araq
908383e4ca
fixes #321
2013-04-08 20:18:33 +02:00
Araq
bb3f648bd2
improvements for destructors
2013-04-08 00:10:34 +02:00
Araq
3051c52f51
fixes a long-standing bug about procvar checking
2013-03-25 01:44:52 +01:00
Araq
c9ed846a43
added system.locals
2013-03-21 21:28:46 +01:00
Araq
3620155d93
bugfix: subtle bug about 'var' parameters in templates
2013-03-17 20:43:31 +01:00