Functions and parsers for Agda research library