Commit Graph

3743 Commits

Author SHA1 Message Date
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
ef36a9dc3d fixes #3924 2016-03-05 15:12:11 +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
13699c596e fixes #3872 2016-03-04 22:56:12 +01:00
Andreas Rumpf
dae175b3c4 fixes #3868 2016-03-04 22:41:17 +01:00
Andreas Rumpf
00c4861208 fixes #3836 2016-03-04 22:18:58 +01:00
Andreas Rumpf
92cf673f37 PHP codegen: use nimAt for PHP 5.3 compatibility 2016-03-04 21:59:58 +01:00
Andreas Rumpf
180a4b7657 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-03-01 23:25:58 +01:00
Andreas Rumpf
06d4131ce1 fixes #3669 2016-03-01 23:25:46 +01:00
Andreas Rumpf
312281c7cc fixes #3686 2016-03-01 23:07:22 +01:00
Andreas Rumpf
9687ea3c3e debug() uses 'echo' because stderr is an abomination 2016-03-01 19:50:00 +01:00
Andreas Rumpf
017969c146 Merge pull request #3904 from endragor/fixnocppexceptions
Fixed try statement generation with --noCppExceptions switch
2016-02-29 17:44:15 +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
1463b0c954 fixes #3916 2016-02-29 16:45:52 +01:00
Ruslan Mustakov
040d4864a4 Fixed try statement generation with --noCppExceptions switch 2016-02-29 21:09:19 +06:00
Andreas Rumpf
b893e0dbf5 no name mangling for PHP fields 2016-02-29 14:55:12 +01:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
Andreas Rumpf
c9966a3e17 use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
Andreas Rumpf
554a3e9335 better 'self' handling for overload resolution 2016-02-29 00:25:51 +01:00
Andreas Rumpf
7d7de36a91 removed debug code 2016-02-28 23:23:17 +01:00
Andreas Rumpf
0baa1d9955 first version of .partial objects 2016-02-28 23:22:47 +01:00
Andreas Rumpf
38dee2095c added 'sig' feature; removed tfShared support in the compiler 2016-02-28 19:56:41 +01:00
Andreas Rumpf
7ae45ea420 'using' statement is obsolete 2016-02-28 14:48:15 +01:00
Andreas Rumpf
1afdefcbe9 added experimental .this pragma 2016-02-28 03:17:20 +01:00
Andreas Rumpf
6d2fd0c9f1 php codegen: name mangling bugfix 2016-02-26 23:50:34 +01:00
Hans Raaf
10dce8131e Removed #! handling (was deprecated long enought) 2016-02-26 18:02:15 +01:00
Andreas Rumpf
4b3f164368 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-26 14:49:07 +01:00
Andreas Rumpf
696ddbd93b PHP codegen generates reliable filenames 2016-02-26 14:48:56 +01:00
def
7177e0058b Consistently use Channel instead of TChannel 2016-02-25 04:04:45 +01:00
bit
b6a11271b3 Removed error that disallows slices with negative indexes 2016-02-22 16:37:29 +02:00
def
41e1f3241b Fix building documentation in releases (fixes #3823) 2016-02-21 14:52:26 +01:00
Andreas Rumpf
f9f5bd6dd8 made AST renderer more robust for wrong macros 2016-02-19 12:59:11 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
Andreas Rumpf
2e3c403d2b Merge pull request #3873 from yglukhov/path-handling
Fixes #3871
2016-02-16 19:42:05 +01:00
Yuriy Glukhov
b293e2a9ec Fixes #3871 2016-02-16 14:12:51 +02:00
Yuriy Glukhov
83607e5c64 Dont warn about unused symbol if its used in emit 2016-02-15 22:58:08 +02:00
Andreas Rumpf
0fa2ed30e0 PHP codegen can generate foo->bar accesses 2016-02-08 01:57:37 +01:00
Andreas Rumpf
ee6a46f264 some progress on #3832 2016-02-08 01:43:38 +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