Biblio...:Parser(3pm)

✨ NAME ✨

Biblio::Thesaurus::ModRewrite::Parser β€” okay bestie, this module is literally the parser for OML programs πŸ’…

(it lives in the Biblio...:Parser(3pm) section of the manual, iykyk)


🌸 VERSION 🌸

Version 0.02 β€” yes she's an early-days icon, we stan a humble beginning πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

So the way this works: this module implements the parser that Biblio::Thesaurus::ModRewrite uses to run programs written in OML.

And what is OML, you ask? It's a domain specific language for describing operations to execute on ontologies. No cap. Tiny language, big main character energy πŸ‘‘


πŸ’– FUNCTIONS πŸ’–

⭐ new

Creates a brand new object. Fresh start, new era, we love to see it ✨

πŸŽ€ lex

This is the function that tokenizes source code. It takes your code and breaks it into lil tokens, like separating your candy by colour πŸ“

πŸ’€ yyerror

The function that reports errors. Not the fun job but somebody's gotta do it πŸ™ˆ

🧚 init_lex

Sets up everything we need to get going β€” the pre-game ritual, basically. Initializes all the stuff. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

  • Nuno Carvalho, <smash@cpan.org>
  • J.Joao Almeida, <jj@di.uminho.pt>
  • Alberto Simoes, <albie@alfarrabio.di.uminho.pt>

Three absolute legends fr fr 🫢


Copyright 2008 Nuno Carvalho, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

So basically: it's free, it's Perl-flavoured, go forth and remix bestie πŸ’–

Sign-off szn: this page came to you courtesy of perl v5.36.0, dated 2023-02-14 (valentine's day drop, iconic 🌸), from the Biblio...:Parser(3pm) manual. Mwah, periodt πŸ’…

πŸ“¦ where this page comes from