Logo Lanfrica

ibnsultan/swap

Domain:

natural language processing

Record type:

software
Creator:
ibn
Host:
micro programming language using Swahili lexicons to code. # Swap # Swahili Programming Language **SWAP** was created so as to help non-English speaking natives to have a much easier understanding in Programming (i.e SWAHILI) in Tanzania . It is a programming Language that allows programmers to write codes in the Swahili Language construct ## Author - Abdulbasit Rubeiyya- @ibnsultan ## Credits - node js - jScript ## TUTORIAL #### INSTALLATION Getting Started with Swap you need to have node runtime installed on your machine, After making sure that node runtime works on your machine run the following command `npm install -g swapro` After installation download run the command `swap -h` if your installation was successful the following result will show up λ swap -h Usage: cli [options] [file] Options: -v, --version output the version number -h, --help output usage information _________ _________ ________ / / // // / / / // // / Swahili /_________ / //________//________/ programming // / // // Language // / // // author: Abdulbasit Rubeiyya ________//____/_____// // Examples: $ swap file.sw $ swap -h $ swap -v To program using swap we will be using vscode, so open the program and install the swap extension 1. Linux : no more configurations start right away 2. Windows: swap supports only LF (Line feed) end of line format while the default for windows is CRLF (Carrige Return and Line feed) EOL format so we have to change it In your project create a folder called **.vscode**, and inside it create a file settings.json and inside it add the following line. ``` { "files.eol": "\n" } ``` OR for windows you can use the notepad++ mod that provides a syntax highlighter for you code, click here to download it  **NOTE: The file extension for a swap file is .sw and Swap does not use the WINDOWS (CRLF) EOL format, if you're not going to use the provided text editor on windows OS m …

Languages