From 0e9a7b6c298aaf10cf11c6a144b49dff161bfa12 Mon Sep 17 00:00:00 2001 From: charles Date: Thu, 5 Mar 2026 22:28:14 -0800 Subject: [PATCH] add: basic outline --- .gitignore | 1 + Cargo.lock | 7 +++++++ Cargo.toml | 6 ++++++ README.md | 9 +++++++++ src/main.rs | 3 +++ 5 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..6b2839d --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "rust-langrpg" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..bb2f2ba --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "rust-langrpg" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..cdadbb3 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Rust RPG Lang + +An implementation of the RPG language from IBM. + +Language reference: https://www.ibm.com/docs/en/i/7.5.0?topic=introduction-overview-rpg-iv-programming-language + +## Implementation + +The RPG language was converted to an BNF, and fed into the bnf crate (https://docs.rs/bnf/latest/bnf/). diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..623ab5f --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello world!") +}