Digging Into the Guts of The Flex Compiler
Matt Chotin posted about a new document which covers a bunch of the inner workings of the Flex Compiler. We open sourced the compiler as part of the open source Flex project and it’s probably one of the more interesting parts of the project but it’s always been a little bit of a black box. Compilers are also on the geekier end of things when it comes to development.
The new document covers everything from subcompilers, how MXML actually gets compiled into bytecode and also how things like Bindings and the Embed metadata work. As Danny notes, there are already a couple of people that have been using the open source compiler for their own projects. He also gives some good idea on other things you can create. I think it’s a cool effect of open sourcing Flex that you can really dig in to the nuts and bolts of how the Flex you write ends up on the users machine.
Posted in Flex






