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 :)
Enjoy!
Gio
Thursday, October 30, 2008
Friday, October 17, 2008
Other three tunes :)
Hi!
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
Enjoy!
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
Enjoy!
Thursday, October 16, 2008
Some other videos :D
Hi!
Uploaded some other videos on youtube
Xenosaga the animation main theme
http://it.youtube.com/watch?v=1szndiOF2vg
Country classic
http://it.youtube.com/watch?v=xV-M4QL9ris
Countri classic 2
http://it.youtube.com/watch?v=lHPeedzMmU8
Don't launch vegetables!!! :)
Enjoy
Gio
Uploaded some other videos on youtube
Xenosaga the animation main theme
http://it.youtube.com/watch?v=1szndiOF2vg
Country classic
http://it.youtube.com/watch?v=xV-M4QL9ris
Countri classic 2
http://it.youtube.com/watch?v=lHPeedzMmU8
Don't launch vegetables!!! :)
Enjoy
Gio
Saturday, October 4, 2008
Generic List [C]
Hi!
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.
Enjoy!
Gio
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.
Enjoy!
Gio
Subscribe to:
Posts (Atom)