is a powerful, flexible, and concise scripting language similar to Python (after all, that's what it is built on). Currently, 3.141thon supports the following features (but it is still progressing hasn't been touched in a minute):
- Expressions
- Variables
- Functions
- Nested scopes
- Arrays
- For loops
- Dictionaries
- Subscripting
- While loops
- If/Else statements
- Most common operators supported
- Built in functions
To run 3.141thon code, open and run the file NL.py. Any 3.141thon code typed into the file NLCode.text will be run at the start, after which a command line will appear where line by line instructions can be specified.
varName=2; varName="string"; varName=[1,2,3]
nameOfFunction(param1,param2)={varName=param1+param2;return(varName);}
nameOfFunction(4,6)
array=[1,2,[3,4]]; print(array[2][0]);array[0]=[0,1];
for(i,1,11)={j=i*2;print(j);}
d=["one":1, "two":2];d["three"]=3;
a=1;b=10;while("a<b",{a+=1;print(a);})
a=4;b=5;if(a<b,{print(b-a)}, {print(a-b)})
Got any feedback? Please email me at [email protected]