Commit Graph

348 Commits

Author SHA1 Message Date
dsavvinov 9d0fbebf3a Protobuf: fixed bug in desrialization of arrays 2016-08-10 20:30:13 +03:00
dsavvinov 4755882ef3 Protobuf: added proto-files for testing 2016-08-10 20:30:13 +03:00
Alexey Stepanov 2adb334e3f translator: fix class reassigment 2016-08-10 19:53:01 +03:00
Alexey Stepanov fb2e23913e translator: fix returning variable in if expressions, add IntArray.plus(IntArray) 2016-08-10 19:18:25 +03:00
Alexey Stepanov 6c509d0220 translator: add copyOfRange, plus extensions for IntArray 2016-08-10 18:33:35 +03:00
Alexey Stepanov 15cde9a2a9 translator: fix function extensions for reference classes, fix reference type name resolving 2016-08-10 18:33:35 +03:00
e5l 318a4b182e translator: fix complex nested name resolving 2016-08-10 18:06:04 +03:00
e5l 3c8bdb61cb translator: hashcode functions, cleanup 2016-08-10 13:34:45 +03:00
Alexey Stepanov dd5c884deb proto: improvement while loops with not operator 2016-08-10 13:33:33 +03:00
e5l 78b1c60e6d translator: additional elvist test 2016-08-10 13:31:30 +03:00
Alexey Stepanov 4be78b789e translator: add not operator 2016-08-10 13:26:30 +03:00
e5l 381a1dd038 translator: minor runtime fixes, runtime compiles 2016-08-10 13:25:01 +03:00
e5l 5088556f28 translator: fix while condition evaluation, minor fixes 2016-08-10 13:15:06 +03:00
Alexey Stepanov 3066144f58 proto: fix unary operators in runtime 2016-08-10 13:10:38 +03:00
Alexey Stepanov c24c199bbd translator: add unary operators 2016-08-10 13:02:47 +03:00
e5l 9d0d213a09 translator: fix proto runtime 2016-08-10 12:43:38 +03:00
Alexey Stepanov d54c4c2da1 translator: add equals for types 2016-08-10 12:23:35 +03:00
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