Summer has been extremely hot and we have been enjoying it at the fullest. While this meant that I haven’t gotten around writing here as much as usually, I haven’t forgotten the blog.
Continue reading
hy
Solving ToaZZle with CPS
ToaZZle is a game akin to peg solitaire. This blog post talks about how to solve it by using Hy and Stilpo.
Removing HyCons
Next Hy release will remove cons cells from the language. In this post, we’ll have a quick look what they were used for.
Simple Chat Bot
While working on Stilpo, I wrote a simple chat bot. This post takes a look at how it works and how it could be expanded. It’s based on ideas of Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp by Peter Norvig.
Bitten by Mutability
A cautious tale how having mutable data structure caused a curious bug.
Upcoming Hy: Mangling changes
Upcoming version of Hy will have some changes to how mangling works. This blog post looks at the current state and explains it in high level.
n-queens puzzle solved in hy and cps
Tiny Rule Engine, the Final Post (for now)
This should be the last post in the series about Tiny Rule Engine. I have most of the features down and the part that is left is to actually learn to use them. And what could be a better way than trying our new shiny Tiny Rule Engine than solving n-queens puzzle.
Tiny Rule Engine, part (inc n)
Not too surprisinly, I’m still tinkering with the tiny rule engine. Specifically on how to add some logic into rules.
Tiny Rule Engine and Unification Woes
Work continues with tiny rule engine and I have encountered rather interesting design decision relating to unification, namely uniqueness of values.