https://github.com/miho/vmf-text-tutorials
https://github.com/miho/vmf-text-tutorials
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/miho/vmf-text-tutorials
- Owner: miho
- Created: 2018-07-22T20:18:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-05T09:26:05.000Z (over 7 years ago)
- Last Synced: 2025-04-10T23:45:30.443Z (9 months ago)
- Language: Java
- Size: 98.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VMF-Text-Tutorials [](https://twitter.com/intent/tweet?text=VMF-Text:%20The%20new%20framework%20for%20grammar-based%20language%20modeling!&url=https://github.com/miho/VMF-Text&via=mihosoft&hashtags=vmftext,vmf,antlr4,java,mdd,developers)
[](https://gitter.im/VMF_/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
This collection of tutorials gives an introduction to VMF and its use in regular Java projects.
## Contents
- [Introduction](https://github.com/miho/VMF-Text-Tutorials/blob/master/README.md#introduction)
- [Defining your first Language](https://github.com/miho/VMF-Text-Tutorials/blob/master/VMF-Text-Tutorial-01/README.md)
- TBD ...
## Introduction
VMF-Text is a powerful framework for grammar-based language modeling: give it a labeled ANTLR4 grammar and it will generate a rich and clean API (based on [VMF](https://github.com/miho/VMF)) for (un)parsing and transforming custom textual languages. **The complete API is derived from just a single ANTLR4 grammar file!**

VMF-Text analyzes an ANTLR4 grammar file and derives a [VMF](https://github.com/miho/VMF) model from that. With that it generates the model code, just like any regular VMF based application. Additionally, it creates a very powerful API for parsing and (un)parsing instances of the VMF model. This allows for writing tools for analyzing and transforming textual data, such as code.