issues
search
qupa-project
/
uniview-lang
View once immutability enabling the safeties of immutable code, while enjoying near procedural performance
https://uniview.qupa.org
MIT License
2
stars
0
forks
source link
Traits
#65
Closed
AjaniBilby
closed
1 year ago
AjaniBilby
commented
1 year ago
Additions
[x]
trait
declaration
[x]
impl
statement for functions tied to a type, based on required behaviour
[x]
struct {key: value}
syntax now available for creating structures
[x] Intrinsic
Drop
trait which automatically gets executed on structs with this type when the value falls out of scope
[x] Intrinsic
Clone
trait which automatically gets called when cloning a struct with the Clone trait implemented
Changes
[x] Comments are now able to be used anywhere whitespace can
This closes #64
Additions
trait
declarationimpl
statement for functions tied to a type, based on required behaviourstruct {key: value}
syntax now available for creating structuresDrop
trait which automatically gets executed on structs with this type when the value falls out of scopeClone
trait which automatically gets called when cloning a struct with the Clone trait implementedChanges
This closes #64