01 — Parser Generator
LL(k) parser generator for context-free grammars. Generates a parser and a full AST (Abstract Syntax Tree) for Java & C++ from a single grammar definition.
Developer tools for Gradle and VSCode, based on Java, C++ and Rust. The toolkit includes an LL(k) parser generator, server launchers for VSCode and build pipelines for Gradle.
$ git clone https://github.com/hivevm/cc
// LL(k) grammar — generates a parser + AST grammar Calc; expr : term (('+' | '-') term)* ; term : factor (('*' | '/') factor)* ; factor : NUMBER | '(' expr ')' ; NUMBER : [0-9]+ ('.' [0-9]+)? ; WS : [ \t\r\n]+ -> skip ;
$ hivevm-cc generate Calc.g --target java,cpp
Parsing grammar Calc.g…
✓ LL(k) analysis complete (k=2)
✓ Parser → java/CalcParser.java
✓ AST → cpp/CalcNode.hpp
→ 2 targets built in 0.4s
watching grammar for changes
Generates and builds across your stack
Toolkit
HiveVM owns the model-and-generate layer — grammars, documentation and build orchestration — so your repository stays focused on intent, not boilerplate.
LL(k) parser generator for context-free grammars. Generates a parser and a full AST (Abstract Syntax Tree) for Java & C++ from a single grammar definition.
Manual generator for collections of Markdown documents. Supports the CommonMark syntax to turn a folder of files into one coherent manual.
A Gradle-based CD/CI pipeline engine. Define a single workflow that orchestrates heterogeneous build systems — Gradle, CMake and Cargo side by side.
The same grammar emits idiomatic Java and C++ — keep one source of truth and let HiveVM project it onto each language.
Server launchers wire your generated tooling straight into VSCode, so language features light up as soon as the model changes.
Developer experience
Grammars, documents and pipelines are plain declarative files. Describe the intent once and let HiveVM generate the parser, the manual and the build.
grammar Calc; expr : term (('+' | '-') term)* ; term : factor (('*' | '/') factor)* ; factor : NUMBER | '(' expr ')' ; NUMBER : [0-9]+ ;
plugins { id 'org.hivevm.devops' version '1.0' } workflow { stage('build') { gradle 'assemble' } stage('test') { gradle 'check' } stage('package') { cmake 'install' } stage('publish') { onBranch 'main' } }
# User Manual Built from a collection of **CommonMark** files. - [Getting started](./start.md) - [Configuration](./config.md) - [Grammar reference](./grammar.md)
Build orchestration
The Gradle DevOps engine defines a single pipeline for projects that mix Java, C++ and Rust — running each stage on the right build tool and streaming structured logs as it goes.
Open source
Every HiveVM tool lives in its own public repository. Read the source, file issues or build from it — the whole toolkit is open.
LL(k) parser generator for context-free grammars. Generates parser and AST for Java & C++.
Open repositoryManual generator for collections of Markdown documents. Supports the CommonMark syntax.
Open repositoryA Gradle-based CD/CI pipeline engine. Define a workflow for heterogeneous build systems.
Open repositoryStart from a grammar, a folder of Markdown or a build workflow. HiveVM turns the model into a parser, a manual or a pipeline — for Java, C++ and Rust.