Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/udalov/kotlin-objc-diploma
Kotlin-JVM + Objective-C interop
https://github.com/udalov/kotlin-objc-diploma
Last synced: 2 months ago
JSON representation
Kotlin-JVM + Objective-C interop
- Host: GitHub
- URL: https://github.com/udalov/kotlin-objc-diploma
- Owner: udalov
- Created: 2013-06-12T15:21:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-12T15:28:47.000Z (over 11 years ago)
- Last Synced: 2024-10-06T01:33:06.948Z (3 months ago)
- Language: Java
- Size: 87 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: license/LICENSE.txt
Awesome Lists containing this project
README
# Kotlin Programming Language
## Objective-C interop
This is a fork of [Kotlin](https://github.com/JetBrains/Kotlin) programming language project, adding support of interoperability of Kotlin-JVM with Objective-C.
Basically it allows to call functions of compiled Objective-C libraries from Kotlin under JVM.
The project is maintained by [Alexander Udalov](https://github.com/udalov) and was presented as a graduation thesis to Saint Petersburg State University, Mathematics & Mechanics Faculty, Department of Software Engineering in 2013 under supervision of [Andrey Breslav](https://github.com/abreslav).## Building and testing
1. Download the project and launch **Make** in IDEA
2. Install **protobuf 2.4.1** as a global library.
A possible way to do this via [Homebrew](https://github.com/mxcl/homebrew):```
cd /usr/local
git checkout 544209f /usr/local/Library/Formula/protobuf.rb
brew install protobuf
```3. Make **libKotlinNativeIndexer.dylib**:
```
cd compiler/objc/frontend.objc/native
make
```Optionally, you can run Native Indexer tests:
```
make tests
```4. Make **libKotlinNative.dylib**:
```
cd runtime/native
./ffi_make # this is needed only the first time to download and build libffi
./make_native
```5. Run `ant dist`
Now you can run tests. They are found under `compiler/tests/org/jetbrains/jet/objc/`. If you have trouble launching them, copy the needed environment variables and java arguments from the **Obj-C Tests** run configuration.