Bam is a fast and flexible build system. Bam uses Lua to describe the build process. It's takes its inspiration for the script files from scons. While scons focuses on being 100% correct when building, bam makes a few sacrifices to acquire fast full and incremental build times.
There are 3 global variables, "family", "platform" and "arch". These correspond to what bam was built with. I might wanna move these variables around a bit for the 0.5 release but you can check those.
In scons, user can detect operating system by os.name or platform.system(). Is there a same thing for bam?