Skip to content
AbePralle edited this page Mar 18, 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 perform the compilation and then generate source code files in an aribtrary language from the resulting JSON.

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