flash, vi, fcsh

All my flash tinkering has been in VIM-- no IDE, no XML, just actionscript. It's a little tough to deal with the adobe compiler as it takes about 11 seconds to compile a large project like modestmaps on my machine. That's not good for a guess-and-check programmer. The typing does catch some errors.

The worldkit project compiles instantaneously with mtasc (the predecessor to haxe)--likewise for the as2 branch of modestmaps. The flash compiler shell drops the compile time for as3 modestmaps to under 3 seconds, so I've added this to my .bash_aliases:

alias fcsh="/usr/bin/rlwrap /opt/src/flex2/bin/fcsh"

the rlwrap is to use readline in the flash shell--meaning I can just press up-arrow to get the previous compile command. By default, one has to paste or type the entire command again.
With that, it's close to a reasonable workflow.

Comments

Gunther Konig said…
Thanks for the great rlwrap tip. I hope you don't mind that I added it to http://labs.adobe.com/wiki/index.php?title=Talk:Flex_Compiler_Shell
brent said…
hi gunther. glad to hear it's useful
Megan D said…
This comment has been removed by the author.
David Beal said…
From another vim/commandline user this is an awesome tip. Thanks!

Popular posts from this blog

python interval tree

filtering paired end reads (high throughput sequencing)

my thoughts on golang