Giter VIP home page Giter VIP logo

swahili's Introduction

Swahili

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

Version 0.9.8 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

References


Examples

swahili's People

Contributors

bkmgit avatar malcolmkiano avatar w3ndo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.