Vcsn  2.3a
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
void compile(const std::string &ctx)
Compile, and load, a DSO with instantiations for ctx.
Definition: translate.cc:380
Definition: a-star.hh:8
An exception suited for our compilation errors.
Definition: translate.hh:13
std::string assertions
If defined, static assertions that failed (ends with a eol).
Definition: translate.hh:17
jit_error(const std::string &assert, const std::string &what)
Definition: translate.cc:33
Signature of a function call.
Definition: signature.hh:15