Skip to the content.

Introduction to Flexa

Welcome to the Flexa Programming Language! Flexa is a toy scripting language developed for fun.


What is Flexa?

Flexa is a statically-typed, general-purpose scripting language that emphasizes simplicity, readability, and flexibility. It combines the best features of modern programming languages with a clean and intuitive syntax, making it easy to learn and use.

Key Features


Getting Started

To start using Flexa, you’ll need to:

  1. Install the Flexa Interpreter: Download and install the Flexa interpreter and runtime from the official repository.
  2. Write Your First Program: Create a .flx file and write your code. Here’s a simple example:

    namespace hello_world;
    
    fun main() {
      println("Hello, Flexa!");
    }
    
    fun main();
    
  3. Run Your Program: Use the Flexa interpreter to execute your code:

    flexa hello_world.flx
    
  4. Explore the Documentation: Continue learning about Flexa by reading the Basic Syntax guide.

What’s Next?

Now that you have a basic understanding of Flexa, it’s time to dive deeper into its syntax and features. The next section, Basic Syntax, will introduce you to the fundamental building blocks of Flexa programs.


← Back to Home Next: Basic Syntax →