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.
- Host: GitHub
- URL: https://github.com/inc0g-repoz/lix4j
- Owner: inc0g-repoz
- License: agpl-3.0
- Created: 2025-03-13T17:29:32.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T00:11:26.000Z (3 months ago)
- Last Synced: 2025-04-09T20:54:14.422Z (3 months ago)
- Topics: java, script-engine, script-language
- Language: Java
- Homepage:
- Size: 268 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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