Samstag, 1. Dezember 2007

Awkfull slider

My awkfull slide creator is now more or less usable. I am thinking of publicly sharing this tool. But as I said, this tool is awkfull. I wrote almost everything using awk. This language is pretty simple, and rarely used as a serious programming language. One can see a lot of awk one-liners inside a shell script, but complete program... Slider uses awk as a tool to translate plain text to an swfc script. This plain text is straight forward, containing tags and contents of slides. Here is the example:

$slide
This is my first slide
~First item
~~and first sub item
Pretty simple, right? At least it is very readable to me. Wait how about figures? Not only figures, you can also put directly movies inside it. Of course, swf format is more preferable. Look at this:
$slide
How to put figure...
$figure myfigure.jpg x=100 y=100 scale=50% alpha=50%
$figure movie.swf y=100 y=250 scale=50%
thats it. I will comeback to this post to tell the repository where I put slider program. I need to make also some examples for user. This is really an Awkfull program.

Keine Kommentare: