You are browsing as a guest. Sign up (or log in) to start making projects!

3h 46m 47s logged

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….

Documentation

I’m so exhausted reading through all of it. I’m done. I’m never writing any more documentation again. I hate writing error messages. I hate writing example programs. ARghh

0
7

Comments 0

No comments yet. Be the first!