Fixed a side effect of renaming generator.source to generator.lua
Merge branch 'master' of https://github.com/ldeniau/mad
Made some small changes for readability
Made the mad-x-parser run every 1000 statements to make sure it doesn't overflow luajits constraint of 2^16 constants