{"id":13666976,"url":"https://github.com/zuluoaaa/makeJs","last_synced_at":"2025-04-26T15:32:02.209Z","repository":{"id":49393630,"uuid":"244274516","full_name":"zuluoaaa/makeJs","owner":"zuluoaaa","description":"A sub Javascript interpreter for interpreting itself","archived":false,"fork":false,"pushed_at":"2020-05-13T10:07:20.000Z","size":588,"stargazers_count":342,"open_issues_count":0,"forks_count":31,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-02T07:01:47.075Z","etag":null,"topics":["interpreter","javascript-interpreter","makejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zuluoaaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-02T03:47:54.000Z","updated_at":"2024-06-13T06:07:50.000Z","dependencies_parsed_at":"2022-08-12T20:11:15.164Z","dependency_job_id":null,"html_url":"https://github.com/zuluoaaa/makeJs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuluoaaa%2FmakeJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuluoaaa%2FmakeJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuluoaaa%2FmakeJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuluoaaa%2FmakeJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuluoaaa","download_url":"https://codeload.github.com/zuluoaaa/makeJs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224039040,"owners_count":17245530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","javascript-interpreter","makejs"],"created_at":"2024-08-02T07:00:20.646Z","updated_at":"2024-11-11T02:30:47.766Z","avatar_url":"https://github.com/zuluoaaa.png","language":"JavaScript","readme":"# makeJs\n\nFor leaning how to do a interpreter. \n\nSo I make a sub Javascript interpreter for interpreting itself.\n(No dependence any third-party)\n\n\n# In developing\n\nNow support：\n\n* define variables\n* simple expression\n* compares\n* if statement\n* while loop\n* Function\n* Array\n\n\n![demo.jpg](/demo.gif)\n\n```js\n\nfunction quickSort(list,len) {\n    let a = 0;\n    let b = len-1;\n    let c = list[a];\n    while (a \u003c b){\n        while (list[b]\u003ec \u0026\u0026 a \u003c b){\n            b = b-1;\n        }\n        if(list[b] \u003c c){\n            list[a] = list[b];\n            list[b] = c;\n            b = b-1;\n            c = list[b];\n        }\n         while (list[a] \u003c c \u0026\u0026 a \u003c b){\n            a = a + 1;\n         }\n        if(list[a] \u003e c){\n            list[b] = list[a];\n            list[a] = c;\n            a = a + 1;\n            c = list[a];\n        }\n    }\n    return list;\n}\n\nlet arr = [9,3,2,1,5,-2,6];\nquickSort(arr,7);\n\n```\n\nSee \u003ca href=\"https://github.com/zuluoaaa/makeJs/tree/master/test\"\u003ethe test folder\u003c/a\u003e for more examples\n \n # Future support:\n * Object\n * ...\n \n \n \n","funding_links":[],"categories":["javascript interpreters"],"sub_categories":["old projects"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuluoaaa%2FmakeJs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuluoaaa%2FmakeJs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuluoaaa%2FmakeJs/lists"}