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 we add some examples #11

Open
omarandlorraine opened this issue Oct 22, 2024 · 3 comments
Open

Can we add some examples #11

omarandlorraine opened this issue Oct 22, 2024 · 3 comments

Comments

@omarandlorraine
Copy link

I'm looking for some examples, or some documentation, on how to use this crate.

Ultimately, what I would like to do, is read in a file .c and call some of the functions defined in the file. I'm hoping that this crate can help with that.

@ehwan
Copy link
Owner

ehwan commented Oct 23, 2024

Hi @omarandlorraine.

I'm sorry. If you had taken a quick look at the code, you would know that this project is currently in a very early stage and might not be suitable. It doesn't have the form of a library (no public API, only executable), and all errors are covered with panic!.

I'm planning a major refactoring soon

@omarandlorraine
Copy link
Author

Okay, thanks for clarifying that. Is there anything I can do here to contribute?

Would you accept a PR implementing a public API exposing some of the workings for example?

@ehwan
Copy link
Owner

ehwan commented Oct 26, 2024

@omarandlorraine
For sure, I'll accept it.
FYI, are you trying to use this like an embedded language (without a linker from native compiled obj)?
If a linker is required, I have no plans to implemen in my crate.

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