Vcsn  2.2a
Be Rational
translate.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdexcept>
4 #include <string>
5 
6 #include <vcsn/misc/fwd.hh>
7 
8 namespace vcsn
9 {
10  namespace dyn
11  {
13  struct jit_error: std::runtime_error
14  {
15  jit_error(const std::string& assert, const std::string& what);
17  std::string assertions;
18  };
19 
21  void compile(const std::string& ctx);
22 
24  void compile(const std::string& algo, const signature& sig);
25  } // namespace dyn
26 } // namespace vcsn
jit_error(const std::string &assert, const std::string &what)
Definition: translate.cc:32
std::string assertions
If defined, static assertions that failed (ends with a eol).
Definition: translate.hh:17
An exception suited for our compilation errors.
Definition: translate.hh:13
void compile(const std::string &ctx)
Compile, and load, a DSO with instantiations for ctx.
Definition: translate.cc:388
static dyn::context ctx(const driver &d)
Get the context of the driver.
Definition: parse.cc:82
Signature of a function call.
Definition: signature.hh:15
Definition: a-star.hh:8