bfc icon indicating copy to clipboard operation
bfc copied to clipboard

Can this become a library on crates.io?

Open vcfxb opened this issue 7 years ago • 3 comments

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.

vcfxb avatar Apr 05 '18 14:04 vcfxb

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?

Wilfred avatar Apr 18 '18 22:04 Wilfred

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.

vcfxb avatar Apr 21 '18 19:04 vcfxb

This could also perhaps expose interfaces to the optimizations and warnings emitted by bfc.

vcfxb avatar Apr 21 '18 19:04 vcfxb