Skip to content
/ spyc Public

A little, Turing-Complete programing language combining aspects of C and Python

Notifications You must be signed in to change notification settings

jamesonev/spyc

Repository files navigation

Welcome to Spyc ("Spicy"), a programming langauge written by Jameson Evans.
AUTHOR: Jameson Evans
RELEASE: 0.0.3
RELEASE DATE: FEB 17 2019
LICENSE: MIT
DISCLAIMER: Spyc is only an academic project and should not be used in production under any circumstances. USE/RUN .spc FILES AT YOUR OWN RISK

Spyc is programming language with a syntax that combines elements of Python with elements of C.

#GETTING STARTED
5 sample programs have been provided.



make test1 output:
while(1 )
{
x = 1 
}
foo (a , b , 2 + 4 )
function 
myFunction (x , y )
{
if(x > 300000 )
{
return
x }
x = x * y 
y = x % y 
z = myFunction (x , y )

return
z 




make test2 output:
a = 0 + 4 * 2 
b = 10 
function 
foo (a , b )
{
c = a + b 
return
c + 5 
}
foo (1 , 30 )
while(1 < b & a + b > 6 )
{
x = "aboaisnroubas" 
y = x & "whoareyou" 
z = z + 1 


}
return
z 





make test3 output:
while(yatouastuyahtsyounbaato" < 2 )
{
y = 2 + unbaato" - "whooo" 
s = "oayrubnhayursthyatouastuyahtsyounbaato" 

}

About

A little, Turing-Complete programing language combining aspects of C and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published