Glass is primarily an early-stage Programming Language written in C++ almost from scratch. It is inspired by Python and C#, so programmer coming from these languages may find some similarities. It is going to be a Powerful yet Easy to Learn Programming Language. Currently not much is implemented, however the progress for Glass is on a pretty good track.
Note: The new in-dev version of Glass is coming soon.
Visual Studio Code is recommended, Glass is officially untested on other development environments whilst we focus on a Windows build.
Start by cloning the repository with git clone https://github.com/Light-Lens/Glass
.
The plan for Glass is two-fold: to create a Powerful, General Purpose, OOP (Object Oriented Programming) Language. It will be capable to handle massive GUI and Game rendering, yet it will be Easy enough so any application could be written as quick as possible. We may use OpenGL for Game rendering, but that's just what we expect to happen in future. It's totally possible for us to use DirectX, Vulkan or something else.
- Classes
- Functions
- Graphics rendering
- Loops (For loops, While loops)
- GUI application development support
- Conditional statements (If else statements, Switch statements)
- Custom Library building support (By this feature you can make a Glass Library using ".glass" files only, this means you don't need to access the source code everytime you want to create a new Library for Glass)
About CGlass.
Check out Glass's Devlog.
You need to install the following on your machine.
- Mingw-w64
- Python 3
- Visual Studio Code (or any other IDE)
- Create a Glass program by creating a new file with the extention
.glass
- If you don't have a Glass program yet try running some from
res\sample projects
- As soon as Glass compiles start Command Prompt in
bin
folder and typeGlass [path of your file]
- To compile Glass from source, start Command Prompt and run
scripts\Build.bat
By the end of 2022, we want to make Glass capable of handling massive console applications, not like a test program, but this time with proper Loops, Functions, Variables, Conditional statements and a bit more.
All code is licensed under an MIT license. This allows you to re-use the code freely, remixed in both commercial and non-commercial projects. The only requirement is to include the same license when distributing.
We welcome any contributions to Glass Programming Language development through pull requests on GitHub. Most of our active development is in the master branch, so we prefer to take pull requests there (particularly for new features).