Commit Graph

331 Commits

Author SHA1 Message Date
Nikolay Igotti a354f4b605 Make String CharSequence compatible. 2016-11-08 14:16:59 +03:00
Nikolay Igotti a022b7d1ab Char constants. 2016-11-07 17:42:29 +03:00
Nikolay Igotti f06aeef9ce Some work for string concatenation. (#40) 2016-11-07 15:58:11 +03:00
Nikolay Igotti 922cb1f35d Fix problems with kotlin.Number 2016-11-03 18:28:02 +03:00
Nikolay Igotti a2e4f0f467 Move compiler to new version, add primitive types. (#33) 2016-11-03 15:31:33 +03:00
Svyatoslav Scherbina db1853f627 runtime: remove unused test
to simplify build configuration
2016-11-02 17:02:14 +07:00
Nikolay Igotti 283303210f Rename kotlin_native -> kotlin. 2016-11-01 16:13:46 +03:00
Nikolay Igotti 7eeb2d3046 Various fixes for HelloWorld. (#27) 2016-11-01 15:33:41 +03:00
Nikolay Igotti 8d2c0edd6b Implement instanceof checks. (#23) 2016-10-31 08:14:04 +03:00
Svyatoslav Scherbina cc47ed98f3 runtime: use @ExportTypeInfo
to import compiler-generated type infos into C++ code
2016-10-27 19:32:45 +03:00
Svyatoslav Scherbina 991c8ea905 backend.native, runtime: implement @ExportTypeInfo 2016-10-27 19:32:45 +03:00
Svyatoslav Scherbina 17b757bc2b runtime: comment String.plus
to workaround improper virtual call generation resulting in link error
2016-10-27 19:32:45 +03:00
Nikolay Igotti b6e314f274 More runtime work. Console read, string hashing. 2016-10-27 18:58:54 +03:00
Nikolay Igotti cbb5499313 Verify bitcode before write, minor fixes. (#21) 2016-10-27 18:54:38 +03:00
Nikolay Igotti 8ce0bddc17 More stdlib implementation. (#17) 2016-10-26 18:37:02 +03:00
Nikolay Igotti a938fcca6c Add very basic output, small refactoring. (#14)
Add very basic output, small refactoring.
2016-10-24 12:27:14 +03:00
Nikolay Igotti 5a30a0f2f9 More array types, bind to native. (#13)
More array types, bind to native implementations.
2016-10-21 17:50:16 +03:00
Nikolay Igotti 09cb649c32 Very basic string support. (#10)
String, ByteArray support, type declarations.
2016-10-20 16:04:28 +03:00
Svyatoslav Scherbina a1593c86f1 backend.native: support external functions
also implement changing external function symbol name with the annotation
2016-10-19 13:45:40 +03:00
Svyatoslav Scherbina 68686bd577 runtime: move name hasing to common/hash 2016-10-19 13:33:45 +03:00
Svyatoslav Scherbina e4bc19b145 build: download llvm and libffi from the JFrog repo 2016-10-17 17:35:57 +03:00
Nikolay Igotti 5bbb5a4d13 Comment on race for shared containers, added fourth type for container. 2016-10-14 12:15:53 +03:00
Nikolay Igotti 90a09ca356 Use proper PC. 2016-10-14 11:20:22 +03:00
Nikolay Igotti 5786f5a2af Add basic exception supports and tagged refcounting. 2016-10-14 11:10:19 +03:00
Svyatoslav Scherbina f30c840d1c runtime: move hash functions to newly created subproject
to reuse in compiler
2016-10-13 17:29:02 +03:00
Svyatoslav Scherbina d800e193e8 runtime/build.gradle: extract bitcode compilation to custom task class 2016-10-13 17:29:01 +03:00
Nikolay Igotti ed53aceaa5 Minor fixes. 2016-10-13 15:10:54 +03:00
Nikolay Igotti ecb5a67db7 Add City64 as local hash, and update RTTI accordingly. 2016-10-11 18:40:16 +03:00
Nikolay Igotti fb61896825 Add memory mgmt. 2016-10-11 13:25:11 +03:00
Svyatoslav Scherbina 3324527984 backend.native, runtime: add vtable to TypeInfo 2016-10-04 14:08:36 +03:00
Svyatoslav Scherbina 5dc871ec32 runtime: add TypeInfo struct definition
also add runtime as Gradle subproject producing bitcode
2016-09-29 17:41:54 +07:00