Uiua: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
m (Text replacement - "Category:Array languages" to "")
mNo edit summary
Line 28: Line 28:


Uiua was [[Array Cast#uiua|featured on Array Cast]] in 2023.
Uiua was [[Array Cast#uiua|featured on Array Cast]] in 2023.
== Primitives ==
=== Function ===
==== Stack ====
Work with the stack
{| class="wikitable" style="margin:auto"
|+ Caption text
|-
! Glyph !! Name !! Type !! Definition
|-
| <code>.</code> || Duplicate || Monadic 2-output function || Duplicate the top value on the stack
|-
| <code>,</code> || Over || Dyadic 3-output function || Duplicate the second-to-top value to the top of the stack
|-
| <code>:</code> || Flip || Dyadic 2-output function || Swap the top two values on the stack
|-
| <code>◌(;)</code> || Pop ||Monadic 0-output function || Discard the top stack value
|-
| <code>?</code> || Stack || Noadic 0-output function || Debug print all stack values without popping them
|-
| <code>⸮</code> || Trace || Monadic function || Debug print the top value on the stack without popping it
|-
|}


== External links ==
== External links ==
19

edits

Navigation menu