Parser functionality is implemented through the plugin system. See plugins for plugin development patterns.
For complete API documentation, see api.