1. Michele Bini
  2. PeML Perl Macro Language

Commits

Michele Bini  committed dc50f2e

Add output option, version 0.1.0

  • Participants
  • Parent commits b1209e6
  • Branches master
  • Tags 0.1.0

Comments (0)

Files changed (2)

File ROADMAP

View file
 MILESTONES:
 
-Allow to define custom matchers for substitution areas.
-
-Allow to define filters.
+* Allow to define custom matchers for substitution areas.
+* Allow to define filters.
+* Allow passing control to a different preprocessor.

File peml

View file
 #!/usr/bin/perl -w
 
+# PeML Perl Macro Language - Preprocessor with full Perl access
+
 # Copyright (c) 2011 Michele Bini
 
 # This program is free software: you can redistribute it and/or modify
 
 # PeML: Perl Macro Language
 
-$VERSION = "0.0.2";
+$VERSION = "0.1.0";
 
 use strict;
 
     shift @ARGV; $peml_open = shift @ARGV;
   } elsif (/-close/) {
     shift @ARGV; $peml_close = shift @ARGV;
+  } elsif (/-output/) {
+    shift @ARGV; open STDOUT ">", shift @ARGV;
   }
 }