# Ruby IR
Intermediate Representation for Ruby code in Rusty Ruby.
## Overview
This crate provides the intermediate representation (IR) for Ruby code compilation in the Rusty Ruby project. It defines the data structures and traversal utilities for representing Ruby code in a form suitable for optimization and code generation.
## Features
- Abstract syntax tree (AST) representation
- Traversal utilities for IR manipulation
- Serialization support for IR objects
- Integration with other Rusty Ruby components
## Usage
```rust
use ruby_ir::*;
// Create IR nodes
let expression = Expression::Constant(Constant::Integer(42));
// Traverse and manipulate IR
let mut visitor = MyVisitor::new();
visitor.visit_expression(&expression);
```
## License
MIT OR Apache-2.0