Skip to content

SINTAX is a programming language built with JavaScript.

Notifications You must be signed in to change notification settings

UddeshJain/SINTAX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SINTAX

Sintax is a programming language with JavaScript.

Project Overview

This programming language built with JavaScript and it provides REPL (Read Evaluate Print Loop) interface to interact with users. The syntax of this programming language is simple and more similar to human language. It is easy to use and built to teach programming for newbies.

Installation

  1. Clone this repository.

  2. Open your terminal and run the following command to install the required dependencies.

$ npm install
  1. Run the following command to start REPL.
$ npm start

Usage

SINTAX uses parenthesis () in the beginning and at the end of the statement.

Note :- SINTAX also support nested operations for e.g.

(add 10 (subtract 20 10))

>>> 10
  1. Print Statement.
(log "Hello World")

>>> Hello World
  1. Addition (+)
(add 10 20)

>>> 30
  1. Subtraction (-)
(subtract 10 - 5)

>>> 5
  1. Multiplication (*)
(multiply 10 20)

>>> 200
  1. Division (/)
(divide 10 2)

>>> 5
  1. Modulo (%)
(modulo 11 10)

>>> 1
  1. Biggest Number
(max 58 38 22 100)

>>> 100
  1. Smallest Number
(min 4 77 1 54)

>>> 1

Any Idea for improvement.

Pull request are most welcome.

About

SINTAX is a programming language built with JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •