choco-algorithm

1.0.0-alpha3 • Public • Published

npm npm node 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.

Write algorithm

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.

Emulate runtime in a console

Internally Algorithm transform that code in a equivalent in Javascript

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

Maintainers


@jefer94

/choco-algorithm/

    Package Sidebar

    Install

    npm i choco-algorithm

    Weekly Downloads

    4

    Version

    1.0.0-alpha3

    License

    GPL-3.0

    Last publish

    Collaborators

    • jefer94