Devlog 8 - Goa 1.0
The first full release of my coding language
i’m tired boss image here
Wow, I’m never writing documentation again. This sucks.
Anyway, lots of new things. First, bug fixes
Added RAND and ABS
I don’t even know how this happened. I swear I added this, and it was in past documentation, but it’s not just in the code. I had to quickly write them in.
More parser issues
More complex comparators like <= and >= were being split apart, and so it wasn’t being understood. I also had to rewrite the logic for IF and ELSE IF blocks.
BASE returning NaN for bases above 10
Ok I’m sorry, but I’m too lazy to actually fix this. BASE will now just return an error if you try to convert a number past base 10. I want to keep Goa without any strings.
New statements
Logarithms
The new LOG statement allows you to do logarithms for any base. Hooray!
Trig statements
I added SIN, COS, TAN, ARCSIN, ARCCOS, and ARCTAN statements. Should I call the last 3 ASIN, ACOS, and ATAN? Let me know your thoughts.
Rounding statements
You can now use the ROUND statement to round to a certain number of decimal places. I also added FLOOR and CEIL functions.
More random statements!!
I added RANDFLOAT and RANDSIGN for generating random floats and generating a random sign (-1, 1), respectively.
GCD and LCM
pretty self explanatory
Factorials
Guess my old programs doing factorials are now useless….
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.