lukasmoellerch / ts-to-pseudocode

A small tool that tries to convert typescript (or javascript) into equivalent pseudocode.

Home Page:https://pseudocode.lukas-moeller.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ts-to-pseudocode

A small tool that tries to convert typescript (or javascript) into equivalent pseudocode.

Demo: https://pseudocode.lukas-moeller.ch

Features

Only exported functions are converted.

  • x | 0
  • Math.floor(x)
  • Math.ceil(x)
  • new Set()
  • x.length
  • x.size
  • union(a, b)
  • setminus(a, b)
  • for(var i = 0; i < x; i++) {}
  • Mathematical operators are converted accordingly (+, -, *, /, &&, ||, !, ^)
    • All divisions are converted into fractions

Dependencies

Awesome projects this editor depends on:

About

A small tool that tries to convert typescript (or javascript) into equivalent pseudocode.

https://pseudocode.lukas-moeller.ch


Languages

Language:TypeScript 66.3%Language:JavaScript 21.2%Language:CSS 10.2%Language:HTML 2.3%