Thursday, October 30, 2008

A lex exercise (memo2html)

I've tried to invent an exercise to take practice with lex.
Here is the result.
We can say that is more a micro-parser than a lexer.
It use a grammar to parse a simple tag language that describes a telephone memo and generate an html page to format it better.

It's just an exercise and you can download it at

Obviously GPLv3 licensed :)


Friday, October 17, 2008

Other three tunes :)

I've recorded yesterday other three tunes with my tin whistle that my brother gives to me!
It's a Feadòg Pro and comes directly from Ireland.
Wonderfull instrument but I've to practice a little more :P

The Shire (Concerning Hobbits)

Loreena McKennitt - Lullaby

A Final Fantasy tune


Thursday, October 16, 2008

Some other videos :D

Uploaded some other videos on youtube

Xenosaga the animation main theme

Country classic

Countri classic 2

Don't launch vegetables!!! :)


Saturday, October 4, 2008

Generic List [C]

I've written a C code that implements a list usable with generic types.
To use this list you have to declare in an enum the types that you want to store in the list ad so you can arrive to generate mixed lists.

In the example I make tha case that you have a list with inside an int, a float and a struct Speed item.

If you want to use this generic list code you have to know that the code i really basic and not tested hard. Probably you have to extend him to your needs.

In the tar you will find also an example of using fully commented.