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
- Home
Get started
- Kickstart in: C#, Java, Rust
- C# tutorials: Basics, Tree actions, Semantic actions
- Java tutorials: Basics, Tree actions, Semantic actions
- Rust tutorials: Basics, Tree actions, Semantic actions
Grammars and edition
- Reference
API Documentation
- API Documentation v3.5.0 .Net, Java, Rust
- API Documentation v3.4.0 .Net, Java, Rust
- API Documentation v3.3.2 .Net, Java, Rust
- API Documentation v3.3.1 .Net, Java, Rust
- API Documentation v3.3.0 .Net, Java, Rust
- API Documentation v3.2.0 .Net, Java
- API Documentation v3.1.0 .Net, Java
- API Documentation v3.0.0 .Net, Java
- API Documentation v2.0.6 .Net, Java
- API Documentation v2.0.5 .Net, Java
- API Documentation v2.0.1 .Net, Java
- API Documentation v1.3.2 .Net, Java
- API Documentation v1.2.0 .Net, Java
- API Documentation v1.1.0 .Net, Java
- API Documentation v1.0.0 .Net, Java
Release Notes
- v3.5.1, 2020, August 6th.
- v3.5.0, 2020, May 11th.
- v3.4.1, 2019, January 10th.
- v3.4.0, 2018, August 9th.
- v3.3.2, 2018, May 18th.
- v3.3.1, 2018, February 18th.
- v3.3.0, 2018, January 24th.
- v3.2.2, 2017, Octobre 19th.
- v3.2.1, 2017, Octobre 15th.
- v3.2.0, 2017, Octobre 4th.
- v3.1.0, 2017, September 26th.
- v3.0.1, 2017, August 3rd.
- v3.0.0, 2017, May 4th.
- v2.0.6, 2017, February 7th.
- v2.0.5, 2016, September 10th.
- v2.0.4, 2016, March 29th.
- v2.0.3, 2016, March 1st.
- v2.0.2, 2016, January 20th.
- v2.0.1, 2015, October 25th.
- v1.3.2, 2015, January 22nd.
- v1.3.1, 2014, October 23rd.
- v1.3.0, 2014, September 16th.
- v1.2.0, 2014, August 14th.
- v1.1.0, 2014, May 29th.
- v1.0.0, 2014, May 12th.
How do I use Hime?
C# | Kickstart | Basics | Tree actions | Semantic actions |
---|---|---|---|---|
Java | Kickstart | Basics | Tree actions | Semantic actions |
Rust | Kickstart | Basics | Tree actions | Semantic actions |
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
- 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.