User loginNavigation |
archivesUsing Promises to Orchestrate Web Interactions
Phil Windley posted a few useful links about this topic following WWW2008.
Bonus question: How is this item connected to the one I posted earlier today? Extensible Term Language 0.2.1The Extensible Term Language is a high level meta-syntax language that that allows to define small and big languages that use blocks, expressions, operators, and statements as primary meta-syntax elements. The language definition is compiled to LL(1) grammar afterward. ETL tries to find a new balance between syntax generality and extensibility. It is designed to allow creating DSLs and programming languages almost as extensible as Lisp on the syntax level (but macros are supposed to be implemented as tree rewriting rules), while retaining nice surface syntax (this example tries to be as close to Java as possible and this one to be somewhat close to dynamic functional languages). The parser also supports automatic error recovery. Java implementation of the parser is available for download. The documentation is also available online on the project's web site. Since the previous announce there were mainly usability changes in the grammar definition language and now it is much more compact. There was a lot of bug fixes. And finally there is a tutorial that demonstrates how to implement own DSL on using the AST parser. ETL might be a nice tool for quick implementation of own DSL with nice surface syntax and for creating new experimental programming languages. Efficient Interpretation by Transforming Data Types and Patterns to Functions
Nested functions - how many nesting levels are really needed?I'm implementing a language that supports nested functions with closure semantics, i.e.
def func(x:int) returns (int):int
{
return def nested(y:int) returns int
{ x*y; }
}
Now, to simplify the closure implementation, I only allow one nesting level. Is this overly restrictive? What does other languages do? I haven't come across a real-life use-case for multiple nesting levels. Any opinions / counter examples would be greatly appreciated. Thanks. what causes really wide pages?e.g. http://lambda-the-ultimate.org/node/3129 shows up as like 2x wide in my firefox (on a mac). Tony Hoare / Historically Bad Ideas: "Null References: The Billion Dollar Mistake"(seen via http://catless.ncl.ac.uk/Risks/25.51.html#subj9.1, i didn't find it searching on ltu yet) at qcon, london:
|
Browse archivesActive forum topics |