Write pseudocode.
Actually run it.
Pseudo is a language that sits between English prose and real code. Flexible syntax via .pmap mappings - any style, any language.
PMAP Mappings
Write in any style - English, Python-like, or your own language. Just define a .pmap file.
No Rigid Syntax
Indentation is the only strict rule. Everything else is flexible via pattern matching.
--step Mode
Step through your algorithm line-by-line with full variable state visible at each step.
DS Built-in
Stack, Queue, HashMap, MinHeap, Graph - all built in with visual auto-print display.
A Quick Look
.pseudo
# Bubble Sort in pseudo
func bubbleSort(arr)
for i from 0 to len(arr)
for j from 0 to len(arr) - i - 1
if arr[j] > arr[j+1]
swap arr[j] and arr[j+1]
return arr
result = bubbleSort([5, 3, 8, 1, 9, 2])
print resultOutput
[1, 2, 3, 5, 8, 9]
Position on the Spectrum
100% English prose ←-- Pseudo --→ Real programming language
"Sort the array" ↑ for(int i=0; i<n; i++) {...}
Pseudo leans toward programming language syntax, not prose.
What Pseudo is NOT
- A language for building software applications
- A replacement for Python, Java, C++ etc.
- A language for file I/O, networking, async, or OOP
- A production language
Target use casesCoding interviews, algorithm verification, teaching algorithms step-by-step, and quickly stating ideas in runnable form.