User loginNavigation |
archivesElephant 2000: A Programming Language for the year 2015 Based on Speech ActsMcCarthy's Elephant language proposal was mentioned here several times in the past. This talk from Etech provides a nice introduction to the fundamental idea behind Elephant and its background. The talk includes interesting, though not entirely motivated, comments related to the paper Ascribing Mental Qualities to Machines. This is one of McCarthy's most significant papers in my opinion, and deserves more attention and debate. It is also rather amusing. I hope I will find the time some day to put this paper in context (McCarthy's comments in the Etech talk notwithstanding), but for the time being I recommend it to anyone interested in this sort of thing. One thing is for sure: We can safely add to the 2009 predictions the prediction that Elephant will not be ready in 2009... Using 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 |
Recent comments
22 weeks 2 days ago
22 weeks 2 days ago
22 weeks 2 days ago
44 weeks 4 days ago
48 weeks 5 days ago
50 weeks 3 days ago
50 weeks 3 days ago
1 year 1 week ago
1 year 5 weeks ago
1 year 5 weeks ago