A small tool that tries to convert typescript (or javascript) into equivalent pseudocode.
Demo: https://pseudocode.lukas-moeller.ch
Only exported functions are converted.
x | 0Math.floor(x)Math.ceil(x)new Set()x.lengthx.sizeunion(a, b)setminus(a, b)for(var i = 0; i < x; i++) {}- Mathematical operators are converted accordingly (+, -, *, /, &&, ||, !, ^)
- All divisions are converted into fractions
Awesome projects this editor depends on: