firescript v0.3.0 Documentation¶
This documentation is being used for the most part as a reference for planning the direction of the firescript language and its features. The compiler is still in early development, so many features are not yet implemented, or are implemented differently than described here. Nothing here should be considered final until the language reaches a stable 1.0.0 release.
This documentation is organized to help both newcomers and experienced developers understand and use the firescript language effectively.
1. Language Reference Manual¶
- Type System - Formal definition of types, nullability, arrays
- Scoping Rules - Variable visibility, lifetime, and scope creation
- Control Flow - Conditional statements and loops
2. Getting Started & Tutorials¶
- Types & Variables - Basic variable declarations and types
- Arrays - Working with array data structures
- Functions & Methods - Built-in functions and user-defined functions
3. Language Features¶
- Classes & Inheritance - Object-oriented programming fundamentals
4. Standard Library Reference¶
Standard library does not yet exist.
5. Examples¶
Check the /examples directory for complete code samples:
- Basic usage of built-in functions
- Fibonacci sequence implementation
- Array manipulation
- Scope and variable visibility demonstrations
6. Changelog¶
For the latest updates and changes to the firescript language, see the changelog.
Implementation Status¶
firescript is under active development. Key limitations in the current compiler version:
- ❌ Some copyable types (
bool,string,char) are supported.intNandfloatNtypes are planned. - ✅ Static type checking for expressions and assignments.
- ✅ Built-in functions:
print,input, and type conversions. - ❌ User-defined functions are not yet implemented.
- ❌ Classes and inheritance are planned but not implemented.
- ❌ Advanced array features like slicing and negative indices are not supported.
- ❌ Control flow is limited to
if/elseandwhileloops;forloops andswitchstatements are not implemented.