Skip to content

flexa-script/flexa-script.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flexa Scripting Language

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

Features

  • Simple Syntax: Flexa's syntax is clean and easy to learn.
  • Strong Typing: Flexa supports static typing when defined, ensuring safer and more predictable code.
  • Standard Library: Flexa comes with a comprehensive set of built-in libraries for common tasks like file handling, networking, and data manipulation.
  • Cross-Platform: Write once, run anywhere. Flexa programs can be executed on multiple platforms without modification.
  • Extensible: Flexa allows you to create and use custom libraries, making it highly adaptable to your needs.

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! 🚀

About

Flexa Docs

Resources

License

Stars

Watchers

Forks