Skip to content

Latte-lang 0.0.9 ALPHA

Pre-release
Pre-release
Compare
Choose a tag to compare
@wkgcass wkgcass released this 24 Oct 13:38
· 37 commits to master since this release

gradle:

compile group:'org.latte-lang', name:'latte-build', version:'0.0.9-ALPHA'

maven:

<dependency>
  <groupId>org.latte-lang</groupId>
  <artifactId>latte-build</artifactId>
  <version>0.0.9-ALPHA</version>
</dependency>

Optimize

Now, inner methods and lambdas only capture necessary local variables, which is very good for performance.

Features

  1. UTF8 for names. Now you can use UTF8 chars to define variables, declare types etc.
  2. Haskell style indentation. Now, the indentations are not limited to 4, write what ever spaces you want. The rule is simple: more indentation means start a new layer, fewer indentation means fall back to some layer.
  3. packages now can be split with dot, just like Java. e.g. java.lang.Object and java::lang::Object are the same thing.

Fix

  1. Now Latte works fine if you load the Latte jars dynamically using URLClassLoader.