Getters should be used

Since `parser` and `generator` became private
Merge pull request #147 from Fractaliste/patch-1

Getters should be used