I want to make up a program language and write some code for it. Maybe I can use ANTLR for syntax checking. What I want to know is what features of a programming language you like? I'll start with a few:
- Python's use of variables.
- Python lists and dictionaries
- Python strings
- Python's multiple return values
- templates
- reference
- operator overloading for return values (c++ ex, class AClass { operator MyClass (){ return myClass; } ... }; )
- compile time functions. I was glad to see it is in the new C++ standard http://en.wikipedia.org/wiki/C%2B%2B0x#Generalized%5Fconstant%5Fexpressions
- Initializer lists http://en.wikipedia.org/wiki/C%2B%2B0x#Initializer%5Flists
- PHP string literals (echo "foo is $foo";)
Edit:
- Carry and Overlflows flags! I honestly can't believe I forgot these as I always complain about not having them. Credit goes to http://stackoverflow.com/questions/440337/programming-language-features-you-like#440815 for reminding me.