Page:
Metadata
Pages
Arguments
Body
Control Flow
Data
Enum Definitions
Error Handling
File Structure
Functions and Methods
General Syntax
Guidelines
Home
How to Parse
Identifiers
Interface Definitions
Metadata
Modules
Object Type Definitions
Permissions
Phrases
Return Direction
Style Guide
Tokens
Type Definitions
Type Specifiers
Variable Definition
1
Metadata
Sasha Koshka edited this page 2022-08-30 05:57:36 +00:00
The metadata section contains optional semantic information such as the author of a file, and the license it is distributed under. It also contains information looked at by the compiler like other modules it requires. Keys are represented by name tokens, and values by string tokens. Each key/value pair should be on its own line, un-indented.
An example metadata section looks like this:
:arf
author "Sasha Koshka"
license "GPLv3"
require "io"
- Home Page
- List of Pages
- Guidelines
- Language Reference/Design Spec
- Compiler Design