Migrated syntax to use syntax registry

Created a basic syntax registry and migrated the current editor
to use it, in the future builtins should be loadedd better and this
editor should be able to compose multiple syntaxes