User loginNavigation |
FunInverse typechecker and theorem proving in intuitionistic and classical logicsAnother cool demonstration from Oleg:
By Ehud Lamm at 2006-02-05 09:09 | Fun | Lambda Calculus | Type Theory | 4 comments | other blogs | 9651 reads
Lego Mindstorms NXT Robotics Announced
(via Lemonodor)
This looks cool. I am not sure about the details of how these bricks are to be programmed, but from the Slashdot dicussion is seems that there is some kind of dataflow language. Even more interesting is the claim that the VM is going to be documented, so third party language developers can target this low end robotics platform. By Ehud Lamm at 2006-01-06 11:40 | DSL | Fun | Implementation | 4 comments | other blogs | 9821 reads
G-Men Called on W-Hats for WMVDOne of the cool things about Second Life is that players can create new kinds of objects, by writing small programs in a special scripting language to describe how the objects should behave, and then launching objects into the world. A highly amusing story this is. I guess the correct term for this kind of thing is The law of unintended DSL consequences. Please share similar stories, if you got them. Djinn, a theorem prover in Haskell, for Haskell.Lennart Augustsson announced Djinn on the Haskell mailing list recently. He included this demonstration:
Don Stewart wrote a lambdabot plugin for Djinn a few hours later. 15:39:01 @djinn a -> b -> a 15:39:02 x :: a -> b -> a 15:39:02 x x1 _ = x1 15:39:11 @djinn (a -> b -> c) -> ((a,b) -> c) 15:39:11 x :: (a -> b -> c) -> (a, b) -> c 15:39:11 x x1 (v3, v4) = x1 v3 v4 15:39:27 @djinn (a -> b) -> (c -> b) -> Either a c -> b 15:39:27 x :: (a -> b) -> (c -> b) -> Either a c -> b 15:39:27 x x1 x2 x3 = case x3 of 15:39:27 Left l4 -> x1 l4 15:39:27 Right r5 -> x2 r5 15:40:06 @djinn a -> [a] -> [a] 15:40:07 x :: a -> [a] -> [a] 15:40:07 x _ x2 = x2 15:40:08 @help djinn 15:40:09 @djinn 15:40:09 Generates Haskell code from a type. Djinn has proven to be much fun on #haskell. Top N Papers 20052005 is nearly over, and as everyone knows, December is the time for compiling hugely subjective Top 5 (10, 20, 100) lists for everything under the sun. I think it would be fun to see everybody's favorite papers... Here's mine, totally off the top of my head (I'm sure I'm forgetting something essential):
(Don't worry about trying to post the "best" papers in some objective sense, just whatever excited you... Show me what I missed this year!) Code Reading
LtU readers know that I am long time advocate of code reading. As I've argued here in the past, reading great code is the best way to acquire good programming skills. It's also a pleasure to read good code. Yes - reading code can be fun.
It turns out that I am not alone (though my conception of a code reading workshop is perhaps somewhat different than the things discussed there). Anyway, this is a chance to continue one of my pet memes. Many of the pieces of great code I've read over the years come from language processing tools (e.g., compilers, meta-programming systems etc.) I don't think this is a coincidence. Now's your chance to tell us your favorite examples. The rules: The code must be beautiful and it must be programming language related (and no, being written in a programming language isn't enough). Monads in Ruby
Monads in Ruby, a several-part work in progress, is an attempt to explain and demonstrate monads in Ruby. It looks pretty good so far, although I feel like we could coax a friendlier syntax out of Ruby with a little effort. Maybe in Part 4!
By Matt Hellige at 2005-11-20 22:31 | Fun | Ruby | Teaching & Learning | 20 comments | other blogs | 18952 reads
The Reasoned SchemerGuess what I stumbled across at my local bookstore? Previously mentioned on LtU, and now available... When the book was announced, Ehud said: Authored by two of my favorites, Dan Friedman and Oleg, I have such high expectations, that however great the book is going to be, I am sure to be disappointed... After working through the first five chapters (and sneaking a look at the implementation at the end), I'm pleased to announce that no one is likely to be disappointed... It's a real tour de force. As expected, the focus this time is logic programming, in the form of a new set of primitives elegantly implemented around a backtracking monad in Scheme. Of course the format is familiar and comfortable, and of course it's charmingly illustrated by Duane Bibby. So, get your copy today, and congratulations to the authors on a job well done! By Matt Hellige at 2005-11-08 20:49 | Fun | Functional | Logic/Declarative | Misc Books | 17 comments | other blogs | 33650 reads
Multigame A Very High Level Language for Describing Board Games
Multigame - A Very High Level Language for Describing Board Games,
John W. Romein, Henri E. Bal, Dick Grune.
First Annual ASCI Conference, 1995.
Languages with implicit parallelism are easier to program in than those with explicit parallelism, but finding and efficiently exploiting parallelism in general-purpose programming languages by parallelizing compilers is hard. A compiler for a Very High Level Language, designed for a specific application domain, has more knowledge about its application domain and may use this knowledge to generate efficient parallel code without requiring the programmer to deal with explicit parallelism. To investigate this idea, we designed Multigame, a Very High Level Language for describing board games. A Multigame program is a formal description of the rules of a game, from which the Multigame compiler automatically generates a parallel game playing program. An amusing DSL, and an interesting investigation of implicit parallelism. Also see this later paper. It would be nice to find a downloadable implementation, by the way. By Ehud Lamm at 2005-10-19 14:22 | DSL | Fun | Parallel/Distributed | 13 comments | other blogs | 10221 reads
Zipper-based file server/OS
zfs-talk: Expanded talk with the demo. It was originally presented as an extra demo at the Haskell Workshop 2005 By shapr at 2005-10-08 10:10 | Fun | Functional | Implementation | Theory | 21 comments | other blogs | 39350 reads
|
Browse archives
Active forum topics |
Recent comments
23 weeks 4 hours ago
23 weeks 8 hours ago
23 weeks 8 hours ago
45 weeks 1 day ago
49 weeks 3 days ago
51 weeks 16 hours ago
51 weeks 16 hours ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago