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

Propagate error messages to user #2

Open
jacklee1792 opened this issue Aug 30, 2023 · 2 comments
Open

Propagate error messages to user #2

jacklee1792 opened this issue Aug 30, 2023 · 2 comments

Comments

@jacklee1792
Copy link

Sometimes submitting input does not result in any output because of some error message. This should be delivered to the user

image image
@spencerchubb
Copy link
Owner

This would require a lot of refactoring of Sebastiano's original code. He just uses printf in C to print errors

It would theoretically be possible to do, but I do not want to stray too far from the original code. If he makes changes to the original codebase, I want it to be easy to integrate with this project.

@spencerchubb
Copy link
Owner

spencerchubb commented Aug 30, 2023

On second thought, it may be possible to redefine printf, because I'm pretty sure C lets you redefine any syntax 😂

I might try that out

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