Talk:Emoji-gramming

From Esolang
Jump to navigation Jump to search

12 or 24 variables?

The image says 12; the text says 24. Rdococ (talk) 15:54, 23 March 2017 (UTC)

  • Clear your cache. It was 12, but I increased it and you still have the old one in your browser cache. --Qwertyu63 (talk) 16:06, 23 March 2017 (UTC)

Potentially Stupid Question

In this language, I/O is handled with ASCII, while the programs themselves are written with Unicode. Is there a reason for that inconsistency? Is there something I am missing? Kerbal (talk) 21:11, 25 July 2017 (UTC)

No reason at all actually. It's just what I typed when I first wrote it; no reason not to change it, so I probably should. The implementation I put together actually allows Unicode I/O because Python did it that way by default. --Qwertyu63 (talk) 02:37, 26 July 2017 (UTC)

Can I provide a "Hello, world!" example?

(And possibly other types of examples like truth machine)

Can I provide a hello world example for this language? Galaxtone (talk) 17:06, 12 May 2018 (UTC)

Of course! --ร˜rjan (talk) 01:21, 13 May 2018 (UTC)

What does "โš ๐ŸŽคโ†”๏ธ๐Ÿ“ข" mean?

I don't have a clue what this error means or if it is an error or just some sort of warning.

Oh it means that ๐ŸŽค and ๐Ÿ“ข used in the the position that the other one is suppose to be in? If so it kind of sounds like it'd only be errored when you use both in an instruction and there in wrong order.

Sorry, It's signed now. Galaxtone (talk) 05:05, 14 May 2018 (UTC)

That is one of the error handler messages. It means that you've used one when the other is the one that goes there. --Qwertyu63 (talk) 19:39, 29 July 2018 (UTC)

Why is your interpreter with input?

Console.png

The image says it all. Galaxtone (talk) 05:05, 14 May 2018 (UTC)

To put it simply, because making it only allow one character is beyond my current level of Python skill. --Qwertyu63 (talk) 19:39, 29 July 2018 (UTC)
You can use the sys.stdin.read() method in the sys module like this:
import sys
x=sys.stdin.read(1) # Read 1 character from stdin
to fix this bug. --None1 (talk) 09:00, 16 January 2024 (UTC)

Is it possible to take a number and turn it positive?

I have tried but I cannot find a way if negative make positive or if positive leave as be. (Absolute of a number)

Different constants

How about the constants of this will be as follows:

Emoji Number
๐Ÿ’” 0
โค๏ธ 1
๐Ÿงก 2
๐Ÿ’› 3
๐Ÿ’š 4
๐Ÿ’™ 5
๐Ÿ’œ 6
๐Ÿค 7
๐Ÿฉถ 8
๐Ÿ–ค 9
โค๏ธ๐Ÿ’” 10
๐Ÿ’š๐Ÿงก 42
โค๏ธ๐Ÿงก๐Ÿ’› 123
๐Ÿงก๐Ÿ’”๐Ÿ’š๐Ÿฉถ 2048
๐Ÿ–ค๐Ÿคโค๏ธ๐Ÿ’”๐Ÿ’š 97104

--Europe2048 (talk) 15:35, 29 September 2023 (UTC)

Sign checking

Is it possible to add a feature to the language which checks if some variable is positive? One way this could be implemented would be to replace the "equal" command with "if A is greater than B, skip the next command". As it stands currently, there is no way to check if a number is positive. --Monochromeninja, Python programmer (talk) 00:14, 2 June 2021 (UTC)

  • I don't plan to change anything major st this point. I'm working on a new version, but that's a while out. That said, you can check for sign with a little trick. First, copy the number (which must be non-zero) in question into two variables. Then, add one to the first variable and subtract one from the second. If neither is zero, jump back and repeat the process. Afterward, if the second variable (the one you subtracted from) is zero, the starting number is positive. --Qwertyu63 (talk) 19:52, 13 June 2021 (UTC)
  • Because this is TC, it can solve any computational problem including sign checking. --None1 (talk) 11:24, 16 January 2024 (UTC)