MiniD 1 Language Specification
This is the specification for version 1 of MiniD. The version 1 spec was frozen as of May 2007 and version 1 of the library was released the following August.
The reference implementation of MiniD 1 is no longer supported. To be honest, MiniD 1 was a coarse, unfinished thing, and I don't really consider it MiniD ;)
- Introduction - A brief overview of the language, with some small examples.
- MiniD 1 Specification
- Compilation - Describes the process of compiling source text into an executable form.
- Execution - How the compiled MiniD code is actually run.
- Lexical - The very basic textual bits that the language is made up of.
- Expressions - The algebraic language syntax of MiniD.
- Statements - Various language constructs.
- Types - A description of the various data types in MiniD.
- Declarations - How one declares and initializes variables.
- Functions - How to declare functions and what they can do.
- Classes - The object-oriented aspects of MiniD.
- Modules - The largest blocks of organization in MiniD, and how to work with them.
- Metamethods - How to customize the behavior of objects and perform operator overloading.
- Grammar - The (mostly-correct) EBNF grammar for MiniD.
- Standard Library - The library of code which accompanies MiniD.
- Base Library - The bare minimum library needed to get MiniD working.
- Array Library - A library of common array functions.
- Character Library - Character classification and modification.
- IO Library - A library providing basic file IO.
- Math Library - Regular old math functions.
- OS Library - Some OS-dependent functionality.
- RegExp Library - String manipulation and matching with regular expressions.
- String Library - Functions for manipulating strings.
- Table Library - Operations on tables.