From 4d6404776e11b74cb1e8a12bb57ea7c75c0c07be Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 3 Feb 2026 14:27:42 -0500 Subject: [PATCH] xo-reader2 stack: streamlining + arith parser test --- include/xo/procedure2/DPrimitive.hpp | 4 +++- include/xo/procedure2/Primitive_gco_2_gco_gco.hpp | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 include/xo/procedure2/Primitive_gco_2_gco_gco.hpp diff --git a/include/xo/procedure2/DPrimitive.hpp b/include/xo/procedure2/DPrimitive.hpp index 90fdba5..abec46c 100644 --- a/include/xo/procedure2/DPrimitive.hpp +++ b/include/xo/procedure2/DPrimitive.hpp @@ -76,9 +76,11 @@ namespace xo { TypeDescr fn_td() const noexcept { return fn_td_; } - bool is_nary() const noexcept { return false; } + std::string_view name() const noexcept { return name_; } static constexpr std::int32_t n_args() noexcept { return Traits::n_args; } + bool is_nary() const noexcept { return false; } + obj apply_nocheck(obj rcx, const DArray * args) { return _apply_nocheck(rcx, args, std::make_index_sequence{}); diff --git a/include/xo/procedure2/Primitive_gco_2_gco_gco.hpp b/include/xo/procedure2/Primitive_gco_2_gco_gco.hpp new file mode 100644 index 0000000..9e6814f --- /dev/null +++ b/include/xo/procedure2/Primitive_gco_2_gco_gco.hpp @@ -0,0 +1,11 @@ +/** @file Primitive_gco_2_gco_gco.hpp + * + * @author Roland Conybeare, Feb 2026 + **/ + +#include "DPrimitive_gco_2_gco_gco.hpp" +#include "detail/IProcedure_DPrimitive_gco_2_gco_gco.hpp" +#include "detail/IGCObject_DPrimitive_gco_2_gco_gco.hpp" +#include "detail/IPrintable_DPrimitive_gco_2_gco_gco.hpp" + +/* end Primitive_gco_2_gco_gco.hpp */