Commit Graph

5993 Commits

Author SHA1 Message Date
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00
Pavel Talanov 6646278a60 before merge 2012-02-24 17:20:23 +04:00
Pavel Talanov c949944980 renamed modules to js.* 2012-02-24 17:04:23 +04:00
Pavel Talanov 7bc82df7de copyright changes 2012-02-21 19:02:54 +04:00
Pavel Talanov 1859ddf941 a couple of hacks to make life example work (still not working) 2012-02-05 15:16:09 +04:00
Pavel Talanov e4d43c5147 refactor to implement library annotations 2012-01-30 23:06:49 +04:00
Pavel Talanov 7a61a7520d if as expression with control statements support 2012-01-30 21:17:32 +04:00
Pavel Talanov 746714bb5e solving when problem 2012-01-30 20:22:16 +04:00
Pavel Talanov fe349a1121 add jslib module which has the declarations which are use by js-backend
rework dependncies of modules
2012-01-28 17:32:53 +04:00
Natalia.Ukhorskaya 5ab485b072 libs in k2js 2012-01-27 17:28:39 +04:00
Natalia.Ukhorskaya b25b4ab5e2 Add stopper for completion (work without Java) 2012-01-27 17:28:38 +04:00
Pavel Talanov e3454dbb53 Big migration. 2012-01-19 14:30:21 +04:00
Pavel Talanov 86cbfc91c6 refactor and TODO clean-up 2012-01-19 14:30:20 +04:00
Pavel Talanov 0d89e5d01f KT-962: Function is called two times
safecall expression now compute receiver only once.
2012-01-17 17:37:40 +04:00
Pavel Talanov c9eae93d68 function literal as the last parameter supported
added temporary and partial solution to global namespace polluting problem
2012-01-06 19:28:08 +04:00
Pavel Talanov c5b8b86fd8 fixes in module structure.
add workaround code for applet.
add method needed for applet.
2011-12-15 20:07:25 +04:00
Pavel Talanov 0b714ad548 hacks for some examples added
tests added
kotlin lib clean up
2011-12-14 19:13:32 +04:00
Pavel Talanov 9f66d644df bug fixes:
1. Range standard implementation size property fixed, iteration order fixed
2. System.println() without parameters fixed.
2011-12-14 13:36:36 +04:00
Pavel Talanov 936e3f0d84 support for in operation syntax, refactor, test, range sugar syntax 2011-12-13 17:44:44 +04:00
Pavel Talanov a105792a85 range standard implementation added. tests added. 2011-12-13 17:44:43 +04:00
Pavel Talanov 1d8d6e5146 removed accidentally commited files. 2011-12-12 16:27:50 +04:00
Pavel Talanov b0fbdb05e2 rewrite K2JSTranslator class 2011-12-12 16:27:49 +04:00
Pavel Talanov cb071e3f74 implement some of the intrinsic functionality 2011-12-02 17:35:19 +04:00
Pavel Talanov 411c173dac Refactoring BinaryOperationTranslator. 2011-11-24 20:01:58 +04:00
Pavel Talanov d23bdb492d Added test for unary operation on int properties. 2011-11-24 17:30:25 +04:00
Pavel Talanov fae803ac6f Refactoring property access translation code. 2011-11-24 17:30:25 +04:00
Pavel Talanov f5e5ac42dd Finished work on namespaces. 2011-11-23 16:59:49 +04:00
Pavel Talanov 36d033ea48 . 2011-11-23 16:59:47 +04:00
Pavel Talanov 7d43131173 Rewrote reference translation a bit. Added support for when call expression. 2011-11-23 16:59:47 +04:00
Pavel Talanov db02cd168b Added support for nullable types in is check. 2011-11-23 16:59:46 +04:00
Pavel Talanov 7cdfccf2d8 Added support for basic case of function literal. 2011-11-18 16:45:53 +04:00
Pavel Talanov d1c49f80c8 Refactoring. 2011-11-17 22:28:46 +04:00
Pavel Talanov d0239085c1 Supported another case of when expression. 2011-11-17 17:40:54 +04:00
Pavel Talanov fec7539f8c Supported (Variable is Type expression) for user defined classes. 2011-11-17 17:40:50 +04:00
Pavel Talanov 17e41e627d Found and solved a problem which caused only one ancestor's constructor to be called. Added "super_init" method generation to InitializerVisitor. Worked on KotlinJsLib to solve this issue. This solution should evolve in the future. 2011-11-16 17:25:46 +04:00
Pavel Talanov 997ddce4b5 Added support for unqualified property reference inside method body. 2011-11-12 21:13:20 +04:00
Pavel Talanov 8e147b26a7 Added default getter/setter support and initializer support. 2011-11-10 21:29:50 +04:00
Pavel Talanov f4b18c277f Added DeclarationExtractor logic. 2011-11-10 14:06:15 +04:00
Pavel Talanov f3d8b2c3b1 Added constructor calls. Working on method logic. 2011-11-09 19:12:10 +04:00
Pavel Talanov d9d8a40d5c Added if else support 2011-11-09 17:38:05 +04:00
Pavel Talanov c811814037 Finished reorganising project structure. 2011-11-09 16:32:49 +04:00
Pavel Talanov 42a252c6a9 split code into modules and lots of other code changes 2011-11-09 16:11:18 +04:00
Pavel Talanov 733d4f5168 split code into modules and lots of other code changes 2011-11-09 16:00:20 +04:00