Open vcfxb opened 6 years ago
Ooh, that sounds like a really neat idea! I'd be very up for supporting this use case. Can you describe what sort of API you'd want?
The minimum API I want would expose an interface for reading/writing to and from brainfuck files and representations, as well as translating them to an LLVM Intermediate Representation (usable via the llvm-sys crate). Hope it's not too much to ask. I am willing to contribute if you want.
This could also perhaps expose interfaces to the optimizations and warnings emitted by bfc.
I was wondering if this could be a library on crates.io with docs on docs.rs so that other rust developers can use this in their projects.
One of my projects (the wright programming language) is a language that could potentially benifit from targetting brainfuck as an itermediate, and I would like to use your compiler in the process.