Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@ghaiklor/iterum
Advanced tools
Yet another attempt to create VM with its own language and intermediate representation
Iterum (latin) means “again, a second time, repeatedly, once more, for the second time, anew,”. This is my another attempt to create a simple, but fully implemented interpreter for a subset of ECMA specification.
NOTE: This is an educational project, and it is not designed for use in production.
For a last few years I was passionate about compilers, languages and similar stuff. And I am still passionate about it.
However, all my knowledge was based on theoretical knowledge and not on a practical one. So, I’ve written an interpreter to fasten it.
iterum itself is implemented on top of these key concepts:
iterum is packed as an npm package, so you can easily run it with npx
:
npx @ghaiklor/iterum --help
Create a file somewhere on your machine with an iterum code:
// hello-world.js
function helloWorld() {
print "Hello, World";
}
helloWorld();
If you want to take a look into AST generated from the file above:
npx @ghaiklor/iterum --print-ast hello-world.js
Otherwise, you can interpret it:
npx @ghaiklor/iterum --interpret hello-world.js
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
You can find rough explanation here.
FAQs
Yet another attempt to create VM with its own language and intermediate representation
The npm package @ghaiklor/iterum receives a total of 9 weekly downloads. As such, @ghaiklor/iterum popularity was classified as not popular.
We found that @ghaiklor/iterum 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.