Parser(3)
π 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::RecDescentversion1.77perl(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
- fedora 43: perl-Hardware-Vhdl-Parser 0.12-48.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms