aboutsummaryrefslogtreecommitdiff
path: root/api/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-19 00:23:02 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-19 00:23:02 -0400
commit67e8f2dea0d4eec20a839d47f1fa6302a4a5f733 (patch)
tree3f9d28687b6ac824b5676c963ef9964ac4857c4a /api/README.md
parent8363d53bd27c621cb342fea15736a3b11231f2a4 (diff)
Move docs into one folder
Diffstat (limited to 'api/README.md')
-rw-r--r--api/README.md68
1 files changed, 0 insertions, 68 deletions
diff --git a/api/README.md b/api/README.md
deleted file mode 100644
index a7fe1262..00000000
--- a/api/README.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# API
-
-Tomo has a small number of built-in functions and bunch of types.
-
-## Types
-
-- [Arrays](arrays.md)
-- [Booleans](booleans.md)
-- [Channels](channels.md)
-- [Enums](enums.md)
-- [Floating point numbers](nums.md)
-- [Integer Ranges](ranges.md)
-- [Integers](integers.md)
-- [Sets](sets.md)
-- [Structs](structs.md)
-- [Tables](tables.md)
-- [Text](text.md)
-- [Threads](threads.md)
-
-## Built-in Functions
-
-### `say`
-
-**Description:**
-Prints a message to the console.
-
-**Usage:**
-```markdown
-say(text:Text) -> Void
-```
-
-**Parameters:**
-
-- `text`: The text to print.
-
-**Returns:**
-Nothing.
-
-**Example:**
-```markdown
-say("Hello world!")
-```
-
----
-
-### `fail`
-
-**Description:**
-Prints a message to the console, aborts the program, and prints a stack trace.
-
-**Usage:**
-```markdown
-fail(message:Text) -> Abort
-```
-
-**Parameters:**
-
-- `message`: The error message to print.
-
-**Returns:**
-Nothing, aborts the program.
-
-**Example:**
-```markdown
-fail("Oh no!")
-```
-
----