Send As SMS

2005-04-06

How about a new script language?

Programmer would like to choose a tool suit for him. and it looks almost everybody hopes new feature for a given language, there is no language that satify everybody.

for me, I would like a script language with the following feature:
  1. support XML in grammar, like E4X or XJ from IBM. and treat XML as a primary data type.
    1. XML data in literal format
    2. XML operator like E4X, including XPath support
  2. support closures, like groovy, smalltalk etc. although javascript support the idea, but no well as provide closures support in grammar.
  3. Dialect support. most feature can be oganized in dialect, and added to the language standalone.
  4. support embeded SQL via extension. I dont want the language support embeded sql directly, but hope it provide an extension mechanism, so we can declare a embeded SQL dialect.
  5. stronger data type, include primitive data type, xml, array, hash, tuple and etc. also, via the dialect support, we can declare new datatype such as complex, position etc.
  6. define a bytecode, the sourcecode can represeted as bytecode which is data also. like smalltalk or Lisp. support dynamic process on code itself.
In mostly, i think the better match is smalltalk. in smalltalk, everything is object, including the class, the method, even the vm itself.

0 Comments:

张贴评论

<< Home