Introduction
overview
VG Language is designed for both beginners and experienced programmers. This guide will help you get started with the syntax, features, and usage. with the syntax, features, and usage.
VG Language aims to provide a simple yet powerful syntax that enables developers to write clean and efficient code. Whether you are new to programming or transitioning from another language, this guide will cover the fundamental concepts you need to know.
Key Features
- Simple Syntax – Easy-to-read structure with minimal complexity.
- Dynamic Typing – Supports flexible variable assignments.
- Control Structures – Includes loops, conditional statements, and functions.
- Data Structures – Offers arrays, dictionaries, and custom objects.
- Modular Design – Encourages reusable and maintainable code.
Getting Started
- Installation: Download and install the VG Language compiler or interpreter.
- Writing Code: Create a new file with the .vg extension and start coding.
- Running Code:
- Important: Always run VG programs using a terminal (Command Prompt or PowerShell), not by directly clicking on the executable.
- Open a terminal and navigate to your project directory.
- Use the command
vg yourfile.vg
to execute your script. - This ensures that the packages directory is properly created and libraries can be loaded correctly.
Example: