An open API service indexing awesome lists of open source software.

https://github.com/inc0g-repoz/lix4j

A script engine and an interpreted programming language with a C-like syntax.
https://github.com/inc0g-repoz/lix4j

java script-engine script-language

Last synced: 3 months ago
JSON representation

A script engine and an interpreted programming language with a C-like syntax.

Awesome Lists containing this project

README

        

[icon]: https://raw.githubusercontent.com/inc0g-repoz/lix4j/refs/heads/main/src/assets/icon.png
[reflection]: https://www.oracle.com/technical-resources/articles/java/javareflection.html

# ![icon] LIX4J

> [!TIP]
> Before you test out the engine, take a look at the wiki pages. They are worth reading.

> Make sure the feature you want to use is supported by the script language to avoid confusion.

### What's this?
LIX4J is an acronym for Lightweight Interpreted eXecution For Java.
The goal of this project is to implement a scalable and maintainable script engine with a C-like syntax that runs off JVM.
Instead of using types compatible with the engine it allows accessing them directly through [Reflection API][reflection].

### List of features
- [x] Local and script scope variables
- [x] Function calls with recursion
- [x] Inbuilt functions
- [x] Object members chaining
- [x] Basic Java logic and arithmetic unary, binary and ternary operators
- [x] Basic control flow blocks and statements
- [x] Continuation and breaking of loops
- [x] Inclusion of module scripts
- [x] Array index operator (one-dimensional only)
- [x] Function references
- [x] Full unicode escape sequences support
- [ ] Bitwise operators