В качестве отечественной джавы выступает библиотека, которую можно добавить в любой проект maven / gradle.
Как утверждает разработчик:
Yoptava — это первый в мире язык программирования на русском языке, транслируемый в Java с помощью Runtime компилятора.
Для того, чтобы писать Java код на русском языке, необходимо сделать всего пару действий:
- Добавить maven / gradle зависимость
- Инициализировать библиотеку
Пример того, как выглядит русскоязычный код:
/**
* Печатает атмосферу планеты Земля.
*/
приватный статический пустой распечататьАтмосферуПланеты() {
Список<ХимическийЭлемент> атмосфера = получитьАтмосферуПланеты(3);
системноРаспечататьСтроку("nАтмосфера планеты "Земля" состоит из:");
для (ХимическийЭлемент химическийЭлемент : атмосфера) {
Система.вывод.распечататьСтроку(химическийЭлемент.кСтроке());
}
}
В дополнение ко всему библиотека позволяет внедрять свои собственные словари.
Источник:
GitHub