Git Product home page Git Product logo

yorlang's Introduction

Build Status

Yorlang Programming Language

Yorlang was created so we can have fun writing code in one of the native languages (i.e Yoruba) in Nigeria .

Feature List

  • Variable Declaration
  • Conditionals & Loops
  • Functions & Arrays

For the full documentation showcasing examples and language use, visit the Website.

This project assumes you have Git installed.

Setup

For developers to get started with this project, you'll need to create a local copy of the project.

Run the following in your terminal:

 git clone https://github.com/anoniscoding/yorlang.git

Then change into the local directory, run the following in your terminal:

cd yorlang

Docker Setup

If you have Docker installed, you can proceed with the following:

To start a docker container for Yorlang, run this command in the terminal:

./start_container.sh

N/B: You might have permission problems on a Unix, please visit the following link to resolve potential file permission issues.

You can then proceed to the Hello World Section or the Unit and Integration Tests Section to run sample code.

Non-Docker Setup

If you don't have Docker installed or you prefer to pollute your PC's environment :), you'll need to install Node.js.

This project uses ES6+ features and requires a Node version that supports ES6+ features.

N/B: Yorlang was built with Nodejs v8.9.4

To confirm that you have Node.js installed, run the following in your terminal:

node -v

You should get something like v8.9.4

Install Node.js Modules

To install all dependencies, run the following in your terminal:

npm install

Link Yorl Command to Terminal

In order to run a file using the yorl command, run the following:

npm run link

Hello World

You can run sample code by running the following in your terminal:

yorl sample/test.yl

You should get something like: báwo ni ayé

Unit and Integration Tests

To run tests in the project, run the following in your terminal:

npm test

Author

  • Karounwi Anuoluwapo - @anoniscoding

License

yorlang's People

Contributors

anoniscoding avatar ddamox avatar skyusuf15 avatar mykeels avatar lekky71 avatar adexot avatar

Watchers

James Cloos 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.