Syntax for arrays?
I'm a little confuzzled on what my syntax for my language should be. Mainly when it comes to arrays.
I don't know if I want predefined functions, or built in syntax. Like this:
The built in syntax definitely looks shorter, but it doesn't really look clean when you're working with an r-value array:
I personally prefer the built in functions for r-value arrays, but the built in syntax for variables.
So which one should I chose? I can't do both
@MocaCDeveloper Oh, I meant that this language would interpreted, but I'll make another language and that language will be compiled, so I'll have two languages, one interpreted (this one), and one compiled.
And yeah, I'm shifting the concept of the language. I think that now with my language being interpreted and dynamically typed I'll stick to that. I kind of want to make something like Python, but like I said a major difference is the safety.