Language-FormulaEngine

 view release on metacpan or  search on metacpan

lib/Language/FormulaEngine/Compiler.pm  view on Meta::CPAN

251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
version 0.08
 
=head1 DESCRIPTION
 
The Compiler object takes a parse tree and generates perl code from it, and also evals
that perl code into a compiled coderef.  However, most of the code generation is handled
by the L<Language::FormulaEngine::Namespace> object.  The namespace object must be
available during compilation.  In the default scenario, the namespace object will be
consulted for default constants and "global" variables, and then the generated coderef
will accept additional variables to overlay on those global variables, but the Namespace
will still get to determine how to access that pool of combined variables at execution.
 
For alternative strategies, see the C<output_api> attribute below.
 
=head1 ATTRIBUTES
 
=head2 namespace
 
Instance of L<Language::FormulaEngine::Namespace> to use for looking up functions,
converting functions to perl code, and symbolic constants.  This namespace object will



( run in 0.346 second using v1.01-cache-2.11-cpan-87723dcf8b7 )