Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismoilovdevml/osmon-lang
Osmon lang dasturlash tilida calculator
https://github.com/ismoilovdevml/osmon-lang
calculator osmon-lang programming-language xinux
Last synced: 23 days ago
JSON representation
Osmon lang dasturlash tilida calculator
- Host: GitHub
- URL: https://github.com/ismoilovdevml/osmon-lang
- Owner: ismoilovdevml
- Created: 2022-07-06T10:04:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T10:38:52.000Z (over 2 years ago)
- Last Synced: 2024-12-21T14:45:54.386Z (24 days ago)
- Topics: calculator, osmon-lang, programming-language, xinux
- Language: HTML
- Homepage: https://github.com/ismoilovdevml
- Size: 31.3 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Osmon
Programming Language | Dasturlash Tili
O'zbek boshlang'ichlari uchun o'rgatuvchi til | Language made for uzbek learners
Xissasini qo'shayotganlar:
UwUssimo (birinchi muallif) | Mukhammadyusuf (osmon-react) | Fromgodd (hozirgi muallif) | Genemator (osmon-script)
Osmon langni o'rnatish
Windows/Powershell uchun
```bash
iwr https://sh.osmon.dev/install.ps1 -useb | iex
```*NIX/Bash uchun
```bash
curl -fsSL https://sh.osmon.dev/install.sh | sh
```
Osmon Lang VSCode Kengaytmasi
[Osmon Lang VSCode Kengaytmasini o'rnatish](https://marketplace.visualstudio.com/items?itemName=osmon.osmon)
## Maqsad
* **O'zbekona sintaksis**
* **Rust bilan integratsiya**
* **O'rganish darajasini oshirish**
* **Virtual Mashinani OOP ga moslash**## Holis (istamaymiz)
* Judayam haddan ortiq ko'p resurslar ko'paytirish
* JIT kompilyatsiya
* Baytkod fayllarni yaratish# Misol
```
funksiya faktorial(n) {
agar n == 0 {
qaytar 1;
}
qaytar faktorial(n - 1) * n;
}klass Faktorial {
funksiya yarat(v) {
shu._v = v;
qaytar shu;
}funksiya qiymat() {
agar shu._v == 0 {
qaytar 1;
}joy f = Faktorial(shu._v - 1);
joy v = shu._v;qaytar f.qiymat() * v;
}
}funksiya asosiy() {
yoz("Klasslik faktorial(5) = ",Faktorial(5).qiymat());
yoz("Rekursiv faktorial(5) = ",faktorial(5));
}
```Programming Language | Dasturlash Tili
Xinux Jamiyati tomonidan yaratilgan Dasturlash tili [osmon-lang].