Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
142 lines (120 sloc) 6.45 KB
---
layout: default
title: Home
---
<img src="/i/logo.svg" width="180" height="180" style="float:left;margin-top:16px;"/>
<h2>JTransc Documentation</h2>
JTransc (Java Trans Compiler) is an AOT (ahead of time compiler) written in <a href="https://kotlinlang.org/">Kotlin</a> that compiles .class and .jar
files into a target executable file bundling all the required dependencies in a single file,
without requiring a jitter or an external runtime. At the beginning it generated AS3 and JavaScript,
but right now there is a single target: <a href="http://haxe.org/">Haxe</a>. This allows targeting Js, AS3, C++, C#, Java, PHP, Python and LUA.
This in turn allows running the program on different platforms such as desktop, browsers and mobile.
<div style="clear:both"></div>
<div class="row">
<div class="col-xs-12 col-md-6">
<h2>Information:</h2>
<ul>
<li>
<a href="/about"><i class="fa fa-question-circle" aria-hidden="true"></i> What is JTransc</a>,
about the <a href="/architecture"><i class="fa fa-code-fork" aria-hidden="true"></i> JTransc
Architecture</a>,
Lastest version:
<a href="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22jtransc-maven-plugin%22">
<img src="https://img.shields.io/github/tag/jtransc/jtransc.svg?style=flat&label=maven"
alt="Maven Version"/>
</a>
</li>
<li>
You can also find information about
<a href="/minitemplates">Minitemplates</a>
(a template engine to use when embedding stuff in JTransc)
</li>
<li>
Discover how to do special stuff in some targets using <a href="/jtransc-rt-core/annotations">Annotations</a>
and
<a href="/jtransc-rt-core/optimized-api">Optimized API</a>.
</li>
</ul>
</div>
<div class="col-xs-12 col-md-6">
<h2>Examples:</h2>
<div class="row">
<div class="col-xs-12 col-md-3">
<a href="https://github.com/jtransc/jtransc-examples">
<img src="/cookbook/spine_demo.jpg" width="140" height="140"/>
</a>
</div>
<div class="col-xs-12 col-md-9">
<p>
You can find a <a href="https://github.com/jtransc/jtransc-examples">repository with examples here</a>
</p>
<p>
There is a <a href="/tutorials">tutorials section</a> in this documentation.
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<h2>Supported languages:</h2>
<a href="/languages"><img src="/languages/java/java-square.svg" style="width:96px;height:96px;" /></a>
<a href="/languages"><img src="/languages/kotlin/kotlin-square.svg" style="width:96px;height:96px;" /></a>
<a href="/languages"><img src="/languages/scala/scala-square.svg" style="width:96px;height:96px;" /></a>
</div>
<div class="col-xs-12 col-md-6">
<h2>Talks:</h2>
<a href="/talks/wwx2016"><img src="/talks/wwx2016/wwx2016.jpg" style="width:196px;height:64px;" /></a>
<a href="/talks/jbcnconf"><img src="/talks/jbcnconf/jbcnconf.png" style="width:196px;height:64px;" /></a>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<h2>How to use it:</h2>
<a href="/usage/maven"><img src="/usage/maven/maven-logo-black-on-white.png" width="auto" height="96"/></a>
<a href="/usage/gradle"><img src="/usage/gradle/gradle.png" width="auto" height="96"/></a>
<a href="/usage/intellij"><img src="/usage/intellij/intellij.png" width="auto" height="96"/></a>
<ul>
<li>(<a href="/usage/commandline">Or with a terminal</a>)</li>
<li>And you can find a <a href="/cookbook">Cookbook</a> with examples to do specific stuff.</li>
</ul>
</div>
<div class="col-xs-12 col-md-6">
<h2>Deploy to:</h2>
<a href="/targets"><img src="/targets/targets.png" width="350" height="350"/></a>
<p>
Note: <a href="http://community.openfl.org/t/openfl-and-tizen/7774" target="_blank">Tizen is currently not supported by Lime</a>.
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<h2>Social networks and news and chat</h2>
<!-- https://www.iconfinder.com/icons/317727/facebook_social_social_media_icon -->
<p>
<a href="http://blog.jtransc.com/"><img src="/i/wordpress.svg" style="width:96px;height:96px;"/></a>
<a href="https://twitter.com/jtransc"><img src="/i/twitter.svg" style="width:96px;height:96px;"/></a>
<a href="https://www.facebook.com/jtransc"><img src="/i/facebook.svg" style="width:96px;height:96px;"/></a>
<a href="https://plus.google.com/b/108006925270550871685/108006925270550871685"><img src="/i/googleplus.svg"
style="width:96px;height:96px;"/></a>
</p>
<p>
<a target="_blank" href="http://webchat.freenode.net/?channels=#jtransc"><img src="https://img.shields.io/badge/irc:%20chat.freenode.net-%23jtransc-green.svg" alt="irc" /></a>
<a target="_blank" href="http://jtransc-slack.herokuapp.com/"><img src="http://jtransc-slack.herokuapp.com/badge.svg" alt="Join the JTransc Community on Slack" /></a>
</p>
<!--
<a href="https://twitter.com/jtransc"><img src="/i/youtube.svg" style="width:64px;height:64px;" /></a>
-->
</div>
<div class="col-xs-12 col-md-6">
<h2>Contribute:</h2>
<p>This site is hosted at github and has its own github repository, so you can fork it, and make a PR :)</p>
<p><a href="https://github.com/jtransc/jtransc/tree/master/docs">https://github.com/jtransc/jtransc/tree/master/docs</a></p>
<p>Also, pressing the pencil button available in each page, you can see the corresponding file on github.
And github will provide another pencil button which will create a fork in your user so you can edit the file
and do a PR.</p>
<p>You can read <a href="/contributing">the complete information about <i class="fa fa-smile-o"
aria-hidden="true"></i>
contributing</a>.</p>
</div>
</div>