Nowadays programming jobs rely on data structure-- so many library and packages, contain so many data structure definitions, what a pain to learn all of these !!!
Generally,we often has some insight in how the data should be arranged, for example, if we are using a java package iText to parse pdf, and want to extract a table from it, then we should know there are some text that should appear at the same sub level under some data structure.
So if the language support query with 2D RE, then we can find out this data structure.
This feature is very useful in script language such as JS and TCL.
And furthermore, we may develop a brand new programming approach that access data by its pattern, instead of following data structure explictly. The compiler should scan the data structure to fill in the missed detail, in a way that is somewhat similar to type inference and sketch programming.
Current problem is : if this idea has been invented by ASPECT-programming or new generation of functional language such as Agda?
2008年10月15日星期三
订阅:
博文评论 (Atom)
没有评论:
发表评论