{"_id":"@adaycuestacorrea/scope-intro","_rev":"2-4ee174247d5a266fd7073d82cd2d0574","name":"@adaycuestacorrea/scope-intro","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@adaycuestacorrea/scope-intro","version":"1.0.0","description":"A lab for PL. Intro to Scope Analysis","main":"src/transpile.js","bin":{"calc2js":"bin/calc2js.js"},"scripts":{"test":"npm run test-pass; npm run test-err","test-pass":"npm run compile && mocha test/test.mjs","test-err":"npm run compile && mocha test/test-error.js","cov":"nyc --reporter=html --report-dir=docs/Coverage npm test","doc":"jsdoc -c jsdoc.config.js -r -d docs/Documentation","compile":"jison src/grammar.jison src/lexer.l -o src/calc.js","clean":"rm -f src/calc.js; rm -fR coverage","mocha":"test/scripts/t.sh mocha","check":"test/scripts/t.sh check","ready":"test/scripts/t.sh ready","calc2js":"bin/calc2js.mjs","while-ast":"compast test/data/expectedjs/while.js | yq '.body[2].expression.expressions[0]'"},"keywords":["ull","jison","espree","compiler"],"author":{"name":"Casiano Rodriguez Leon","email":"crguezl@ull.edu.es","url":"https://crguezl.github.io/"},"license":"ISC","dependencies":{"ast-types":"^0.14.2","c8":"^9.1.0","chmod":"^0.2.1","commander":"^10.0.1","complex.js":"^2.1.1","dotenv":"^16.4.5","jison":"^0.4.18","nyc":"^15.1.0","recast":"^0.22.0","set-operations":"^2.0.2","shelljs.exec":"^1.1.8"},"devDependencies":{"mocha":"^10.2.0","shelljs":"^0.8.5"},"_id":"@adaycuestacorrea/scope-intro@1.0.0","gitHead":"485d575a8835e8c427ce3d50f0258b045762d129","_nodeVersion":"21.6.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-3xkHn8EtJCgqQyYDO9El1j3yAP3degaiHdJ051KgRymwSBx0bZVCIIWUySnxYs5BH+yyg6H2lX8AuNeddcBDxA==","shasum":"7f8e468d8eb9c9c9d2780d2147bcfd4a93749b0d","tarball":"https://registry.npmjs.org/@adaycuestacorrea/scope-intro/-/scope-intro-1.0.0.tgz","fileCount":258,"unpackedSize":1618420,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvXsUwIYPU/jrnJTEoy8/cs619JaGBQ9wh0OZo1PdN+AiA/B8tAoQtpN7SnMYsvP2ih+CR3eqJfWd4Zd7r7vE2eGg=="}]},"_npmUser":{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"},"directories":{},"maintainers":[{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-intro_1.0.0_1711055276363_0.7137384775315816"},"_hasShrinkwrap":false},"1.0.1":{"name":"@adaycuestacorrea/scope-intro","version":"1.0.1","description":"A lab for PL. Intro to Scope Analysis","main":"src/transpile.js","bin":{"calc2js":"bin/calc2js.js"},"scripts":{"test":"npm run test-pass; npm run test-err","test-pass":"npm run compile && mocha test/test.mjs","test-err":"npm run compile && mocha test/test-error.js","cov":"nyc --reporter=html --report-dir=docs/Coverage npm test","doc":"jsdoc -c jsdoc.config.js -r -d docs/Documentation","compile":"jison src/grammar.jison src/lexer.l -o src/calc.js","clean":"rm -f src/calc.js; rm -fR coverage","mocha":"test/scripts/t.sh mocha","check":"test/scripts/t.sh check","ready":"test/scripts/t.sh ready","calc2js":"bin/calc2js.mjs","while-ast":"compast test/data/expectedjs/while.js | yq '.body[2].expression.expressions[0]'"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887.git"},"publishConfig":{"access":"public"},"keywords":["ull","jison","espree","compiler"],"author":{"name":"Casiano Rodriguez Leon","email":"crguezl@ull.edu.es","url":"https://crguezl.github.io/"},"license":"ISC","dependencies":{"ast-types":"^0.14.2","c8":"^9.1.0","chmod":"^0.2.1","commander":"^10.0.1","complex.js":"^2.1.1","dotenv":"^16.4.5","jison":"^0.4.18","nyc":"^15.1.0","recast":"^0.22.0","set-operations":"^2.0.2","shelljs.exec":"^1.1.8"},"devDependencies":{"mocha":"^10.2.0","shelljs":"^0.8.5"},"_id":"@adaycuestacorrea/scope-intro@1.0.1","gitHead":"b371c6cac91dfb156632ff28c7eff9dba509fa81","bugs":{"url":"https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887#readme","_nodeVersion":"21.6.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-BKgAULcfn6C66+oOl366iAFK8O5ImJw1cuCz1holtabNzQraNZ7d5A8bzFM4jdfHoKRM2Py7qdt0upAxphD8gQ==","shasum":"d1ed0c29ae95e4da9e1c2304daabf36cbd635093","tarball":"https://registry.npmjs.org/@adaycuestacorrea/scope-intro/-/scope-intro-1.0.1.tgz","fileCount":258,"unpackedSize":1618605,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZtL5LQL10mRbvyLq7zOgVIphQ+EvZ/XvtbWx1ZY4LwwIhAPahT+d+yjwH0vI2gax4FwEqFyJXmM+UkrtVLnAB5Z1J"}]},"_npmUser":{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"},"directories":{},"maintainers":[{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-intro_1.0.1_1711057327650_0.9302571884228128"},"_hasShrinkwrap":false},"1.0.2":{"name":"@adaycuestacorrea/scope-intro","version":"1.0.2","description":"A lab for PL. Intro to Scope Analysis","main":"src/transpile.js","bin":{"calc2js":"bin/calc2js.js"},"scripts":{"test":"npm run test-pass; npm run test-err","test-pass":"npm run compile && mocha test/test.mjs","test-err":"npm run compile && mocha test/test-error.js","cov":"nyc --reporter=html --report-dir=docs/Coverage npm test","doc":"jsdoc -c jsdoc.config.js -r -d docs/Documentation","compile":"jison src/grammar.jison src/lexer.l -o src/calc.js","clean":"rm -f src/calc.js; rm -fR coverage","mocha":"test/scripts/t.sh mocha","check":"test/scripts/t.sh check","ready":"test/scripts/t.sh ready","calc2js":"bin/calc2js.mjs","while-ast":"compast test/data/expectedjs/while.js | yq '.body[2].expression.expressions[0]'"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887.git"},"publishConfig":{"access":"public"},"keywords":["ull","jison","espree","compiler"],"author":{"name":"Casiano Rodriguez Leon","email":"crguezl@ull.edu.es","url":"https://crguezl.github.io/"},"license":"ISC","dependencies":{"ast-types":"^0.14.2","c8":"^9.1.0","chmod":"^0.2.1","commander":"^10.0.1","complex.js":"^2.1.1","dotenv":"^16.4.5","jison":"^0.4.18","nyc":"^15.1.0","recast":"^0.22.0","set-operations":"^2.0.2","shelljs.exec":"^1.1.8"},"devDependencies":{"mocha":"^10.2.0","shelljs":"^0.8.5"},"_id":"@adaycuestacorrea/scope-intro@1.0.2","gitHead":"b255520b7c7bc8e786c78e2a9a72edfb03ab24f0","bugs":{"url":"https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887#readme","_nodeVersion":"21.6.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-4V0lsx9IzL6B46atB6ikPB8TIqC5JFJyEzh3Ky69SXi9CHRQxpcG0iF5aBYTU4lMEHKDbyn5Yk+7KgMROB9cEQ==","shasum":"a940fb1c83f7d5379578aaca4440ecf6fe5e472b","tarball":"https://registry.npmjs.org/@adaycuestacorrea/scope-intro/-/scope-intro-1.0.2.tgz","fileCount":258,"unpackedSize":1618601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBk14jF9NaXRNBXmyTmtDVTHfLj/xFre/abI+h8cB7RbAiEAkpmeQB0gLIAqHTOMwf+sl2R5m4PlZOF+jgFPNtJYC0U="}]},"_npmUser":{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"},"directories":{},"maintainers":[{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-intro_1.0.2_1711057861838_0.16646558685552204"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-21T21:07:56.241Z","1.0.0":"2024-03-21T21:07:56.643Z","modified":"2024-03-21T21:51:02.521Z","1.0.1":"2024-03-21T21:42:07.912Z","1.0.2":"2024-03-21T21:51:02.105Z"},"maintainers":[{"name":"adaycuestacorrea","email":"alu0101483887@ull.edu.es"}],"description":"A lab for PL. Intro to Scope Analysis","keywords":["ull","jison","espree","compiler"],"author":{"name":"Casiano Rodriguez Leon","email":"crguezl@ull.edu.es","url":"https://crguezl.github.io/"},"license":"ISC","readme":"# Lab Add Loops and Strings \n\n- Author: Aday Cuesta Correa\n- Email: alu0101483887@ull.edu.es\n\n# Introduction\n\nUsing the grammar built from the previous labs, we are now expanding the functionality of our program by adding _functions_ and the _boolean_ type.\n\n## Explicaciones de la tarea\n\n### Opciones en línea de comandos\n\n![calc2](images/calc2.png)\n\n![calc2_2](images/calc2_2.png)\n\n### Traducción de las expresiones\n\n![while](images/while.png)\n\n![for](images/for.png)\n\n![string](images/string.png)\n\n### Las nuevas operaciones de strings y otros tipos son simétricas\n\n![string2](images/string_simetrico.png)\n\n### Los mensajes de error para operaciones sobre tipos incorrectos son adecuados\n\n![error](images/error.png)\n\n### Los operadores de comparación son soportados por las string\n\n![stringComp](images/string_comp.png)\n\n### Ha añadido tests suficientes, documentación y cubrimiento\n\n![tests](images/tests.png)\n\n### Github Pages\n\n[Link a la page para ver el coverage](https://ull-esit-pl-2324.github.io/while-aday-cuesta-correa-alu0101483887/)\n\n\n![pages](images/pages.png)\n\n- La página se ve así:\n\n![principal](images/principal.png)\n\n- Si clickamos en cobertura:\n\n![cov](images/cov.png)\n\n- Si clickamos en documentacion:\n\n![doc](images/doc.png)\n\n## References\n\n- [Repo ULL-ESIT-GRADOII-PL/esprima-pegjs-jsconfeu-talk](https://github.com/ULL-ESIT-GRADOII-PL/esprima-pegjs-jsconfeu-talk)\n- [crguezl/hello-jison](https://github.com/crguezl/hello-jison)\n- [Espree](https://github.com/eslint/espree)\n  - [Options for parse and tokenize methods](https://github.com/eslint/espree#options)\n- <a href=\"https://astexplorer.net/\" target=\"_blank\">astexplorer.net demo</a>\n- [idgrep.js](https://github.com/ULL-ESIT-GRADOII-PL/esprima-pegjs-jsconfeu-talk/blob/master/idgrep.js)\n- [Introducción a los Compiladores](https://ull-esit-gradoii-pl.github.io/temas/introduccion-a-pl/esprima.html) con Jison y Espree","readmeFilename":"README.md","homepage":"https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887#readme","repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887.git"},"bugs":{"url":"https://github.com/ULL-ESIT-PL-2324/while-aday-cuesta-correa-alu0101483887/issues"}}