Initial version of incremental parser