Share your repls and programming experiences

← Back to all posts
BEAN language
AlexanderTarn (270)

You guys united and gave 10 upvotes to my comment, and now I give you the BEAN language

"Say" function:
The say function is basically the print function, but it must always have a string with quotation marks around (Example: say("Hello World!"))
Variables:
You are allowed to declare any variable and if you ask the say function to print the variable without quotation marks it will do it.

Evaluate:
Can solve simple equations, cannot do order of operations, also does not support variables.

Update:

  • Now if variable with the same name is assigned a different value the new value will overwrite the old one
  • Evaluate function now works with exponents and will display errors
  • Evaluate function now supports variables!

Give me feedback or ideas please.
Also check out my other games "Dungeon Janitor" and "Inus 1.10"

Commentshotnewtop
AlexanderTarn (270)

If this comment reaches 10 upvotes I will officially name this language the bean language

[deleted]

@AlexanderTarn yes, the perfect name

MasterOfMayo (0)

@AlexanderTarn can you request for this to be an actual coding language? like, go to the makers of repl.it and ask?

AlexanderTarn (270)

@MasterOfMayo This language can only do 3 things, so probably no, for now

Foster_Bryant (100)

typo in line 9: says inbalid insteadof invalid

JeremyIrwin (41)

how about a beanprint function, which would basically be just a better colorprint.

AlexanderTarn (270)

@JeremyIrwin Yes, that sounds good, I'll try to make it

RomeroSchwarz (269)

why don't you try making variables by using a dictionary? i used that and it works pretty well.

AdCharity (1329)

uh seems like renaming print? It's kind of similar to my golf language . It's here: https://repl.it/@AdCharity/Golf (not linking the actual post cause I don't do that)

AlexanderTarn (270)

@AdCharity Ya that is kind of the point

tyolmedo (2)

File "main.py", line 113
if()
^
SyntaxError: invalid syntax

[deleted]

yes, my suggestion has come true