2 releases

Uses new Rust 2024

new 0.1.1 Mar 20, 2025
0.1.0 Mar 19, 2025

#887 in Parser implementations

Download history 216/week @ 2025-03-17

216 downloads per month

MPL-2.0 license

63KB
2K SLoC

Xenon CodeGen

The Xenon Code Generator & AST Representation

This package functions similar to Rust's codegen crate, allowing an in-code representation of Xenon code in the form of Nodes. Every node impliments fmt::Display, and the to_string() function generates correct code that can be passed back into the parser.

TODOs

  • Into<T> for variants of enum types
  • Documentation

Dependencies

~210–640KB
~15K SLoC