Yuriy Glukhov
82b022ebc6
JS: Fixed ICE on ptr assignment
2016-09-20 17:01:53 +03:00
Andreas Rumpf
3a13706d7d
fixes #4673
2016-09-01 13:02:53 +02:00
Yuriy Glukhov
e39138fe42
Fixed codegen for asmNoStackFrame pragma. More bulletproof frame restoration.
2016-08-27 19:37:49 +03:00
Yuriy Glukhov
62785be5a5
Restore framePtr after exceptions
2016-08-27 18:09:24 +03:00
Yuriy Glukhov
8bff930c7c
Fixed js codegen issue for uncaught exceptions.
2016-08-27 16:52:08 +03:00
Andreas Rumpf
84a09d2f5b
minor things
2016-08-24 11:48:40 +02:00
Andreas Rumpf
200ccff015
fixes #4632
2016-08-23 17:51:26 +02:00
Hans Raaf
bb683cb983
Fix using ptr to seq in js backend.
...
I suddenly got ReferenceError exceptions for some of the code which is
using etyBaseIndex ptr. Initialising the xxx_Idx part of the variable
fixes this problem.
2016-08-07 03:48:20 +02:00
Andreas Rumpf
60b187513e
stdlib and compiler don't use .immediate anymore
2016-07-29 23:51:01 +02:00
Andreas Rumpf
f1e77d3124
fixes #4496
2016-07-18 13:05:18 +02:00
Andreas Rumpf
b7c1be03c8
added system.newSeqOfCap for improved efficiency
2016-07-15 17:04:14 +02:00
Andreas Rumpf
f47165af11
fixes #3706
2016-07-13 01:06:33 +02:00
Andreas Rumpf
7a018007a4
fixes #4471
2016-07-12 00:50:25 +02:00
Andreas Rumpf
bcb2365dec
fixes a critical JS codegen bug which caused 'importcpp' statements not to be emitted
2016-07-11 23:19:24 +02:00
Andreas Rumpf
c9ce38e56d
fixes a strange JS codegen bug
2016-07-11 23:19:24 +02:00
Andreas Rumpf
66f37971e9
undocumented feature: JS backend: unit and group separators generate hash and at symbols
2016-07-09 00:28:14 +02:00
Andreas Rumpf
ba273057e3
Fixes a critical JS codegen bug about @ in call pattern
2016-07-08 23:03:11 +02:00
Andreas Rumpf
b47d9b7b91
fixes #4371
2016-07-08 10:34:12 +02:00
Yuriy Glukhov
a76b74ed74
Repr now works in js for enums starting with non-zero.
2016-07-05 22:43:59 +03:00
Andreas Rumpf
ad8784eef0
PHP codegen: code works with PHP 5.3 (with some luck)
2016-06-23 01:45:10 +02:00
Andreas Rumpf
2405f8e347
PHP backend: proper setLen implementation
2016-06-21 11:50:24 +02:00
Andreas Rumpf
e8d507c859
system. for cstrings uses value comparisons, not reference comparisons
2016-06-02 16:38:20 +02:00
Yuriy Glukhov
4d0d2d69f3
Fixes #4222
2016-05-26 08:49:56 +03:00
Andreas Rumpf
746132d696
PHP codegen improvements
2016-05-13 00:47:18 +02:00
Andreas Rumpf
b48e178969
JS target improvements
2016-04-29 17:56:06 +02:00
Andreas Rumpf
55aa4c2689
fixes a critical PHP codegen bug
2016-04-29 09:09:49 +02:00
Hans Raaf
fcc6daf78b
Fix PHP and JS codegen to not escape single quotes in strings anymore.
2016-03-14 21:33:14 +01:00
Andreas Rumpf
87e52bddbe
Merge pull request #3949 from oderwat/hara-php-addr
...
Try to fix addr() ref and pointer for PHP
2016-03-10 13:39:32 +01:00
Hans Raaf
060a820d62
Try to fix addr() ref and pointer for PHP
2016-03-08 16:16:21 +01:00
Hans Raaf
5450c944d7
Fix für PHP codegen integer modulo calculation.
2016-03-07 20:08:58 +01:00
Hans Raaf
eda113889c
Fix for integer division in PHP codegen.
2016-03-06 02:16:31 +01:00
Hans Raaf
11d40e8e8b
Fix for PHP function pointer implementation.
2016-03-06 01:02:22 +01:00
Andreas Rumpf
b02e31e409
PHP codegen: function pointers work
2016-03-05 17:55:51 +01:00
Andreas Rumpf
749ce2f36a
Merge pull request #3934 from oderwat/php-fix-defer
...
Fix for defer in PHP Codegen.
2016-03-05 00:28:20 +01:00
Hans Raaf
3cc5614d97
Partial fix for defer in PHP Codegen.
2016-03-04 23:14:11 +01:00
Andreas Rumpf
92cf673f37
PHP codegen: use nimAt for PHP 5.3 compatibility
2016-03-04 21:59:58 +01:00
Yuriy Glukhov
1b4fc744db
Fixed bad JS codegen for new json with tables. Added json to JS tests.
2016-02-29 17:53:52 +02:00
Andreas Rumpf
b893e0dbf5
no name mangling for PHP fields
2016-02-29 14:55:12 +01:00
Andreas Rumpf
6d2fd0c9f1
php codegen: name mangling bugfix
2016-02-26 23:50:34 +01:00
Andreas Rumpf
696ddbd93b
PHP codegen generates reliable filenames
2016-02-26 14:48:56 +01:00
Andreas Rumpf
0fa2ed30e0
PHP codegen can generate foo->bar accesses
2016-02-08 01:57:37 +01:00
Andreas Rumpf
e67124ca80
makes tints.nim test compile
2016-02-08 01:40:02 +01:00
Hans Raaf
2522ac9133
Made the test tints.nim work for the PHP codegen (uint shifts and
...
casts).
2016-02-07 18:01:13 +01:00
Hans Raaf
e66f5c419c
Corrected (unsigned) shr for PHP Codegen
2016-02-07 05:22:32 +01:00
Hans Raaf
bb3fe1493d
Better code and fix for JS regression.
2016-02-07 04:31:15 +01:00
Hans Raaf
a6460e2c91
Fix für Char to String in PHP.
2016-02-07 01:49:13 +01:00
Hans Raaf
fa6692f33f
Fix tuple field access in PHP.
2016-02-07 01:49:06 +01:00
Hans Raaf
e737b47ee1
Fix for index check in PHP code.
2016-02-07 00:30:21 +01:00
Hans Raaf
77235947c1
Fix for shr with PHP (using >>)
2016-02-07 00:08:10 +01:00
Andreas Rumpf
8ec7c0af20
php-codegen fixes
2016-02-06 19:58:28 +01:00