Ad-hoc parsing for everyone

Tokay is an imperative, procedural programming language dedicated to parsing and other text-processing tasks.

Star Fork
Explore More ⇩
Overview

About

Tokay is a programming language designed for ad-hoc parsing. It is inspired by awk, but follows its own philosophy and design principles. It might also be useful as a general purpose scripting language, but mainly focuses on processing textual input and work on trees with information extracted from this input.

The language was designed to quickly create solutions in text processing problems, which can be just simple pattern matching but even major things. Therefore Tokay provides both a language for simple one-liners but also facilites to create programs like code-analysis and refactoring tools, including interpreters or compilers. For example, Tokay's own language parser is implemented in Tokay itself.

Tokay is a very young project and gains much potential. Volunteers are welcome!

Features

Tokay's design goals are

*) Planned feature, but coming soon.

Audience

Tokay is not intended to be a general purpose programming language, nor a replacement for awk.

Its intended audience are developers, dev-ops, data-analysts, administrators and any computer enthusiasts who are looking for a time-saving, quick-to-use and easy to learn language and toolchain for ad-hoc parsing and data extraction, which can just be fired up on the command-line, in shell scripts or embedded into other processes.

If you like awk and sed, you should take a look into Tokay as well.