DEV Community

Universe
Universe

Posted on

You Can Use Our Coding Language

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");
Enter fullscreen mode Exit fullscreen mode

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.exe from 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
Enter fullscreen mode Exit fullscreen mode

3. Create Your First Script

  • Open VS Code.
  • Create a new file named main.uni.
  • Type your first code:
say("hello world");
Enter fullscreen mode Exit fullscreen mode

4. Run Your Script

  • Open a terminal or command prompt.
  • Navigate to the folder where main.uni is saved.
  • Run:
universe run main.uni
Enter fullscreen mode Exit fullscreen mode
  • 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

  1. Start small: Write simple scripts and gradually add more features.
  2. Experiment: Try changing text in say("text"); or use numbers.
  3. Ask for help: Check online tutorials and forums if you get stuck.
  4. Practice daily: Even a few minutes a day helps you improve fast!

github repo for installation : Universe

Top comments (0)