refactor xo::ast -> xo::scm + restore nodef ppdetail_atomic build
This commit is contained in:
parent
f3fde735da
commit
483ce15988
78 changed files with 243 additions and 237 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#include "xo/indentlog/print/vector.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::Variable;
|
||||
using xo::scm::Variable;
|
||||
|
||||
namespace scm {
|
||||
#ifdef OBSOLETE
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include "pretty_localenv.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::LocalEnv;
|
||||
using xo::ast::Variable;
|
||||
using xo::scm::LocalEnv;
|
||||
using xo::scm::Variable;
|
||||
|
||||
namespace scm {
|
||||
bp<LocalEnv>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include "xo/expression/pretty_expression.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::Constant;
|
||||
using xo::scm::Constant;
|
||||
|
||||
namespace scm {
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include "xo/expression/Variable.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::Variable;
|
||||
using xo::scm::Variable;
|
||||
using xo::reflect::TypeDescr;
|
||||
|
||||
namespace scm{
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ namespace xo {
|
|||
exprseq_xs::on_bool_token(const token_type & tk,
|
||||
parserstatemachine * p_psm)
|
||||
{
|
||||
using xo::ast::Constant;
|
||||
using xo::scm::Constant;
|
||||
|
||||
constexpr bool c_debug_flag = true;
|
||||
scope log(XO_DEBUG(c_debug_flag));
|
||||
|
|
@ -150,7 +150,7 @@ namespace xo {
|
|||
exprseq_xs::on_i64_token(const token_type & tk,
|
||||
parserstatemachine * p_psm)
|
||||
{
|
||||
using xo::ast::Constant;
|
||||
using xo::scm::Constant;
|
||||
|
||||
scope log(XO_DEBUG(p_psm->debug_flag()));
|
||||
|
||||
|
|
@ -176,7 +176,7 @@ namespace xo {
|
|||
exprseq_xs::on_f64_token(const token_type & tk,
|
||||
parserstatemachine * p_psm)
|
||||
{
|
||||
using xo::ast::Constant;
|
||||
using xo::scm::Constant;
|
||||
|
||||
scope log(XO_DEBUG(p_psm->debug_flag()));
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
//#include "xo/reflect/Reflect.hpp"
|
||||
|
||||
namespace xo {
|
||||
//using xo::ast::Constant;
|
||||
//using xo::scm::Constant;
|
||||
//using xo::reflect::Reflect;
|
||||
using xo::reflect::TypeDescr;
|
||||
using xo::print::ppindentinfo;
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
#include "xo/expression/Lambda.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::Lambda;
|
||||
using xo::ast::LocalEnv;
|
||||
using xo::scm::Lambda;
|
||||
using xo::scm::LocalEnv;
|
||||
|
||||
namespace scm {
|
||||
const char *
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@
|
|||
#include "xo/expression/Lambda.hpp"
|
||||
|
||||
namespace xo {
|
||||
using Sequence = xo::ast::Sequence;
|
||||
using DefineExpr = xo::ast::DefineExpr;
|
||||
using Apply = xo::ast::Apply;
|
||||
using Lambda = xo::ast::Lambda;
|
||||
using LambdaAccess = xo::ast::LambdaAccess;
|
||||
using Environment = xo::ast::Environment;
|
||||
using LocalEnv = xo::ast::LocalEnv;
|
||||
using Variable = xo::ast::Variable;
|
||||
using Sequence = xo::scm::Sequence;
|
||||
using DefineExpr = xo::scm::DefineExpr;
|
||||
using Apply = xo::scm::Apply;
|
||||
using Lambda = xo::scm::Lambda;
|
||||
using LambdaAccess = xo::scm::LambdaAccess;
|
||||
using Environment = xo::scm::Environment;
|
||||
using LocalEnv = xo::scm::LocalEnv;
|
||||
using Variable = xo::scm::Variable;
|
||||
|
||||
namespace scm {
|
||||
std::unique_ptr<let1_xs>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
#include <stdexcept>
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::Expression;
|
||||
using xo::ast::LocalEnv;
|
||||
using xo::scm::Expression;
|
||||
using xo::scm::LocalEnv;
|
||||
using xo::reflect::TypeDescr;
|
||||
|
||||
namespace scm {
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
#include "xo/expression/pretty_expression.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::LocalEnv;
|
||||
using xo::ast::Variable;
|
||||
using xo::scm::LocalEnv;
|
||||
using xo::scm::Variable;
|
||||
|
||||
namespace scm {
|
||||
bp<Variable>
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@
|
|||
#include "xo/expression/pretty_expression.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::Expression;
|
||||
using xo::ast::AssignExpr;
|
||||
using xo::ast::Variable;
|
||||
using xo::ast::Apply;
|
||||
using xo::scm::Expression;
|
||||
using xo::scm::AssignExpr;
|
||||
using xo::scm::Variable;
|
||||
using xo::scm::Apply;
|
||||
|
||||
namespace scm {
|
||||
const char *
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include "xo/expression/pretty_expression.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::ast::DefineExpr;
|
||||
using xo::scm::DefineExpr;
|
||||
|
||||
namespace scm {
|
||||
std::unique_ptr<sequence_xs>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue