Skip to content

Commit c801005

Browse files
committed
Credit Prism for code generation pattern
1 parent 548d438 commit c801005

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rust/ruby-rbs/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use serde::Deserialize;
22
use std::{env, error::Error, fs::File, io::Write, path::Path};
33

4+
// This config-driven code generation approach is inspired by Prism's ruby-prism crate.
5+
// See: https://github.com/ruby/prism/blob/main/rust/ruby-prism/build.rs
6+
47
#[derive(Debug, Deserialize)]
58
struct Config {
69
nodes: Vec<Node>,

0 commit comments

Comments
 (0)