summaryrefslogtreecommitdiff
path: root/src/meter.cc
blob: 0afa8ea1a190b7f9780e46535b1adaa3be78278a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "string.hh"
#include "molecule.hh"
#include "meter.hh"
#include "paper.hh"
#include "lookup.hh"


Meter::Meter(svec<String> a)
    :args(a)
{
}
void
Meter::preprocess()
{    
    Parametric_symbol *p = paper()->lookup_->meter("general");
    Symbol s = p->eval(args);
    delete p;
    output = new Molecule(Atom(s));
}