Commit Graph

331 Commits

Author SHA1 Message Date
e5l 74447d59bc translator: enums tests, fix fields load in when 2016-08-10 12:05:53 +03:00
Alexey Stepanov a8b2129bb9 translator: fix bit operators with different arguments 2016-08-10 11:52:07 +03:00
e5l 6fc0ed5f61 translator: fix resolve fields without this, fix global vars access 2016-08-10 11:35:07 +03:00
e5l 986b95dc88 translator: fix enum loading and reference type class 2016-08-10 11:01:14 +03:00
Alexey Stepanov 5b5587869b translator: fix if expressions with variable conditions, add test 2016-08-10 10:53:45 +03:00
Alexey Stepanov faf96e581c translator: add support square brackets to standart arrays 2016-08-10 09:40:05 +03:00
e5l ab8c4e1848 translator: fix if expression, loglevel print 2016-08-09 19:23:47 +03:00
dsavvinov e994845793 Protobuf: removed secondary constructors and private setters (as features, which are not supported yet by translator) 2016-08-09 19:05:40 +03:00
dsavvinov f493ace24f Protobuf: removed secondary constructors and private setters (as features, which are not supported yet by translator) 2016-08-09 17:08:41 +03:00
e5l 5586bebc79 Merge branch 'master' of https://github.com/olonho/carkot 2016-08-09 17:01:55 +03:00
e5l 2971ec6cd8 translator: print error message 2016-08-09 17:01:38 +03:00
dsavvinov 278a43750f Protobuf: split primary constructor with default-arguments into empty primary constructor and secondary constructor 2016-08-09 16:18:36 +03:00
e5l 7e08333cde translator: move kotstd part 2016-08-09 16:07:38 +03:00
e5l 342edabc25 translator: new build system, translator build options, external stdlib, translator and hardware integration 2016-08-09 16:04:58 +03:00
dsavvinov 7be9f69f77 Protobuf: added support of another languages in generated protoc executable 2016-08-09 15:58:26 +03:00
dsavvinov 3a2f1ff136 Protobuf: added script for dependencies check 2016-08-09 15:58:26 +03:00
dsavvinov 3444e01785 Protobuf: deleted trash files commited by mistake 2016-08-09 15:58:26 +03:00
Alexey Stepanov ceaf9841ef translator: add sources for kotlinclib 2016-08-09 14:48:55 +03:00
Alexey Stepanov e5ef16832a translator: fix calls methods of class fields which are classes, add preindex of methods, add tests 2016-08-09 14:37:55 +03:00
Alexey Stepanov 36cef0a401 translator: fix access to class variables which are classes and fix class declaration order 2016-08-09 12:39:16 +03:00
dsavvinov 1826db5936 Protobuf: added Makefile for building JAR and protoc-executable 2016-08-09 12:14:44 +03:00
dsavvinov ba8e2f0e84 Protobuf: modified .gitignore files to ignore some local artifacts 2016-08-09 12:14:44 +03:00
dsavvinov 135b074c48 Protobuf: added Gradle script for building ProtoKot runtime into JAR; refactored file structure in carkot/proto/runtime according to Kotlin projects conventions 2016-08-09 12:14:44 +03:00
dsavvinov afc3b65862 Protobuf: refactored all .proto-files into separate directory carkot/proto/proto_sources 2016-08-09 12:14:44 +03:00
dsavvinov e404421141 Protobuf: refactored ProtoKot sources runtime from carkot/proto/compiler/src into carkot/proto/runtime/src 2016-08-09 12:14:44 +03:00
Alexey Stepanov 70b77c0351 translator: add detection class variables without required 'this' word 2016-08-09 10:57:38 +03:00
Alexey Stepanov 83c1352d91 translator: fix string type 2016-08-08 18:58:36 +03:00
Alexey Stepanov 5fb10e68bd translator: add type detection and initializing on class variables 2016-08-08 18:55:34 +03:00
dsavvinov 02225601e2 Protobuf: prettified generated code 2016-08-08 18:42:39 +03:00
dsavvinov 4779d517d9 Protobuf: changed all for-loops in generated code into while-loops 2016-08-08 18:42:39 +03:00
dsavvinov 8c96f21515 Protobuf: changed all arrays in generated code into primitive arrays 2016-08-08 18:42:39 +03:00
e5l 10fb92f9fa translator: fix malloc in ByteArray 2016-08-08 18:30:56 +03:00
Alexey Stepanov 02c270664e translator: add arm llvm lib 2016-08-08 18:25:29 +03:00
e5l d83215e3ec translator: enums 2016-08-08 16:58:00 +03:00
Eugene Batalov a230fadd0d TODOs for Maxim 2016-08-08 16:55:46 +03:00
dsavvinov c5706dc35f Protobuf: changed all exceptions in generated code into error codes. See description of particular codes in "error_codes" 2016-08-08 15:46:24 +03:00
dsavvinov 6c96ddeafc Protobuf: removed outdated class for protocol buffer exception 2016-08-08 14:31:49 +03:00
dsavvinov c662d03699 Protobuf: fixed bugs in getVarint32Size/getVarint64Size. Fixed bug in serialization of packed fields 2016-08-08 14:24:16 +03:00
dsavvinov 0a1787b033 Protobuf: synchronized test set for protoc with carkot protobufs and changed problematic fields (like double/string) to more convenient int32 2016-08-08 14:24:16 +03:00
dsavvinov 7d8c44a709 Protobuf: deleted outdated .proto files from test set (now focusing only on carkot protobufs) 2016-08-08 14:24:16 +03:00
Alexey Stepanov 445824f72e translator: add numeric literals, fix constant type resolving 2016-08-08 13:55:30 +03:00
Alexey Stepanov c26ea6b5ae translator: add BooleanArray and ShortArray, tests 2016-08-08 12:49:05 +03:00
dsavvinov 2af51674ca Protobuf: rewrited ProtoKot runtime library, now CodedStreams use ByteArray as an argument of constructor. Removed exceptions 2016-08-08 12:36:20 +03:00
e5l d004673f80 translator: fix indexes(extension functions) 2016-08-08 12:34:52 +03:00
Alexey Stepanov d598eb48bb translator: add test for when 2016-08-08 12:04:10 +03:00
e5l a6849214c3 translator: fix translation order 2016-08-08 12:01:45 +03:00
Alexey Stepanov 0aa37ee43a translator: add IntArray, fix llvm of ByteArray 2016-08-08 11:54:14 +03:00
e5l d336520b64 translator: safe access tests 2016-08-08 11:15:53 +03:00
MaximZaitsev 6554a35804 add command line args to deploy script 2016-07-29 16:45:18 +03:00
MaximZaitsev dc002204ac add readme files to clients, main server and car server 2016-07-29 16:14:16 +03:00