fix(compiler.c): read lines + allocation