Update the parser to work with inline conditionals. Added test to the parsers. Fix a bug with multiple environments