0.10.2 • Published 2 years ago

swahili-lang v0.10.2

Weekly downloads
4
License
GPLV3
Repository
github
Last release
2 years ago

Swahili

A new programming language with semantics borrowed from the Swahili language to help teach programming concepts to native Swahili-speaking students.

Version 0.10.2 Run on Repl.it

Get Started

Installation

Swahili is built on Node. To get started, you can install Swahili, or follow the instructions to run without installing.

npm install -g swahili-lang

To start the REPL, just run swahili in your terminal.

swahili

Try things out! Here's a good command to get you started:

> andika("Jambo Dunia! Hello, World!")

External files

You can pass in a file path to be executed when you run the swahili command in your terminal:

swahili ./examples/jambo.swh

To see more options for the swahili command run

swahili -h

Run without installing

If you'd like to run without installing, simply use:

npx swahili-lang [filename]

To enable syntax highlighting for your Swahili programs in VS Code (more coming soon!), get this VS Code extension.


Documentation

Language Guide

  1. Introduction
  2. Grammar and types
  3. Control flow and error handling
  4. Loops and iterations
  5. Functions
  6. Expressions and operators
  7. Numbers and dates

Packages NEW

References


Examples

See all examples »

0.10.2

2 years ago

0.10.0

3 years ago

0.10.1

3 years ago

0.9.92

3 years ago

0.9.93

3 years ago

0.9.91

3 years ago

0.9.9

3 years ago

0.9.8

4 years ago

0.9.7

4 years ago

0.9.6

4 years ago

0.9.5

4 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.6.6

4 years ago

0.6.5

4 years ago

0.6.3

4 years ago

0.6.1

4 years ago

0.5.2

4 years ago