From 5582d1f8b0ceb977ad33513ea4c5fc6c1b1bf5be Mon Sep 17 00:00:00 2001 From: Oliver Cooper Date: Sat, 30 Jan 2016 18:49:30 +1030 Subject: [PATCH 1/2] Removed old Lua file --- File Formats/Code/Lua.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 File Formats/Code/Lua.md diff --git a/File Formats/Code/Lua.md b/File Formats/Code/Lua.md deleted file mode 100644 index cda37e6..0000000 --- a/File Formats/Code/Lua.md +++ /dev/null @@ -1,15 +0,0 @@ -# *COS 2:* Lua - -## Quick information - -| Information | | -| ----------- | ------------------------- | -| Type | Plain text file format | -| MIME | `text/lua` | -| Extensions | `.lua` | - -## Technical details - -*This format is based upon [plain text](/File%20Formats/Documents/Plain%20Text.md) and as such technical details that apply to plain text also apply to this format.* - -Lua code files should contain valid, executable Lua code. These can either be self-contained programs, APIs or Lua otherwise loaded by a program. From 81cc37cbd3d754ec52566585d7e1bda015f28735 Mon Sep 17 00:00:00 2001 From: Oliver Cooper Date: Sat, 30 Jan 2016 19:04:15 +1030 Subject: [PATCH 2/2] Lua API format --- File Formats/Lua/API.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 File Formats/Lua/API.md diff --git a/File Formats/Lua/API.md b/File Formats/Lua/API.md new file mode 100644 index 0000000..c752bc4 --- /dev/null +++ b/File Formats/Lua/API.md @@ -0,0 +1,15 @@ +# *COS ?:* Lua API + +## Quick information + +| Information | | +| ----------- | ------------------------- | +| Type | Lua API | +| MIME | `lua/api` | +| Extensions | `.api` | + +## Technical details + +*This format is based upon [plain text](/File%20Formats/Documents/Plain%20Text.md) and as such technical details that apply to plain text also apply to this format.* + +Lua API files must contain valid Lua code which can be loaded by `os.loadAPI` without error. For more information, see the [wiki page](http://www.computercraft.info/wiki/Os.loadAPI) on APIs. \ No newline at end of file