Commit graph

4 commits

Author SHA1 Message Date
Charlie Brej
67b8703dd6 [scan] Add parsing of line comments
These are currently hard coded to '//' and '#'. The code is there to return
them to the caller but currently they are thrown away.
Should add a skip_comments option and allow customisable markers.
2009-07-24 09:30:08 -04:00
Charlie Brej
8c9f902ecc [script] Add support for script image rotation
An image rotate operation creates a new image with the same dimensions but with
the contents rotated by an angle around the centre of the image. Also added a
script object to float function to allow this.
2009-07-24 09:30:07 -04:00
Charlie Brej
bccf288229 [script] Add support for unary operations (!/+/-/++/--)
Allows execution of unary operations: Pre/postfix inc/decrement, logical
negation and unary plus/minus.

The writebacks of increment/decrements happen during the execution of the
expression, unlike C where they are executed after the line if executed. This
is the case simply because it is simpler to execute this way.
2009-07-24 09:30:07 -04:00
Charlie Brej
5ea8be95ab Initial scripted plugin support
This is an initial support for the scripted plugin. There are _many_ FIXMEs
and the whole code is reather unstable. The formatting is completely incorrect
and will be changed soon. There are scripts which are converted using a perl
to an C embeddable string.
2009-07-24 09:30:05 -04:00