Skip to content

What is FilaScript?

FilaScript is a programming language. A program is a text file ending in .fsig that tells the computer what to do, step by step. FilaScript was made for FilaSignal, the Minecraft mod, but the language exists on its own: you can learn it and run programs on your computer without Minecraft.

fn main() {
name = "Alex"
print("Hello, " + name + "!")
}
Output
Hello, Alex!
  • Reacting to things that happen. Programs often wait for an event, such as a timer or a device noticing a player, and run a short handler each time.
  • Being safe. A program can only do what its host allows. In the standalone tool it can print text and compute. It cannot read your files, use the internet or run forever: every run has a work budget.
  • Being readable. There are no semicolons to remember, no let before variables and no confusing “truthy” values. if wants a real true or false, and is compares values.

What it looks like to experienced programmers

Section titled “What it looks like to experienced programmers”

FilaScript is dynamically typed with optional type annotations, lexically scoped with curly braces, and uses keywords for logic (and, or, not, is, is not). It has numbers (IEEE 754 doubles), strings, booleans, nil, lists, tuples, string-keyed dictionaries, classes with one constructor, enums, multiple return values, JSON and event handlers. It deliberately has no closures, inheritance, exceptions or modules. See the known limitations.