xo-interpreter2 stack: OUTPUT_CPP_DIR cmake->idl/

This commit is contained in:
Roland Conybeare 2026-02-16 17:46:51 -05:00
commit 28348e46ec
145 changed files with 207 additions and 169 deletions

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet]
* [xo-facet/codegen/genfacet]
* arguments:
* --input [idl/Sequence.json5]
* 2. jinja2 template for abstract facet .hpp file:
@ -51,6 +51,8 @@ public:
// const methods
/** RTTI: unique id# for actual runtime data representation **/
virtual typeseq _typeseq() const noexcept = 0;
/** destroy instance @p d; calls c++ dtor only for actual runtime type; does not recover memory **/
virtual void _drop(Opaque d) const noexcept = 0;
/** true iff sequence is empty **/
virtual bool is_empty(Copaque data) const noexcept = 0;
/** true iff sequence is finite **/
@ -78,4 +80,4 @@ using ISequence_ImplType = xo::facet::FacetImplType<ASequence, DRepr>;
} /*namespace scm*/
} /*namespace xo*/
/* ASequence.hpp */
/* ASequence.hpp */

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet]
* [xo-facet/codegen/genfacet]
* arguments:
* --input [idl/Sequence.json5]
* 2. jinja2 template for abstract facet .hpp file:
@ -55,8 +55,11 @@ namespace scm {
// from ASequence
// const methods
// builtin methods
typeseq _typeseq() const noexcept override { return s_typeseq; }
[[noreturn]] void _drop(Opaque) const noexcept override { _fatal(); }
// const methods
[[noreturn]] bool is_empty(Copaque) const noexcept override { _fatal(); }
[[noreturn]] bool is_finite(Copaque) const noexcept override { _fatal(); }
[[noreturn]] obj<AGCObject> at(Copaque, size_type) const override { _fatal(); }
@ -86,4 +89,4 @@ namespace scm {
} /*namespace scm */
} /*namespace xo */
/* ISequence_Any.hpp */
/* ISequence_Any.hpp */

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet]
* [xo-facet/codegen/genfacet]
* arguments:
* --input [idl/Sequence.json5]
* 2. jinja2 template for abstract facet .hpp file:
@ -40,8 +40,11 @@ namespace scm {
// from ASequence
// const methods
// builtin methods
typeseq _typeseq() const noexcept override { return s_typeseq; }
void _drop(Opaque d) const noexcept override { _dcast(d).~DRepr(); }
// const methods
bool is_empty(Copaque data) const noexcept override {
return I::is_empty(_dcast(data));
}
@ -85,4 +88,4 @@ namespace scm {
} /*namespace scm */
} /*namespace xo*/
/* end ISequence_Xfer.hpp */
/* end ISequence_Xfer.hpp */

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet]
* [xo-facet/codegen/genfacet]
* arguments:
* --input [idl/Sequence.json5]
* 2. jinja2 template for abstract facet .hpp file:
@ -47,8 +47,13 @@ public:
/** @defgroup scm-sequence-router-methods **/
///@{
// const methods
// explicit injected content
// builtin methods
typeseq _typeseq() const noexcept { return O::iface()->_typeseq(); }
void _drop() const noexcept { O::iface()->_drop(O::data()); }
// const methods
bool is_empty() const noexcept {
return O::iface()->is_empty(O::data());
}
@ -84,4 +89,4 @@ namespace xo { namespace facet {
};
} }
/* end RSequence.hpp */
/* end RSequence.hpp */