-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
Karel.js | ||
======== | ||
# Karel.js | ||
|
||
Compilador y evaluador de Karel en Javascript | ||
|
||
## Cómo descargar Karel.js | ||
|
||
* Clona el repositorio en tu máquina usando | ||
`git clone https://github.com/omegaup/karel.js.git`. | ||
* Haz `git submodule update --init` al repo, para incluir CodeMirror en tu | ||
copia del proyecto. | ||
- Clona el repositorio en tu máquina usando | ||
`git clone https://github.com/omegaup/karel.js.git`. | ||
- Haz `git submodule update --init` al repo, para incluir CodeMirror en tu | ||
copia del proyecto. | ||
|
||
## Cómo correr Karel.js en tu máquina | ||
|
||
* `npm install && npm start` | ||
- `npm install && npm start` | ||
|
||
## Cómo correr Karel.js de línea de comandos | ||
|
||
* `sudo npm install -g` | ||
* `kareljs compile archivo.karel` compila el programa y genera un | ||
archivo `.kx`. | ||
* `kareljs run archivo.kx < entrada.in` ejecuta el programa con el mundo | ||
especificado por `entrada.in`. | ||
- `sudo npm install -g` | ||
- `kareljs compile archivo.karel` compila el programa y genera un | ||
archivo `.kx`. | ||
- `kareljs run archivo.kx < entrada.in` ejecuta el programa con el mundo | ||
especificado por `entrada.in`. | ||
|
||
## Troubleshooting | ||
|
||
- Si `npm install` marca error en la librería `node-canvas`, probablemente estés | ||
corriendo desde un OS que necesita instalar ciertas dependencias. Consulta la siguiente | ||
[documentación](https://github.com/Automattic/node-canvas?tab=readme-ov-file#compiling) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters