Docs

Language Docs

Language Docs

Install

Packaged Binary Download latest release from our official GitHub repo for your operating system Intall from Source Pre-Installation: Download & Install …

Language Docs

Getting Started

Install Install the latest build by going through our install section. Help You can always make use of -h or --help flag to see how mutant can be used. This …

Language Docs

REPL

Read, Eval, Print, Loop mutant language has a basic REPL for testing the language before you starting writing some real code. Its still in a pre-release state …

Language Docs

Keywords

Following is the list of all the keywords that will be used: fn let true false if else return Following is the list of built-in functions: putf putln gets push …

Language Docs

Data Types

Mutant programming language supports following data types: The language is loosly typed and it does not require defining specific data types while creating …

Language Docs

Control Flow

Mutant supports simple conditions and branching through if/else statements. Let’s see them in action in below examples: Example 1 if (1 == 1) { …

Language Docs

Variables

Mutant supports variable declaration and reassignment. Let’s see them in action in below examples: Example 1 let name = "sakamoto"; Example 2 let …

Language Docs

Functions

Mutant supports user defined functions. Let’s see them in action in below examples: Example 1 let sum = fn(n1, n2) { return n1 + n2; }; sum(10, 20); …

Language Docs

Built-Ins

Mutant has some built-in functions. Let’s see them in action in below examples: Example 1 putf("Hi"); Example 2 putln("Hi"); …