Radiance
Radiance copied to clipboard
A simple language that compiles to WASM
# Description Looping a set number of times with a while loop is slightly cumbersome, requiring an additional variable declaration and a increment/decrement expression. A much better alternative would be...
# Description A new loop type that operates on values that implement Iterable. ES6 is good prior art here.
# Description An interface that describes an object as capable of iteration. It would require the implementor to have a method `next` that emits an Optional value. A value of...
# Description An interface describes an abstruct set of functions that a struct can implement. This allows implementations of that interface to be used in many places. With the restriction...
# Description Structs currently have no level of polymorphism, adding generic parameters and templating will enable a number of use cases. It will require syntax additions for declaring generic parameters...
# Descriptions In Radiance 0.1 the majority of declarations can only be written in the global scope. There is no technical restriction which requires this, it just adds complexity. As...
# Description With the addition of larger more complex type signatures from generics and enum variants it makes sense to be able to alias that type signature to a shorter...
# Description Swift offers the `if let` statement, which allows the definition of an conditional statement that is executed if an optional parameter is not null. In addition it unwraps...
# Description As an alternative to having a 'null' value within the language is to use the 'Optional' monad. In both swift and Rust this is implemented as a generic...
# Description The addition of generic types to enums will enable monadic types such as Optional and Result. These types will be key to error and null behaviour in the...