Review of a Programming Language

⚓ rust    📅 2025-05-30    👤 surdeus    👁️ 4      

surdeus

So, I recently embarked on a journey to make a programming language in Rust and came out the other end with Rlux, it's a smaller language with a pretty standard feature set and I really want to make it more modular

Right now the pipeline is pretty standard, but my code is highly coupled, and I would really want to try to refactor it so smaller modules can be used to swap in and out, as an end goal I would like each "unit" of my pipeline to be it's own crate, the catch is that I have never really refactored something this way or on this scale, so the actual way it needs to be sliced to still be usable and run effectively escapes me at the moment, so if anyone could show me how I could even start to think about slicing up my code base, it would be highly appreciated.

Thank in advance for any time or advice!

4 posts - 2 participants

Read full topic

🏷️ rust_feed