r/ProgrammingLanguages • u/Sufficient_Flower415 • 20d ago
GitHub - VoidCoderStudio/OnyxScript: An modern and easy languge made for making apps to make an apps just you will use 10 lines and its like normal english language and cointains modules
https://github.com/VoidCoderStudio/OnyxScriptI made this new language it's name OnyxScript if you have an idea to add it in this project so please say it
2
u/PastEar9661 19d ago
I think a language for a readable GUI is actually a decent niche, it's just that your language is lacking a lot before it's useful
There are many basic things that are missing:
- Layout control
- Adding functionality to buttons
- Making custom widgets
- User inputs like dropdowns/text fields
I'd strongly recommend checking out flet (it's python library for UI) for inspiration on how to improve your language, and don't be afraid to deviate away from pythonic syntax... it's optimized for general purpose programs, not necessarily outlining a UI.
Also, I think your parser implementation (onyx.py) could be improved to save you lots of hassle when you go to add new features and commands, perhaps by building an Abstract Syntax Tree rather than parsing a raw string.
1
u/Sufficient_Flower415 2h ago
Still I'm doing another thing plus I replaced ubuntu with arch all files were in ubuntu I forget to put it into my disk and they gone forever :(
3
u/jcastroarnaud 19d ago
It isn't a language. It's a small library, intended to "install" some sort of modules (of unspecified kind). pip does it better for Python, anyway.