Commit Graph

357 Commits

Author SHA1 Message Date
Alexey Stepanov 7faa437c7a translator: fix issue with string fucntion argument 2016-08-11 12:49:09 +03:00
Alexey Stepanov 7c01c2f2bc translator: add console output in stdlib 2016-08-11 12:49:09 +03:00
Alexey Stepanov 7c7f0e4484 translator: fix square brackets operator for binary expressions 2016-08-11 12:49:09 +03:00
dsavvinov 0f86f30623 Protobuf: added missing NoTag-versions of some serialization functions in runtime 2016-08-10 20:42:28 +03:00
dsavvinov d32ef8ee75 Protobuf: added generation of reference messages using Google's protoc and Java 2016-08-10 20:36:26 +03:00
dsavvinov aa3c411624 Protobuf: fixed bug in build script when JAR wasn't rebuild after changes in .kt-sources 2016-08-10 20:35:34 +03:00
dsavvinov 72a70b035d Protobuf: refactored tests for testing convinience 2016-08-10 20:35:21 +03:00
dsavvinov c9c3f91706 Protobuf: fixed a bug in name resolving 2016-08-10 20:30:13 +03:00
dsavvinov 458075312a Protobuf: reformatted tests for convinience of testing. Removed tests for fixed types (not needed at the moment) 2016-08-10 20:30:13 +03:00
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