I'd prefer a language that would accept typed and typeless definitions, structures, inheritance, anonymous functions, and so on.
It would be a mix of Java, Visual Basic, and Lua. I know there aren't any languages like this. And because of this I want to create the parser to this language.
EDIT: The language would be like this:
CODE
// Comment
var x:int = 0 // <- no semicolon
var y // typeless def
if x < 5 then
y = new Sprite[35]
else
y = new Bitmap(300, 200)
#if // match end with beginning - just for organization
What do you think? The "then" optionality would slow down the compilation phase. Or not? Please, tell me what you think.
This post has been edited by JoaoB: May 14 2011, 12:58 PM