Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unnamed/mocha
A lightweight, fast and efficient Molang lexer, parser, interpreter and compiler for Java 8+
https://github.com/unnamed/mocha
bytecode compiler interpreter java jvm lexer minecraft minecraft-bedrock molang parser
Last synced: 3 months ago
JSON representation
A lightweight, fast and efficient Molang lexer, parser, interpreter and compiler for Java 8+
- Host: GitHub
- URL: https://github.com/unnamed/mocha
- Owner: unnamed
- License: mit
- Created: 2021-08-28T23:15:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T14:25:25.000Z (3 months ago)
- Last Synced: 2024-10-21T23:52:06.241Z (3 months ago)
- Topics: bytecode, compiler, interpreter, java, jvm, lexer, minecraft, minecraft-bedrock, molang, parser
- Language: Java
- Homepage: https://unnamed.team/docs/mocha
- Size: 700 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# mocha
[![Build Status](https://img.shields.io/github/actions/workflow/status/unnamed/mocha/build.yml?branch=main)](https://github.com/unnamed/mocha/actions/workflows/build.yml)
[![MIT License](https://img.shields.io/badge/license-MIT-blue)](license.txt)
[![Discord](https://img.shields.io/discord/683899335405994062)](https://discord.gg/xbba2fy)`mocha` is a lightweight, fast and efficient Molang lexer, parser, interpreter and compiler
for Java 8+. Molang is a simple **expression-based** language designed for fast and **data-driven**
calculation of values at run-time.Its focus is to enable low-level systems like animation to support flexible data-driven
behavior, while staying highly performant.Pretty much everything in this language evaluates to a number; if something doesn't evaluate
to a number, you can use an operator to make it into one. You can basically just think of
Molang as one big math equation.This library lets programmers easily evaluate Molang expressions and bind objects
or functions so that they can be called from the evaluated expressions.Check the [documentation](https://unnamed.team/docs/molang) for installation, usage and
some more information for this project