progress on parser completion

fixed doc comment

fixing term function parsing;
fix conversion of annotation list to BEL syntax