Skip to content

Commit

Permalink
Merge pull request #3 from prankshaw/master
Browse files Browse the repository at this point in the history
Updated readme.md via terminal
  • Loading branch information
MohammedRashad authored Feb 13, 2018
2 parents 4fca59d + 193e4a6 commit 0215249
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ It's a Lisp for everyone, and no one.

**[Get Simplex Here](https://github.com/MohammedRashad/Simplex/releases)**

## Introduction
## Introduction


### Brief Intro
Expand All @@ -15,14 +15,14 @@ The motivation behind it was to push my limits in programming and in **C** espec

More detailed documentation and tutorials is being added.

### What's simplex ?
### What is simplex ?

Simplex is simple programming language. Inspired by Lisp, Python, Fortran and BASIC.<br/>
With many improvements and modifications, it's my trial to re-invent Lisp.
<br/><br/>


## Main Features
## Main Features

- Functional
- Turing-Complete
Expand All @@ -40,28 +40,28 @@ With many improvements and modifications, it's my trial to re-invent Lisp.
- Scopes
- Live Interpreter
- Functions
- First Order Functions
- First Order Functions
- Recursion
- Standard Library
- Strings
- Floating Point Numbers
- Logical Operations
- Arithmetic Operations
- Arithmetic Operations
- Batch Interpreter
- User Input
- User Input
- Loading Files
- Library Loading
- If Conditional Statements
- If Conditional Statements
- Case Statements
- Select Statements
- List operations

## Basic Tutorial
## Basic Tutorial

**Printing :**

(print "Hello World")

**Input :**

(scan "x")
Expand All @@ -71,37 +71,37 @@ With many improvements and modifications, it's my trial to re-invent Lisp.
(- 3 2) == 1
(* 3 4) == 12
(/ 12 6) == 2

**Variables :**

(define [a] 100)

**Lists :**

(define [w] [1 2 3 4 5 6])

**Functions :**

(fun [add x y] [+ x y])

**Comments:**

# This is a comment
# This is a comment
# Multiline comment

**Conditonal Statements :**

# If Statement
**Conditonal Statements :**

# If Statement
if (<condition>)
[<condition true>]
[<condition false>]

# Select Statement
select
[ (<case>) <do stuff> ]
[ (<other case>) <do other stuff> ]
[ otherwise (<do other other stuff>) ]

# Case Statement
case x
[0 "Monday"]
Expand All @@ -113,11 +113,11 @@ With many improvements and modifications, it's my trial to re-invent Lisp.
[6 "Sunday"]


## Documentation and Tutorials

## Documentation and Tutorials

You can always refer to [Simplex Wiki](https://github.com/MohammedRashad/Simplex/wiki/) for in-depth details.

## License
## License

This project is signed under GNU Public License V3.0

0 comments on commit 0215249

Please sign in to comment.