Electron documentation

Hello welcome to my language Electron. This language was made for fun and isn't really
usefull but is sorta usefull with numbers. To install 1. Install a python text editor (for
example atom) 2. Create a file (you must name it electron.py or else your code won't work 3. Go to this link (it sends you to github) and copy and paste the code from electron.py and put it in your electron.py 4. This is the final step go back to this link and copy txteditor.py now make a new file in your text editor (name it anything you want but it must end with .py) and paste the code in it. Now you set up your electron code editor!

How to Use

Now that you're done installing electron you can go to the file you made in step 4 and run it and you've made your electron tet editorThe rules are simple

There are also types like &-10& we'll talk about these later

Functions

There are many functions let's talk about the easiest. In every programming language you should be able to write hello world in this one it is say: =hello=. Say can put string and only strings on your screen when you run. Also any functions end with a :. Then they are others functions like factorial: and square (multiply's the number by it self) ,log: and sqrt: (sqaure root). These functions can have a whole arithmethic expression in them for example !5!+!6!*>-3.5<. Electron will solve this for you following the rules of pedmas. Note there is no parenthesis or exponents in electron's expressions. There is also type: (a function) which tells us what type something is for example type: =hello= would result in {'str':'hello'} type: type: or any other function would result with {'func':'functions name'}. Finally there is loop:. loop can loop through numbers one through ten and do some operation like *2. The syntax for looping through !1! and !10! is loop: !1! !10! !1! &+0& which means start from 1 end at 10 then perform the expression +0 (If you see the type of a expression it would be {'expression':'whatever your expression was'}). Also ignore the !1! for now. Finally expressions can only be + or * or / or - from a certain whole number. That's my programming language electron. Bye!