User loginNavigation |
LtU ForumGetting started in language design -- reading material?I have a bunch of ideas for my own programming language (like every other CS undergraduate with an appropriate degree of hubris) and I'm starting to fiddle with writing my own compiler for it, but I'm having trouble understanding a lot of technical material out there. Most of the programming language papers and tutorials I'm finding on the net assume that I already know lambda calculus and other advanced mathematics. What's some good easy to understand stuff I can read to get the mathematical basis I need to understand all the jargon, or understand some if it without the math? (i.e. I'd like to understand dependent typing, but the papers I've found turn my brain into knots) Monads are an idiom, but Idiom isn't a monadFunctional Pearl: Applicative programming with effects, Conor McBride and Ross Patterson
A well written introduciton to a monad cousin, with a tantilizing hint that idioms are easier to introduce into Haskell syntax:
GADT's revisitedSimon Peyton Jones has a new paper about type inferencing and GADT's: Simple unification-based type inference for GADTs
This paper is a much simplified and completely-rewritten version of his earlier paper Wobbly types: type inference for generalised algebraic data types Dependent types: literature, implementations and limitations ?In my eternal quest for provably safe concurrent and distributed resource management, I'm trying to reach an understanding of dependent types. I have read a bit about them, even toyed a little bit with them in Twelf, but I still don't quite *get* them.
By the way, the Wikipedia article on Dependent Types is nearly empty. Is there anyone interested in completing it ? Feedback on post?Been reading LtU for a while and some of the topics discussed have encouraged me to try using some of the more advanced functions supported by JavaScript. I'm pretty sure I'm using closures, but had a few questions- ...so my questions are: If the form is: someId = window.setInterval( ... ); ...is there a way to pass someId back into the function that was created? In OO terms, something like the following: closure = new SomeThingy(); ...and is the explanation in the blog post fairly accurate? Thanks! --Robert Fortress Specs Updated: 0.785The Fortress specs have been updated. http://research.sun.com/projects/plrg/fortress0785.pdf A Generator for Type CheckersA very interesting thesis, by Holger Gast, at From the abstract : I hope that TCG will be released soon. By Cremieux Alain at 2005-11-11 20:49 | LtU Forum | login or register to post comments | other blogs | 6304 reads
Algebra Of Programming (Bird, De Moor)"Algebra Of Programming" has been mentioned on LTU a few times (mostly in 2002 it seems). Unfortunately the book is not available on-line, and costs $125 on Amazon! Since the book is about 9 years old now, I'm wondering if there are is any other material that summarizes it, re-states it or supersedes it? Secondly, from what I have read, the examples in the book are in haskell, should I expect any problems if I use Scheme to implement those examples? Neko 1.1 ReleasedNeko 1.1 have just been released at http://nekovm.org. Neko is an intermediate programming language. It has been designed to provide a common runtime for several different languages. In this new version, the compiler is now completely bootstrapped, using the high level NekoML language which itself use Neko for its runtime. A toplevel console is also available and the VM has new features such as callstack and exception stack traces. I'm looking for people interesting in targeting Neko or doing some study of the principles behind it. Please feel free to send me an email or join the Neko Mailing List if interested. As always, comments and critics are welcome. Nicolas CaSe SenSitIviTy! What is its purpose in programming language syntax?I grew up with Pascal. It's been my language of choice for doing mostly everything. Everytime I try and switch to other (case sensitive) languages, specifically C++/C#, I am incredibly put off by the case sensitivity of the syntax. What especially gets me, especially from a readability point of view, are things like variable declarations in the following fashion:
That's the most braindead thing I've ever seen, naming a variable after the type, except it's unique because the character case is different.... Not only does this kill readability, but the very nature of the case sensitive syntax means that you're constantly having to think about variable names, instead of just using the bloody things in that activity otherwise known as programming. And don't get me started on the debugging headaches it causes simply because you typed "S" instead of "s", somewhere. To me, it makes the coding process needlessly complicated. The ordinal value of a character shouldn't change its meaning except if it specifically occurs as data. Of course, the source code of a program IS data, but only for use by the compiler. Why should we as programmers have to suffer just to keep the compiler happy? Somebody, please give me some good solid reasons why case-sensitivity is useful. M$ had a golden opportunity with C#, yet they kept it case-sensitive. WHY? Surely it wasn't to support existing code bases, was it? |
Browse archives
Active forum topics |
Recent comments
9 weeks 20 hours ago
9 weeks 1 day ago
9 weeks 1 day ago
9 weeks 2 days ago
9 weeks 5 days ago
9 weeks 5 days ago
9 weeks 6 days ago
9 weeks 6 days ago
9 weeks 6 days ago
9 weeks 6 days ago