Various issues

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
[i don't normally send bunched-up mail, but i'm on vacation and typing on
a danish keyboard, which messes with my brain.]

* The table 2.1 in the tutorial, "Special characters in the "print"
command", seems to be out of place. Or at least, it should be repeated in
the reference manual either under :print or in the list of variables.

* Adding line breaks a-la python in AAP :commands isn't possible due to
syntactic ambiguity. What would

	:route a b
		c d
		e
		f g h

mean? Adding a colon in there somewhere would help.

* Actions that create temporary files, like

:action turn B A
	@tempfile=sufreplace("",".bla",source)
	:sys foo $source > $tempfile
	:sys bar $tempfile > $target
	:sys rm -f $tempfile

have a cleanup problem - what if foo fails? or bar? worse still, $target
might be created and empty but newer-dated by the shell redirection, even
if bar fails. It'd be nice to have a cleanup attribute or an exception
mechanism in actions to be able to do such cleanup (maybe all it needs is
documenting)

* :do something $source { filetype=h } sets the source name to
$source{filetype=h} - not what you would expect. And sufreplace() on such
a broken filename leaves the trailing } in place.

* stuff in my pipeline:
	- large updates to the tutorial,
	- adding support for dir supportin :child so you can say :child
dirname and have AAP read that as :child dirname/main.aap
	- adding support for multiple children, so you can say :child dir1
dir2 dir3

-- 
 Adriaan de Groot    adridg-FlD2LfDziEhmR6Xm/[email protected]     Kamer A6020     024-3652272
GPG Key Fingerprint 934E 31AA 80A7 723F 54F9  50ED 76AC EE01 FEA2 A3FE
               http://www.cs.kun.nl/~adridg/research/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.