Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Language Showcase: C3 (compilerspotlight.substack.com)
12 points by Jeaye on Aug 11, 2022 | hide | past | favorite | 2 comments


Try and catch are weird.

Without reading the language reference it looks like try can be used directly as a statement (in the while conditional) or left alone and later used by catch (with ’!’ as sugar). Or maybe try is an unary expression which returns false or the successful result. Either way not how I’ve seen it used before, too much going on behind the curtain methinks.


Very cool work! I really hope this develops a community behind it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: