Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 963 Bytes

README.md

File metadata and controls

48 lines (29 loc) · 963 Bytes

Scrpt

A small Open Source High Level Programing Language

I Designed it to have as clean of a syntax I could think of while making its source code as readable as possible

Feel free to run

python main.py Factorial_Demo.srp
Factorial(n)
   if n == 1
       return n
   if n!=1
       return n*Factorial(n-1)

new time

! Pythons equivelant will be
! from time import time


t1 = time()

print 'start'
v = 0
for 10000
    v = v+1

print v
print 'executed in:',time()-t1,'sec'

And Watch the result get printed out

Be aware, This is not a complete project,

There are bugs and many other core programing laguage features like Error messages has not been implemented.

I wrote a blog post on my progress and what it felt like creating Scrpt from scratch

I Designed A Programing Language. And Here Is My Experience