Oscar Campbell

Results 353 comments of Oscar Campbell

Well, you know the saying, "sifting out the mosquitoes just to swallow the camels", or something - I translated from Swedish, maybe it's not a saying in the anglo-linguistic sphere?...

Re-reading this again after some time. The "multiple return values" concept (I prefer that over brittle tuple, indicating that it is indeed not really a type but a language construct),...

Follow up to https://github.com/ozra/onyx-lang/issues/97#issuecomment-299814332 - Follow up - Some reflection over good ways already discussed - A C++ std::expected example - A proposal for a generic, syntactically (and semantically), _super...

> occasionally. I've had to cut-and-paste entire code files more than once, to fix the parens. Haha, yes, if I may qoute myself from the README: "Optimize for human readability...

`try` _is_ for catching exceptions. Having `try` _also_ double as an alternative keyword for `if` just doesn't work out, and is rather confusing.

@stugol, I haven't even tried out the `->func` functionality! I must get back to you on that one :-)

There is a parsing exception allowing the shebang on the first line.

Edited the OP and added multi-line / inline comment ideas.

It doesn't "magically". It has to be implemented in its' own right. But according to asterite and the crystal community there's interest in it. It makes it possible in that...

I spent the day coding angular syntax, and it has quite an impact on parsing. Since `` are asymmetric gt/lt and for tuples they're symmetric, the parsing ends up doing...