What scripting language(s) fits this description?
I like programming language design/implementation and I'd like to contribute to one of the less mature ones. I'm looking for a scripting language that is:
- Embeddable
- Dynamically, strongly typed
- Small & Lightweight (more elaborated later)
- Implemented in C++
With lightweight I mean something like Lua, very small standard library that can be easily extended.
And some (random) design principles that I like:
- The language should have a few very powerful built-in types, like python (int, float, list/array, map/dictionary, set and tuple).
- A function is an object, like in Lua (this makes lambda functions trivial)
- Arguments are passed as tuples that automatically get extracted.
And last and probably also least, I like C-style syntax.
If you think about yelling "subjective", "there is no best language" 开发者_Python百科and "not a question", you misread a question. I'm merely asking for a list of scripting languages that match the description above.
Cython
Shedskin
Psyco
These are all scripting languages that are either variants or restricted subsets of the original; python language, that compile to C, C++, or machine code. I believe these should satisfy your req. spec.
Shedskin and psyco also currently have calls for contributions on their main page.
HTH
精彩评论