LibLexer for library