Oscar Campbell

Results 62 issues of Oscar Campbell

# Functions / Methods **Note: See https://github.com/ozra/onyx-lang/issues/11#issuecomment-217818212 for latest RFC suggestion**! This is a staple construct of any language, and as such I believe there will be some opinions on...

RFC
this-issue-doubles-as-DOC

This is the only (?!) missing feature in Onyx atm, and the culprit is syntax (and a whoooole lot of coding). ## Syntax While indent-significant layout is ultimately apt for...

enhancement
RFC
75%-impl

When making a lookup for method matching arguments, if none is found, and there are candidates with explicitly typed args that are enums, the args will be looked up in...

enhancement
RFC

The importance of this tool as integral to the development experience in Onyx has been there since the inception. About time it's issued. The purpose of the stylizer is just...

hi-pri
RFC

# Conditional Branching Constructs ## If / elif / elsif / else The familiar branching construct needs no introduction, except that it can be used as an expression too (as...

RFC
this-issue-doubles-as-DOC

# Defining Types Before anything else, let's show case what some code currently looks like, to pitch your sensation whether it's intuitive without formal explanation. Then we'll take it from...

RFC
breaking
partially-accepted
this-issue-doubles-as-DOC
75%-impl

For many cases where callbacks are used in some languages, it's common in baselib to require visitor(-like) instances instead. A Visitor instance has several pros to simple callbacks: "pattern match"...

enhancement
RFC
accepted

Some examples brought up by @stugol: λ, ≠, ≤ and ≥. This is a definite go! The "grander idea" I've held since the beginning for Onyx is to: - Support...

enhancement
easy
lo-pri
RFC
accepted

# Nil Handling Sugar This is strongly wanted. I was inspired by LiveScript, Swift has it too, etc. The gotcha is crystal compatibility which is desirable to maintain, because of...

enhancement
RFC
75%-impl

# Multiple Assignment Currently multiple assignment is implemented in Onyx like this: ``` onyx [a, b, c, d] = [1, 2, 3, 4] -- => a=1,b=2,c=3,d=4 [a, c, b, d]...

RFC
this-issue-doubles-as-DOC