User loginNavigation |
archivesGood languages with simple grammarI'm looking for pointers to languages that are considered expressive and usable, yet are defined by simple lexical grammars and parser grammars. One popular example is Python, which is almost LL(1) in simplicity. LISP is LL(1) and might be considered another example depending on one's views. C++ is, of course, a non-example since it isn't even definable in a context-free grammar. SeaFunc meets Tues. Sept. 27thSeaFunc is Seattle. SeaFunc is functional. Functional language. The Mothership lands at 8 pm on Tuesday, Sep. 27th at: Ruby Restaurant Ruby's is in the U. District on "The Ave," near 43rd St. Good, To receive timely meeting announcements by e-mail, including where we For the uninitiated: "Functional Programming" (FP) treats computation The merits of the FP approach are highly debateable. Much more clear, "Make my func the SeaFunc, I wants to get funked up." - Parliament Dynamic vs. Static Typing - A Pattern-Based Analysis
In some cases, static typing is more error-prone than dynamic typing. Some statically typed languages force you to manually emulate dynamic typing in order to do "The Right Thing".
The writer takes on Java. He mentions three problems:
Live update of source with inferred type?(A pie-in-the-sky wish.) Personally, I love automatic type inference and generics a la ML, Haskell etc. I wish such systems would go one step further and offer an optional means of annotating the code I'm writing after the type inference happens; that way when reading code for the first time one would get the benefit of knowing what things are when they are first introduced, without having to divine it from how they are then used. I do not know of anything that does this, but would love to hear if there is such a system (or if there are evil Emacs hack ideas along such lines). The essence of Dataflow Programming by Tarmo Uustalu and Varmo VeneThe Essence of Dataflow Programming
If you've ever wondered about dataflow or comonads, this paper is a good read. It begins with short reviews of monads, arrows, and comonads and includes an implementation. One feature that stood out is the idea of a higher-order dataflow language. By shapr at 2005-09-21 22:23 | Functional | Implementation | Logic/Declarative | Theory | 12 comments | other blogs | 28972 reads
|
Browse archivesActive forum topics |
Recent comments
21 weeks 6 days ago
22 weeks 3 hours ago
22 weeks 3 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 11 hours ago
50 weeks 11 hours ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago