Implement checking repeat declaration blocks + add 'not' operator support