1.0.0-alpha3 • Published 6 years ago

choco-algorithm v1.0.0-alpha3

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
6 years ago

npm npm node deps chat downloads

git clone https://github.com/jefer94/algorithm
cd algorithm
npm install -D
npm run dev
git clone https://github.com/jefer94/algorithm
cd algorithm
# Now open the index.html in your web browser.

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

Write algorithm

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

Emulate runtime in a console

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 ));
}