CodeWalrus

Development => PC, Mac & Vintage Computers => Topic started by: Yuki on January 11, 2018, 11:22:40 PM

Title: Another Pi Language
Post by: Yuki on January 11, 2018, 11:22:40 PM
I made an implementation of some Pi-related programming language (https://esolangs.org/wiki/Another_Pi_Language), cause I was bored.

Have fun.

http://juju2143.ca/pilang.html
Title: Re: Another Pi Language
Post by: JWinslow23 on January 12, 2018, 12:09:11 AM
I like that you implemented the pi language that works with the bits of pi...because they're the same as the bits of tau, just bit-shifted! ;D
Title: Re: Another Pi Language
Post by: Yuki on January 12, 2018, 01:12:04 AM
Quote from: JWinslow23 on January 12, 2018, 12:09:11 AM
I like that you implemented the pi language that works with the bits of pi...because they're the same as the bits of tau, just bit-shifted! ;D
Well, that's true. Since multiplying by 2 in binary shifts the decimal point and index 0 is the most significant bit of the number, it doesn't care where the point is and the language shouldn't change a bit if tau is used, or any multiple of 2x for that matter.

That would be interesting to see a language based on e or √2, though.
Title: Re: Another Pi Language
Post by: Yuki on May 24, 2019, 03:38:55 AM
Updated! Now supports up to 31 trillion decimal digits without being painfully slow!

Now try to do something useful with that.

http://juju2143.ca/pilang2.html