Zahary Karadjov
3f71b7f1f6
implements #766 ;
...
expressions such as Type.field are now recognised by the compiler.
This also fixes a bug, preventing the user-defined to check for the presence of
regular fields in addition to procs
2014-01-24 23:52:52 +02:00
Araq
73c6efdf66
'nil' as a statement is deprecated, use an empty 'discard' instead
2014-01-19 16:54:59 +01:00
Araq
a59939d295
it's the year 2014
2014-01-19 01:25:48 +01:00
Zahary Karadjov
789ba107cf
introduce tyFromExpr; fixes #618
2014-01-04 13:10:52 +02: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
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
de3b7cd413
progress towards adding negative type classes
...
[unittest bugfixes]
the block form of check now allows comments
errors when inspecting the arguments of var-accepting procs
2013-12-09 00:09:03 +02:00
Araq
98defd5a56
fixes #616
2013-10-10 00:55:54 +02:00
Simon Hafner
becd55dced
moved eqproc to the correct magic position
...
also added mEqCString to evalOps so the test runs
2013-09-26 15:05:00 -05:00
Simon Hafner
e1c2aa2ddd
Revert "deleted EqProc so the magic aligns again" - wrong remote.
...
This reverts commit d7c8b3ad06 .
2013-09-26 14:31:02 -05:00
Simon Hafner
d7c8b3ad06
deleted EqProc so the magic aligns again
2013-09-26 14:27:52 -05:00
Araq
9bfcdc40ef
JS codegen: supports more builtins
2013-09-24 23:56:23 +02:00
Araq
e3ecc328a1
fixes #593
2013-09-24 21:45:22 +02:00
Araq
bfbdb1f028
refactorings for the eval engine; bugfix: clean templates as accessors
2013-07-19 22:22:20 +02:00
Araq
fa062ca0c4
next steps to a luajit codegen
2013-06-02 21:50:56 +02:00
Araq
2ec3e6b49e
more accurate effects for times.nim; bugfix for the JS codegen
2013-05-31 12:20:55 +02:00
Araq
56045ad7ff
bugfixes mostly JS related
2013-05-01 14:48:40 +02:00
Araq
d64d6a70d4
new js codegen: bugfixes
2013-04-30 09:48:21 +02:00
Araq
3897a8c44b
new JS code generator
2013-04-28 23:41:10 +02:00
Araq
7c12117ce0
fixes #378
2013-04-08 20:43:44 +02:00
Araq
ba80bd807c
fixes #376
2013-03-24 13:05:19 +01:00
Araq
dcb0f243de
fixes #335
2013-03-23 01:03:26 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Simon Hafner
d34f95d194
nestedTryStmts removed
...
It makes tests fail and they work fine without. Given my ignorance of
the exact workings, I can only rely on the tests.
2013-03-10 19:49:02 -05:00
Araq
225d657019
first steps to implement object construction expressions
2013-03-07 01:52:17 +01:00
Simon Hafner
1785c6877b
EcmaScript => JS. Fixes #330
...
No one calls it EcmaScript anymore.
2013-02-15 11:08:30 -06:00