Automa is a regex-to-Julia compiler. By compiling regex to Julia code in the form of Expr objects, Automa provides facilities to create efficient and robust regex-based lexers, tokenizers and parsers using Julia's metaprogramming capabilities. You can view Automa as a regex engine that can insert arbitrary Julia code into its input-matching process, which will be executed when certain parts of the regex match an input.

Features

  • Automa is designed to generate very efficient code to scan large text data, often much faster than handcrafted code
  • Examples available
  • Documentation available
  • Validate some text is composed only of ASCII alphanumeric characters
  • Make a simple TSV file parser
  • Make a lexer

Project Samples

Project Activity

See All Activity >