Rust-like structs(without types) with implementations in tr-lang and Basic Enums #31
Labels
enhancement | yükseltme
New feature or request | Yeni özellik veya istek
help wanted | yardım isteniyor
Extra attention is needed | Ekstra dikkat gerekli
todo | yapılacaklar
something we are to do | yapacağımız bir şey
A proposal to add Rust-like structs(without types) to the language. As in Turkish struct means
yapı
, which also means building. It may be a confusing name. Thus after some consideration I renamed them toşekil
(shape). Enums have been directly translated intosayım
. And here is the syntax proposal. methods aremetot
oryöntem
and new isyeni
The text was updated successfully, but these errors were encountered: