Skip to content

Commit

Permalink
write a doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyeongmin Go committed Oct 22, 2023
1 parent 9a6f6df commit 5b982b0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lengine-compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ For now, it's experimental. Compiler's structure is now stabilized, but, still g

So far, all the implements allowed are under [../compiler-example](https://github.com/gkm2164/lengine/tree/master/compile-example)

## What's new?
2023-10-21 - Make LengineObject interface.

Now the classes generated by compiler would have LengineObject type as interface.
This means that from other JVM codes, it can execute LengineObject by calling `scriptMain()` method.
Also, to use the scripts code, you can call with `lengineObject.importSymbol(LengineString.create("someSymbolName"))`
This, actually, wasn't intended to have compatibility, but,
mostly to increase the performance on imports from other lengine code.

## How to test?

Create your own `lg` file.
Expand Down

0 comments on commit 5b982b0

Please sign in to comment.