Colm Programming Language and Ragel State Machine Compiler
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Around since 2019 and still shipping
// how to help
// readme
Colm Suite
The Colm Suite is a unified distribution of two closely related language tools:
-
Colm (COmputer Language Machinery): A programming language designed for the analysis and transformation of computer languages. Influenced primarily by TXL.
-
Ragel: A state machine compiler that generates executable finite state machines from regular expressions and state machine specifications.
The two projects share components and have a build dependency, so a unified repository simplifies development and building. The significant links are:
- The colm compiler and runtime (
src/colm/) β one sub-package of the suite, alongside the others below. - The FSM library (
src/libfsm/) β finite state machine construction and manipulation, used by both Colm and Ragel. - The code generation intermediate language (
src/cgil/) β written in Colm, used by both projects for target language code generation. - Ragelβs frontend is written in Colm (
src/ragel/*.lm), so Colm must build first to bootstrap Ragel.