endCheck :-> if @pos >= @code.length trace(if @compil_ok then "Compilation OK." else "Compilation fail.") return true return false trimForNext: -> while (@code[@pos].charCodeAt(0) < 33 || @code[@pos].charCodeAt(0) == 127) && !@endCheck() if @code[@pos] == '\n' @line++ @pos++ next: -> @trimForNext() if @endCheck() return null