Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCSMB-4: Lua files #9

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Standards/CCSMB-4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CCSMB-4: Lua

*Author: Oliver Cooper (oeed)*

*Last updated: 2022-01-27*

*Version: v1.0.0*

## Quick information

| Information | |
| ----------- | ------------------------- |
| Version | 1.0.0 |
| Type | Plain text file format |
| MIME | `text/lua` |
| Extensions | `.lua` |

## Technical details

*This format is based upon [plain text](/Standards/CCSMB-2.md) and as such technical details that apply to plain
text also apply to this format.*

Lua code files should contain valid, executable Lua source code. These can either be self-contained programs, APIs or Lua
otherwise loaded by a program. Lua code files should be loaded with `require`, over `os.loadAPI`. Lua code files should also use `local` to declare a variable, unless a `global` is needed, which it usually is not.