Continue
Posted: Tue Jan 24, 2023 4:19 am
This is a technique (told to me by Talia) that you can use to conditionally implement the continue operator in Hex Casting — that is, skip to the end of one Thoth iteration but continue with subsequent iterations. This is done by conditionally executing an unbalanced Introspection iota. It uses no meta-evaluation levels.
Conditional Continue
bool →
Must be used directly within a Thoth loop (it seems to just act like Charon's Gambit if used within a Hermes). Swap the Introspection and Bookkeeper's Gambit: - if you want to continue on false instead of true.
Demo
Expected output:
Conditional Continue
bool →
Must be used directly within a Thoth loop (it seems to just act like Charon's Gambit if used within a Hermes). Swap the Introspection and Bookkeeper's Gambit: - if you want to continue on false instead of true.
Code: Select all
#define Conditional Continue (SOUTH_WEST aqdeedd) = bool ->
{
{
Introspection
Bookkeeper's Gambit: -
Retrospection
}
Flock's Disintegration
Bookkeeper's Gambit: v
Augur's Exaltation
Hermes' Gambit
}
Demo
Expected output:
Code: Select all
{
Numerical Reflection: 0
Huginn's Gambit
{
Muninn's Reflection
Reveal
Gemini Decomposition
Numerical Reflection: 2
Maximus Distillation
// if i > 2: continue
{
Introspection
Bookkeeper's Gambit: -
Retrospection
}
Flock's Disintegration
Bookkeeper's Gambit: v
Augur's Exaltation
Hermes' Gambit
Numerical Reflection: -1
Reveal
Bookkeeper's Gambit: v
Additive Distillation
Huginn's Gambit
}
Numerical Reflection: 1
Numerical Reflection: 10
Gemini's Gambit
Numerical Reflection: 10
Flock's Gambit
Thoth's Gambit
Reveal
}