Universe Programming Language
By Youcef Dev
Universe is a modern programming language designed for simplicity, speed, and power. Even if you have never coded before, Universe makes it easy to start writing scripts and building applications.
π What is Programming?
Programming is giving instructions to a computer so it can do what you want. In Universe, these instructions are written in .uni files called scripts.
Example of a script:
say("hello world");
This will make the computer display "hello world".
π Features
- β Easy to learn: Universe has a modern and simple syntax that is beginner-friendly.
- β Powerful standard library: Ready-made tools to do things like math, text, and GUI creation.
- β One-line GUI creation: Build simple graphical applications without writing complex code.
- β Cross-platform: Works on Windows, macOS, and Linux.
π οΈ Getting Started (Step by Step for Beginners)
1. Install Universe
- Download
universe.exefrom the github repo . - Add it to your system PATH so you can run it from any terminal.
2. Install the VS Code Extension
VS Code will help you write Universe scripts with colorful syntax and auto-complete features:
code --install-extension path\to\universe-language-0.0.1.vsix
3. Create Your First Script
- Open VS Code.
- Create a new file named
main.uni. - Type your first code:
say("hello world");
4. Run Your Script
- Open a terminal or command prompt.
- Navigate to the folder where
main.uniis saved. - Run:
universe run main.uni
- You will see "hello world" printed on the screen!
π Learn More
- Explore the official documentation for more examples.
- Try creating small programs like calculators, text editors, or games.
- Universe is perfect for beginners to learn programming concepts while building real applications.
π‘ Tips for Absolute Beginners
- Start small: Write simple scripts and gradually add more features.
- Experiment: Try changing text in
say("text");or use numbers. - Ask for help: Check online tutorials and forums if you get stuck.
- Practice daily: Even a few minutes a day helps you improve fast!
github repo for installation : Universe
Top comments (0)