Commit Graph

191 Commits

Author SHA1 Message Date
dsavvinov bee4c839d2 Protobuf: refactored FieldGenerator interface heavily. Now it offers much more clearier interface for names getting (separating simple names from full-qualified names) 2016-07-20 15:41:26 +03:00
Alexey Stepanov 5d58ddd8bb translator: add array c lib, fix gitignore 2016-07-20 15:39:05 +03:00
Alexey Stepanov 2c42b7680e translator: add multifile translation, kotlib with fixs, fix bytearrays, add tests for bytearray 2016-07-20 14:19:25 +03:00
e5l da99860c98 tranlator: nested classes declaration 2016-07-20 13:41:39 +03:00
Alexey Stepanov e645de1e7c translator: add ByteArray, kotlib, fix test for kotlib 2016-07-20 12:52:47 +03:00
Alexey Stepanov b345eeff4f translator: fix object calls 2016-07-20 12:38:26 +03:00
Alexey Stepanov 5b53edfc28 translator: fixes for method calls, class return, this arg 2016-07-20 12:18:48 +03:00
e5l 3d08d37735 translator: fix tests answers 2016-07-20 11:04:31 +03:00
e5l a8d2798e58 translator: nullable tests, fix null reassignment, fix reference assignment 2016-07-20 10:55:12 +03:00
MaximZaitsev e190c2a377 added handlers for udev monitor 2016-07-20 10:44:47 +03:00
MaximZaitsev dd75c8bec4 corrected main.js 2016-07-20 10:44:47 +03:00
MaximZaitsev 605d28da5e modified git ignore 2016-07-20 10:44:47 +03:00
e5l 3e0cc75a3a translator: class and objects fields 2016-07-19 19:42:31 +03:00
e5l a1ee214c90 translator: object and class fields 2016-07-19 18:07:21 +03:00
Alexey Stepanov e9a7d75e0e translator: fix methods argument order 2016-07-19 17:51:46 +03:00
Alexey Stepanov 114a939c77 translator: add resolve Byte, Char and Boolean types, fix char type, add byte type 2016-07-19 17:20:50 +03:00
e5l 7d4e608072 translator: reference type move without copy, tests 2016-07-19 17:14:19 +03:00
Alexey Stepanov 22890b0cea translator: add init section, refactor FunctionCodegen, add BlockCodegen 2016-07-19 16:33:30 +03:00
e5l 75d386aede translator: Nullable types support 2016-07-19 16:07:10 +03:00
Alexey Stepanov 62e444c571 translator: add object declarations 2016-07-19 14:25:24 +03:00
e5l 73d93c34ae translator: fields generation, parsing var(val) type reference 2016-07-19 14:02:00 +03:00
e5l 452fbe65b2 translator: fix allocation type on primitive type 2016-07-19 12:34:44 +03:00
e5l 84cbaa0f5b translator: additional tests for classes and callbacks 2016-07-19 12:23:22 +03:00
e5l f98ce01864 translator: load arguments everywhere 2016-07-19 11:52:54 +03:00
Alexey Stepanov a5cb041836 translator: add basic for enum types 2016-07-19 11:42:46 +03:00
e5l 1636726349 translator: fix function result store 2016-07-19 10:14:02 +03:00
Alexey Stepanov e0696b6def translator: fix gitignore 2016-07-19 10:11:51 +03:00
Alexey Stepanov bfb85f3c13 translator: fix test for idea 2016-07-19 10:10:48 +03:00
Alexey Stepanov 8f92db7e1b translator: fix loading references 2016-07-19 09:41:47 +03:00
dsavvinov 519b8e880a Protobuf: fixed stub in name resolving. Now all names are resolved properly; full-qualified access is used in generated code. Added corresponding test 2016-07-18 19:27:37 +03:00
dsavvinov 8552e0b778 Protobuf: Fixed stub in length-delimited fields serialization. Now related methods write size of object correctly. Added necessary methods for estimating byte-size of objects in run-time in ProtoKot runtime-library. 2016-07-18 19:27:37 +03:00
dsavvinov f6790e43ae Fixed order of fields serialization according to Google Protobuf's requirements 2016-07-18 19:27:37 +03:00
dsavvinov 86f65d6a6a Removed nullable types from generated code 2016-07-18 19:27:37 +03:00
Alexey Stepanov 7912da79ba translator: add binary operations 2016-07-18 17:47:02 +03:00
e5l 9f9cdfb33b translator: fix memory allocation 2016-07-18 17:26:36 +03:00
e5l 2f14894ff8 translator: valid malloc for x86 2016-07-18 17:20:51 +03:00
e5l 90bb2998f6 translator: constructors accept classes by ref 2016-07-18 17:10:51 +03:00
Alexey Stepanov 445a19ec26 translator: fix *this transfer 2016-07-18 16:40:08 +03:00
e5l 8369cecda5 translator: class allocation 2016-07-18 16:10:57 +03:00
Alexey Stepanov 3080970362 translator: add class methods calls 2016-07-18 16:04:02 +03:00
Alexey Stepanov e8ceffc79d translator: add class methods, fix empty class argument list 2016-07-18 14:38:09 +03:00
e5l 314dbcbcd0 translator: llvm multifile build, static and dynamic malloc 2016-07-18 12:55:21 +03:00
e5l 5147b63080 translator: getelementptr fix llvm-3.6 2016-07-18 12:12:00 +03:00
Alexey Stepanov fef7a3c463 translator: add do-while loops 2016-07-18 09:18:49 +03:00
Alexey Stepanov 260bb64d8f translator: fix reassigment, add tests 2016-07-15 17:48:27 +03:00
Alexey Stepanov 99354acbf3 translator: porting tests to llvm-3.6 2016-07-15 16:56:38 +03:00
Alexey Stepanov 25ebc88961 translator: improve test engine, starts compile tests separately 2016-07-15 16:48:12 +03:00
dsavvinov d958125c4b Compiler: convertors from protobuf types to various Kotlin entities refactored in separate namespace 2016-07-15 16:47:26 +03:00
dsavvinov d85191b1d7 Compiler: added parsers 2016-07-15 16:15:35 +03:00
e5l d9456f631e translator: switch to llvm3.6, port actual car_fmw 2016-07-15 14:02:09 +03:00