Text::EP3

EP3 Perl module is the Extensible Perl PreProcessor.
Download

Text::EP3 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Gary Spivey
  • Publisher web site:
  • http://search.cpan.org/~gspivey/Text-EP3-Verilog-1.00/Verilog.pm

Text::EP3 Tags


Text::EP3 Description

EP3 Perl module is the Extensible Perl PreProcessor. EP3 Perl module is the Extensible Perl PreProcessor.SYNOPSIS # Use options and files from command-line use Text::EP3; # Language Specific Modules # create the PreProcessor object my $preprocessor = new Text::EP3 file; # do the preprocessing, using command-line options from @ARGV $preprocessor->ep3_execute; # Set options and files from the Perl script use Text::EP3; # Language Specific Modules # create the PreProcessor object my $preprocessor = new Text::EP3 file; # configure the PreProcessor object (optional) $preprocessor->ep3_output_file(); $preprocessor->ep3_modules(); $preprocessor->ep3_includes(); $preprocessor->ep3_reset; $preprocessor->ep3_start_comment(); $preprocessor->ep3_end_comment(); $preprocessor->ep3_line_comment(); $preprocessor->ep3_delimiter(); $preprocessor->ep3_gen_depend_list(); $preprocessor->ep3_keep_comments(); $preprocessor->ep3_protect_comments(); $preprocessor->ep3_defines($string1=$string2); # do the preprocessing $preprocessor->ep3_process(]);EP3 is a Perl5 program that preprocesses STDIN or some set of input files and produces an output file. EP3 only works on input files and produces output files. It seems to me that if you want to preprocess arrays or somesuch, you should be using perl. EP3 was first developed to provide a flexible preprocessor for the Verilog hardware description language.Verilog presents some problems that were not easily solved by using cpp or m4. I wanted to be able to use a normal preprocessor, but extend its functionality. So I wrote EP3 - the Extensible Perl PreProcessor. The main difference between EP3 and other preprocessors is its built-in extensibility. Every directive in EP3 is really a method defined in EP3, one of its submodules, or embedded in the file that is being processed. By linking the directive name to the associated methods, other methods could be added, thus extending the preprocessor. Requirements: · Perl


Text::EP3 Related Software