
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
pascal-interpreter
Advanced tools
Lightweight interpreter for Pascal written in JavaScript
WIP: Currently processes simple programs according to the grammar defined in CFG.md
This Interpreter was built as a learning exercise following Ruslan Spivak's Let's Build a Simple Interpreter series.
repl.js runs a basic REPL that can take simple programs on a single line, and parse and interpret them.
main.js takes the relative path of the program input file as a command-line argument, and parses and interprets it.
Upon a successful parsing, the constructed AST of the program is printed out, followed by the end contents of the Symbol Table, and the GLOBAL_SCOPE of the interpreter.
Most errors are caught by the lexer and the parser. Feel free to open up an issue if you find some errors that I do not report accurately.
npm install --global pascal-interpreteralias pascaljs="node /path/to/global/node_modules/pascal-interpreter/main.js"alias pascaljs-repl="node /path/to/global/node_modules/pascal-interpreter/repl.js"Note: the path to the global node modules will be printed to the console after running the install
node repl.jshelp.quitOr
node main.js <filename.pas>pascaljs-replpascaljs <filename.pas>FAQs
A lightweight interpreter for Pascal written in JavaScript
The npm package pascal-interpreter receives a total of 12 weekly downloads. As such, pascal-interpreter popularity was classified as not popular.
We found that pascal-interpreter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.