xo-reader2 stack: + op<= setup

This commit is contained in:
Roland Conybeare 2026-03-12 21:00:16 -05:00
commit 8fda8c8f14
2 changed files with 18 additions and 0 deletions

View file

@ -106,6 +106,8 @@ namespace xo {
obj<AGCObject> cmpne_pm() const;
/** polymorphich less-than comparison. Use to implement infix op< **/
obj<AGCObject> cmplt_pm() const;
/** polymorphich less-or-equal comparison. Use to implement infix op<= **/
obj<AGCObject> cmple_pm() const;
/** true iff state machine is currently idle (at top-level) **/
bool is_at_toplevel() const noexcept;
@ -418,6 +420,7 @@ namespace xo {
Binding cmpeq_binding_;
Binding cmpne_binding_;
Binding cmplt_binding_;
Binding cmple_binding_;
/** current output from parser **/
ParserResult result_;