User loginNavigation |
LtU ForumReferentially Transparent SchemeWhat features from R5RS would have to be removed if one wanted a referentially transparent scheme? In Lisp In Small Pieces, Christian states that assignment, side-effects, and continuations break referential transparency. So I would assume that one would have to remove any destructive operators such as set!, set-car!, set-cdr!, as well as removing call/cc. I also thought that defining global variables (via define) would be removed though I would imagine if you dropped the availability of set! the use of define in the global context would not be much of an issue. Am I looking at this the right way? Are there other things that have side-effects in Scheme that I am not aware of? Is there more information on this topic that I can look and learn more? Best regards, MJ Stahl GAWK (GNU AWK) for AI?I've been doing a lot of (g)awk lately and recently stumbled upon an interesting little paper called GAWK for AI?. This resonates with my recent experiences/revelations regarding how feature impoverished languages (like gawk) can often help you focus more on the domain and task at hand. Pi-calculus and mobile system booksAm looking at books on process calculii, and am wondering what is thought of the following: * Milner's Communicating and Mobile Systems: The Pi-Calculus All three are at Powell's; unfortunately, all three are currently only stocked in their warehouse in town. I prefer not to ask them to transfer a book to their retail outlets, unless there's a good chance I might purchase it--so any recommendations on which one(s) I should investigate first? I already have Hoare's Communicating Sequential Processes, so no need to recommend that (though I recommend it to others who are interested). New for Python 2.5Of interest are: If the Python crew is adding partial application to the language, I'm curious why they wouldn't have gone the whole hog and added in partial evaulation. Implicit Behavioral SubtypingI have posted a draft of an article about implicit behavioral subtyping in the Heron programming language at http://www.artima.com/weblogs/viewpost.jsp?thread=144349. I believe it to be original research, but I still have many more papers to plow through. I was wondering if anyone could help me out. That includes pointing out mistakes, or similar research which should be mentioned. Thanks a lot! By cdiggins at 2006-01-13 03:47 | LtU Forum | login or register to post comments | other blogs | 6258 reads
What is considered source code?I have seem many posts about technology that lets you change the behavior of a program with changing the code. They claim that changes to production environments can be made as easily as changing a config file. Many times these config files hold import details like database queries. My question is, what is considered source code? Obviously, anything written in a programming language and compiled is source code. But what about non-compiled code? Are SQL statements considered source code? What if they are in a config file? Should the database structure be considered "source code"? What about the stored procedures it contains? How about a config file that makes minor changes the way the program works? For example, using a different factory class based on a flag. What if the changes are major? For example, one that injects code in the fashion used in Aspect Oriented Programming. This is important because, in the real world, all changes to source code need to be documented and tested. Towards the best collection traversal interfaceThis has been discussed before on LtU, but I don't think you can add new messages to threads in the "classic" section. I came across this presentation while I was contemplating ways to generalise a SAX-style interface to a parser I was writing and realised that I'd practically written a fold already. The API proposal is excellent and I think would make a good fit for some collections I've been thinking of writing for Tcl (I'd adapt the fold to be able to optionally make use of Tcl's event loop for doing traversals in the background, and use Tcl's break/continue/error exceptions rather than an explicit continue/don't continue indicator in the result). However, I thought I'd just check to see whether there is any new research on this that I should be aware of. Also, I'm struggling somewhat with the Haskell code demonstrating the enumeration->cursor transform without call/cc. Specifically, I'm wondering if it would be possible to translate the example into a language like Tcl which is strict and has relatively weak support for functional programming techniques? I think I could probably get my head around the Haskell enough to try and make a cheap+dirty imperative version, but any ideas on good ways to go about it would be useful. Functional libraries for JavaOver the past few months I have collected a few links for Java functional libraries (I haven't actually used any of them yet in any major project). Thought it might interest people here: Next Neko Features ?
Hello,
Neko is an intermediate high-level dynamicly typed programming language. It has been designed to provide a common runtime for several different languages (dynamicly as well as staticly typed). Some people were interested in Neko evolution, so I'm posting here the new features that are part of the just-released 1.2 version (see http://nekovm.org) :
I would like to get feeback from people that are interested in Neko. What are the features that are missing in Neko for you to target it ? Is there something in the design/other that prevent you from using Neko ? I'll work on next release to fix theses points if any. Currently there is continuations on my TODO list. By Nicolas Cannasse at 2006-01-09 17:06 | LtU Forum | login or register to post comments | other blogs | 6305 reads
New language for kids: Scratch - Logo meets Squeak Smalltalk?I had first heard of Scratch as being a candidate for MIT's $100 laptopfor the third world. It appears to be a mind-meld of Squeak Smalltalk (the implementation language), Microworld Logo and the Lego Mindstorm's visual programming environment. Here is an early paper on the language and here is the (even earlier) proposal. |
Browse archives
Active forum topics |
Recent comments
9 weeks 12 hours ago
9 weeks 19 hours ago
9 weeks 1 day ago
9 weeks 1 day 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