Grammars switching in one source file

Nov 10, 2015 at 11:04 AM
Is it possible to switch between multiple separate grammars when parsing one file with Irony?
Like for HTML mixed with PHP for example. Achieving independent coloring and validation.
How would I start extending Irony to support that if it's not available feature yet?