{"id":20109545,"url":"https://github.com/agentcooper/notjs","last_synced_at":"2026-05-12T10:31:58.421Z","repository":{"id":141124664,"uuid":"255346207","full_name":"agentcooper/notjs","owner":"agentcooper","description":"Naive attempt at a JavaScript interpreter","archived":false,"fork":false,"pushed_at":"2020-05-02T21:49:22.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-02T18:29:04.716Z","etag":null,"topics":["interpreter"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agentcooper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-13T14:10:59.000Z","updated_at":"2022-06-06T21:36:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6295120-decd-4b97-b59f-2e6aabff8ca4","html_url":"https://github.com/agentcooper/notjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agentcooper/notjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnotjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnotjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnotjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnotjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentcooper","download_url":"https://codeload.github.com/agentcooper/notjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnotjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32934463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["interpreter"],"created_at":"2024-11-13T18:08:48.171Z","updated_at":"2026-05-12T10:31:58.405Z","avatar_url":"https://github.com/agentcooper.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NotJS\n\nVery naive attempt to do a JS engine in C++17. Doing this for learning purposes.\n\n## To-Do\n\n1. [x] Passing parameters to a function\n2. [x] Recursion\n3. [x] Booleans, comparision operators\n4. [x] Ternary expression\n5. [x] Let\n6. [x] Closures\n7. [ ] Parser\n8. [ ] Explore JIT and inline caching techniques\n\n## Notes\n\n- I'm intentionally keeping everything in one file for now.\n- For naming and AST structure I'm referring to the [TypeScript AST](https://ts-ast-viewer.com/).\n\n## Compile and run\n\n```\ng++ -std=c++17 -O3 -Wall -I ./notjs ./notjs/main.cpp \u0026\u0026 time ./a.out\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentcooper%2Fnotjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentcooper%2Fnotjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentcooper%2Fnotjs/lists"}