Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.

jefer94/algorithm

Repository files navigation

Gitpod ready-to-code npm jefer94 node deps dev-deps chat downloads

Choco Algorithm

Algorithm runtime emulator, like a IDE.

Install

git clone https://github.com/jefer94/algorithm
cd algorithm
npm install -D
npm run dev

Only use

git clone https://github.com/jefer94/algorithm
cd algorithm
# Now open the index.html in your web browser.

Usage

Algorithm provide you, a transpiler, in it can write algorithms.

How work it

When you press the hamburger button, the console run, then the transpiler provide you, a interfaz like a terminal emulator, like a real IDE.

Internally Algorithm transform that code in a equivalent in Javascript

var numero;
var i;
var tabla = new Vector(10);
i = 0 ;
eval(write( "Ingrese numero a multiplicar: " ));
eval(read(" numero "));
while (i < 10) { 
 i = i + 1 ;
tabla.io(i).add("numero") ;
 eval(write( numero, " * ", i, " = ", numero * i ));
}

Maintainers


@jefer94