Hime Parser Generator

Welcome to this documentation for the Hime parser generator. It contains the reference documentation for the tool, as well as handy examples to get you started! Hime lets you specify the grammar of a language and then generate the associated lexer and parser for .Net, Java or Rust.

How do I use Hime?

Are you a first time user? Let's get started in C#, Java, or Rust.

Looking for a complete tutorial? Learn the fundamentals of Hime using C#, Java, or Rust.

Looking at editing Hime grammars, head to Editors for Hime.

Products

Download Hime v3.3.0

Hime is also available through packet managers (NuGet, Maven, Cargo). Head to the Download page for more information.

Sources

Main repository for runtimes and SDK
Library of ready-to-use grammars
Language server for Hime grammars
Visual Studio Code extension for Hime grammars

License

The Hime parser generator and its redistributable runtimes are all provided under the LGPL v3 license.

History

  • February 2018 : Released version 3.3.1 with bug fixes for Java and Rust.
  • January 2018 : Released version 3.3.0 with the support for a Rust runtime.
  • October 2017 : Update of the .Net and Java runtime and SDK to version 3.2.0 with support for .Net Standard and .Net Core.
  • September 2017 : Update of the .Net SDK to version 3.1.0 for the support of compilation options in grammars.
  • August 2017 : Update of the .Net SDK to version 3.0.1 for the support of Unicode 10.
  • May 2017 : Update of the .Net and Java runtime and SDK to version 3.0.0.
  • February 2017 : Update of the Java runtime to version 2.0.6.
  • September 2016 : Update of the .Net and Java runtime and SDK to version 2.0.5.
  • March 2016 : Update of the .Net and Java runtime and SDK to version 2.0.4.
  • October 2015 : Update of the .Net and Java runtime and SDK to version 2.0.1.