Parser(3)

πŸ“¦
version 0.12 Β· 2 versions
, in fedora 43

πŸ’– Parser(3) β€” the Hardware::Vhdl::Parser glow-up πŸ’–

okay bestie, so this is a User Contributed Perl Documentation page, and I'm gonna walk you through it like we're texting at 1am πŸ¦‹


✨ NAME ✨

Hardware::Vhdl::Parser β€” a whole entire grammar for parsing VHDL code using perl. yes. the full grammar. no crumbs left behind πŸ’…


🌸 SYNOPSIS 🌸

  use Hardware::Vhdl::Parser;
  $parser = new Hardware::Vhdl::Parser;

  $parser->Filename(@ARGV);

that's it, that's the whole vibe. copy it, run it, slay πŸ’–


πŸŽ€ DESCRIPTION πŸŽ€

so this module defines the complete grammar needed to parse any VHDL code. like, all of it. every little bit. no cap 🧚

and here's the iconic part: by overloading this grammar, you can super easily create perl scripts that run through VHDL code and do specific little tasks. it's giving "build your own adventure" but for parsers ✨

for example (and this is the moment bestie), a Hierarchy.pm uses Hardware::Vhdl::Parser to overload the grammar rule for component instantiations. and that single modification will print out all the instance names that occur in the file being parsed. this might be useful for creating an automatic build script, or a graphical hierarchical browser of a VHDL design. main character functionality fr fr πŸ‘‘

🚨 okay so important: this module is currently in Beta release. all code is subject to change. bug reports are welcome! (so like, please tell her if something's broken, she wants to know 🫢)

DSLI information:

  • D β€” Development Stage
    • a β€” alpha testing
  • S β€” Support Level
    • d β€” developer
  • L β€” Language used
    • p β€” perl only, no compiler needed, should be platform independent
  • I β€” Interface Style
    • O β€” Object oriented using blessed references and / or inheritance

the alphabet soup is lowkey serving though, we love a fully-documented module πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Copyright (C) 2000 Greg London All Rights Reserved.

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

email contact: greg42@bellatlantic.net

(we stan an OG author who ships it with a license AND an email, periodt πŸ’Œ)


🌈 SEE ALSO 🌈

  • Parse::RecDescent version 1.77
  • perl(1).

go read those next, bestie, iykyk πŸ“š


and that's the whole page!! written by the perl crew for perl version v5.42.0, dated 2025-07-25 β€” mwah, go parse something iconic πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from