Impala - Get rid of those errors!
h
RohilPatel (1409)

Introducing Impala

Our team

@CodeSalvageON
@RohilPatel
@Theboys619

Our Intentions

At PlogoGram Inc. (see my repls for more), we want something that will make programming easier and more friendly, but not in the way we all want it to be.

Learning a language isn't hard, it just takes lots of patience. Making code smaller doesn't do anything, when you think about it, it just simplifies the code needed, which isn't our purpose.

We aim to set a new definition to easy programming

Well then, what is easy programming?

We can take this definition into one simple list:

  • Easy programming
    • Friendly syntax (one that you are already familiar with)
    • Clean errors (ones that speak to you in English, not ones that take years to figure out)
    • Not hard to understand (note that this is different from smaller code)

Syntax

Variables and data types

  • Integer
  • String
  • constants
  • Boolean
  • type any
number x = 5
bool iLikeCandy = false
string text = "I hate iScream"
any food = "yessir!"
const any permanentVar = "this variable could be text, it could be a number, but it's value won't change!"
// This is a comment => $Comment: Disclaimer - emojis don't work

/* 
Multi
Line 
Comments
Also
Get 
Some 
love!
*/

If Else Statements

number fact(number x) { // $basic factorial function
  if (x ==1) {
    return 1;
  } else {
     return x * fact(x-1)
  }
}

any y = fact(5) // $don't force unwrap! Use any instead of number

log(y) // $ Returns 120

Let's see some code!

for number x = 0 and x < 5 => x++ {
log (x)

}

/*
Returns:
1
2
3
4
5
*/

Resources

Theboys619
Documentation

Lastly, the meaning, errors

Errors should be more friendly, but they are still buggy, so please be patient while we answer customer service lol, if any of u are interested in answering phone calls, lemme know lmao!

Hope you all like this! We put a lot of time and effort into this, and we want you to show us some some cool stuff you have made!

You are viewing a single comment. View All
Theboys619 (54)

Lol. I am a resource.

Also there is any object datatype and none type. The none type just means that a function will return nothing.