EDDIC 0.7.1 : Boolean conditions and new operators

I just finished working on the 0.7.1 version of eddic.
Even it it’s a minor version, there are several new features in the language itself.
First of all, the boolean conditions have been greatly improved. You can now use && (short circuit and operator) and || (short circuit or operator) operators to make complex conditions for if and while structure. Moreover, you can now declare variables …

Install the Insight Debugger on Linux Mint (works for Ubuntu too)

Linux Mint Logo

Insight is a very good debugger based on gdb. I prefer it over ddd or kdbg as I find it clearer and easier to use. Moreover, this debugger is also the one used in the book Assembly language Step by Step, for Linux. However, Insight has been removed from Debian packages already more than a year ago.
But, thanks to SevenMachines, a PPA repository …

Use Boost enable_if to handle ambiguous function overload return types

Boost Logo

The title is not really clear but I didn’t found a better one. The example will be clearer (I hope). In EDDI, I had this little function :

template<typename Visitor, typename Visitable>
void visit(Visitor& visitor, Visitable& visitable){
visitor(visitable);
}

For the record, this function is only invoking a specific operator of a visitor. The problem was that I wanted this function to handle also non-void …

Compilers : Principles, Techniques & Tools – Book Review

Dragon Book Cover

Some weeks ago, I finished reading Compilers : Principles, Techniques & Tools, by Afred V. Aho, Monica S. Lam, Ravi Sethi and Jeffrey D. Ullman. This book is also called the Dragon Book due to the cover.
This book is a reference about compiler construction and design. If you are interested in this subject, this book is for you, it’s a must-have. However, I have to …

EDDIC 0.7 : New compilation model and optimizations

eddic Logo

I’m proud to announce a new release of EDDIC, the version 0.7.
Most of the changes are internal to the compiler. I read a new book : Compilers: Principles, Techniques, and Tools and applied some of the advices of the author. The biggest change is the use of a new intermediate representation : Three-Address-Code statements. This representation is easy, all the statements are basically of the …

Install Cinnamon in Linux Mint – A forked Gnome Shell

Linux Mint Logo

In the last Linux Mint version (12), the developers have introduced a set of extensions to the Gnome Shell, Mint Gnome Shell Extensions (MGSE).
But, plugins can’t do everything the developers want. So they forked Gnome Shell and started building their own shell : Cinnamon.
At the time of writing, the appearance of this new shell is similar to MGSE in Linux Mint 12, but with …

Merry Christmas

A bit late, but better late than never : Merry Christmas to all the readers of this blog

Moodle promotion on Packt Publishing Books

Packt Publishing Logo

In their December promotion, Pack Publishing are offering heavy discounts on all their Moodle books during all the month.
You can find all books available on offer on this page : http://www.packtpub.com/news/moodle-festive-month
There are great offers:

Buy any Moodle print book and get 20% off
Buy any Moodle eBook and get 30% off

For those who don’t know Moodle, Moodle is currently the world’s most popular E-learning platform. Moodle is a free, open-source PHP web application for …

WordPress 3.3 “Sonny” released!

Wordpress Logo

WordPress 3.3 introduces some very interesting features, specially for the blogger itself. It includes a new drag-and-drop uploader, hover menus for the navigation, a new toolbar, improved co-editing support, and a new Tumblr importer.
The admin interface has add a great cleanup too.
More information on the official release notes : http://wordpress.org/news/2011/12/sonny/
I already updated the blog to WordPress 3.3 and it looks great for now. For the first …

C++ Templates : The Complete Guide – Book Review

C++ Template Book

After the Effective C++ Serie, I read C++ Templates: The Complete Guide, from David Vandevoorde and Nicolai M. Josuttis
The templates are one of the most powerful feature of C++. However, this is a complex technique that is often misused or misunderstood. This book will help you learning what exactly are templates and how they can be used to improve your software development in C++.
This …