This is a follow-up on my earlier posts regarding my toy language plastic: http://rogeralsing.com/2010/04/14/playing-with-plastic/ http://rogeralsing.com/2010/04/17/more-on-plastic/ After some brain storming with my colleague Sebastian Markbåge, we’ve come up with some alternative approaches to chained method calls. Instead of chaining calls syntactically, I could instead chain them by passing the result of the last statement into the next…More
Category Archives: C#
Genetic Programming: Evolving Domain Logic a’la CQRS
[EDIT] This was supposed to be my contribution to first of april (Sorry guys) But apparently people are already doing things similair to this, for real, which makes this post quite a bit less fun. So maybe aprils fool is on me if someone implements this :-) [/EDIT] Most samples of genetic/evolutionary programming evolve formulas,…More
Generic DSL Grammar and Parser
About a year ago I blogged about an idea of an extensible language; http://rogeralsing.com/2009/03/18/an-intentional-extensible-language/ Since then, I have been experimenting with this concept quite a bit. I have now created a more complete grammar which contains hard-coded support for some constructs, e.g. assignments, lambdas, binary and unary operations. What I ended up with is not a language,…More
Genetic Programming: Code smarter than you!
Here in sweden there are currently circulating some email with a challange about solving a math puzzle. It’s nothing special really but the mail goes something like this (translated): (Don’t blame me for the claims in the quote, it’s not my words) It’s said that only people with an IQ over 120 can solve the…More
RX Framework – Building a message bus
I’ve been toying around with the Reactive Extensions (RX) Framework for .NET 4 the last few days and I think I’ve found a quite nice usecase for it; Since RX is all about sequences of events/messages, it does fit very well together with any sort of message bus or event broker. Just check this out:…More
