llvm-ir-editor
llvm-ir-editor copied to clipboard
Add support for multiple compatibility modes
It can be useful to add the ability to switch between multiple compatibility mode options, e.g.:
- LLVM 2.9-3.3
- LLVM 2.0-2.8
- SPIR 1.0
... etc. That would mean to make the grammar as permissive as possible, while adding multiple possible validators (possibly inheriting from each other?).
Related to #9
Such a setting should go in the preference page. See
http://stackoverflow.com/questions/7964212/correctly-initializing-and-retrieving-preferences-in-a-xtext-based-eclipse-plugi
On how to customize it.