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

Added try-catch statement #57

Closed
wants to merge 2 commits into from
Closed

Conversation

dotjpg3141
Copy link

I'm really enjoing this series. I've implemented the try-catch statement and the repl doesn't crash anymore if the evaluator throws an (intended) exception.

grafik

@terrajobst
Copy link
Owner

terrajobst commented May 20, 2019

Wow, that was very unexpected. I love the tinkering and the creativity ❤️

I'm not opposed to try/catch but I'll have to think a bit harder on how this will fit in. During the next episodes I'll be adding return statements and control flow analysis. I've not thought how exception handling will play into this. You just raised the bar for all of us 😉

@terrajobst
Copy link
Owner

After giving this more thought I don't think I'll be pursuing try/catch in this language

@terrajobst terrajobst closed this May 26, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants