Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this become a library on crates.io? #22

Open
vcfxb opened this issue Apr 5, 2018 · 3 comments
Open

Can this become a library on crates.io? #22

vcfxb opened this issue Apr 5, 2018 · 3 comments

Comments

@vcfxb
Copy link

vcfxb commented Apr 5, 2018

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.

@Wilfred
Copy link
Owner

Wilfred commented Apr 18, 2018

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?

@vcfxb
Copy link
Author

vcfxb commented Apr 21, 2018

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
Copy link
Author

vcfxb commented Apr 21, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants