Skip to content
AbePralle edited this page Mar 25, 2019 · 20 revisions

Overview

Froley is a "compiler compiler" for creating virtual machine-based tokenizers and parsers.

A single .froley definition file is compiled to a .json file containing token type definitions and compressed bytecode. A build tool like rogo can be used to control the compilation and then use the resulting JSON to generate source code files in an arbitrary language.

The Demos/ folder contains full Froley tokenizer and parser virtual machines written in a variety of languages (TODO) that can be easily adapted to your own projects.

See:

Clone this wiki locally