Skip to the content.

Flexa Scripting Language

Welcome to the official documentation of the Flexa Scripting Language! Flexa is a toy scripting language developed for fun.

Features

Getting Started

  1. Install Flexa: Download and install the Flexa interpretor from the official repository.
  2. Write Your First Program: Create a .flx file and start coding! Here’s a simple example:

     println("Hello, Flexa!");
    
  3. Run Your Program: Use the Flexa interpretor to execute your code:

     flexa hello_world.flx
    
  4. Explore the Documentation: Dive deeper into Flexa by reading the official documentation.

Documentation

The Flexa documentation is organized into sections, starting from the basics and progressing to advanced topics. Here’s what you’ll find:

  1. Introduction: Learn about Flexa’s design philosophy and core concepts.
  2. Basic Syntax: Understand the fundamental syntax and structure of Flexa programs.
  3. Data Types: Explore the types of data you can work with in Flexa.
  4. Variables and Constants: Learn how to declare and use variables and constants.
  5. Control Structures: Master conditionals, loops, and flow control.
  6. Functions: Discover how to define and use functions in Flexa.
  7. Data Structures: Work with arrays, structs, and other data structures.
  8. Error Handling: Handle errors and exceptions gracefully.
  9. Built-in Libraries: Explore the powerful libraries included with Flexa.
  10. Built-in Functions: Learn about the essential functions provided by Flexa.
  11. Advanced Examples: See real-world examples of Flexa in action.
  12. Language Reference: Get a complete reference of Flexa’s syntax and features.
  13. FAQ and Common Issues: Find answers to frequently asked questions.
  14. Contributing: Learn how to contribute to the Flexa project.

Start your journey with Flexa by reading the Introduction.

Contributing

Flexa is an open-source project, and we welcome contributions from the community. Whether you want to report a bug, suggest a feature, or submit code, your help is appreciated. Check out the Contributing Guide to learn how to get involved.

License

Flexa is licensed under the MIT License. See the LICENSE file for more details.


Happy coding with Flexa! 🚀