Open-source image
Hime logo

Hime parser generator

Hime is a parser generator that targets .Net, Java and Rust. Hime relies on the LR family of parsing techniques, including the state of the art RNGLR algorithm for generalized LR parsing used for ambiguous grammars. Hime provides a powerful, expressive, and feature-rich grammar language with support for template syntactic rules, context-sensitive lexing (useful for contextal keywords), tree actions (useful for clean syntax trees), and more!

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

Table of content

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 v3LGPL v3 license.

History

  • 2023 : Since version 4, Hime moved to a rolling update scheme, the latest stable version of the tooling is always available at the same download location.
  • 2022 : Hime moved to a Rust implementation of its SDK and its command line tool for the production of tools native to target platforms (Windows, Linux, MacOS).
  • August 2018 : Released version 3.4.0 with the support for visitor generation and bug fixes for the SDK.
  • May 2018 : Released version 3.3.2 with bug fixes for the SDK.
  • 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.