umarniz / urduscript

A JavaScript dialect in Urdish.

Home Page:https://asadmemon.com/urduscript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UrduScript

UrduScript is an Urdish dialect of JavaScript. The goal is to make programming more accessible to beginners from South Asia. UrduScript uses informal Urdu analogies to programming concepts, making it easy to get started without remembering keywords.

UrduScript transpiles to JavaScript. All JavaScript frameworks (like jQuery, UnderScore, React, etc) can be seemlessly used.

Hello World

// declare variable
rakho naam = "Asad"

// output to console
likho("Hello, " + naam)

Try it online here.

Installation (Web Editor)

If you want to run the web editor offline. Follow these steps:

Prerequisites:

In order to run UrduScript on your computer, you need to install Node.js first.

Installing (Windows):
  • Download zip or clone the repository

  • Inside your project directory, run:

    npm install
    npm install -g nws
    npm run windows
  • Open your browser and type

http://localhost:3030
Installing (MacOs, Ubuntu, Unix, etc):
  • Download zip or clone the repository
  • Inside your project directory, run:
npm install
npm start
  • Open your browser and type
http://localhost:3030

Contributing

This is a open project and I am open to all ideas and improvements. See this page.

Acknowledgments

  • Project is only possible due to Sweet.js.
  • The online editor uses the wonderful CodeMirror.
  • Special thanks to Ali Alavi, Osman Mian, Eric Bhatti for their help.

About

A JavaScript dialect in Urdish.

https://asadmemon.com/urduscript/

License:MIT License


Languages

Language:JavaScript 100.0%