ast compatision via metalua script