{"id":28243266,"url":"https://github.com/petabyt/corescript-editor-legacy","last_synced_at":"2025-07-31T00:07:53.838Z","repository":{"id":124978684,"uuid":"116447359","full_name":"petabyt/corescript-editor-legacy","owner":"petabyt","description":"The Classic CoreScript Editor and Interpreter","archived":false,"fork":false,"pushed_at":"2020-05-14T21:35:25.000Z","size":448,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-29T08:10:59.531Z","etag":null,"topics":["corescript","javascript","language","programming"],"latest_commit_sha":null,"homepage":"http://danielc.dev/corescript-editor-legacy/","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/petabyt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-01-06T02:41:08.000Z","updated_at":"2025-06-06T19:52:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfaebfb7-a313-4e02-8c33-1299ac844644","html_url":"https://github.com/petabyt/corescript-editor-legacy","commit_stats":null,"previous_names":["petabyt/corescript-editor-legacy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petabyt/corescript-editor-legacy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petabyt%2Fcorescript-editor-legacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petabyt%2Fcorescript-editor-legacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petabyt%2Fcorescript-editor-legacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petabyt%2Fcorescript-editor-legacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petabyt","download_url":"https://codeload.github.com/petabyt/corescript-editor-legacy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petabyt%2Fcorescript-editor-legacy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267962751,"owners_count":24172744,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["corescript","javascript","language","programming"],"created_at":"2025-05-19T06:10:32.294Z","updated_at":"2025-07-31T00:07:53.830Z","avatar_url":"https://github.com/petabyt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Corescript\nThe source code behind the brand new CoreScript. \n\n---\n### Custom Commands\nUse this code to create custom commands. (run it in the console)\n\n    newCommand(\"say \",\"alert('#result#');\");\n\nThe code `say Hello, World` will make a alert box saying that.\n\\#result# will be replaced with the text after `say`.\n\n---\n### New Features\n- Syntax Highlighter\n- Improved variables\n- Better GUI\n\n---\n### Syntax\n**Print**: Print text on the screen. To insert variables, insert them in wrapped around in round brackets.\n\n  \n\n    print Hello, World!\n    print Hello, (name)!\n\n**Note**: Only the coder will see these notes.\n\n   \n\n    // This is a test.\n\n**Variable**: Create a variable and set its value.\n\n  \n\n    var name=John Doe\n\n**Input**: Asks the user for info and stores it in a variable.\n\n  \n\n    input name=What’s your name?\n\n**Clear Screen**: Clears the screen of any text.\n\n  \n\n    cls\n\n**Message**: Creates a browser message box.\n\n  \n\n    msg Hello!\n\n**Set**: Set a variable to a specified value.\n\n  \n\n    set name=Jane Doe\n\n**If**: Checks if a variable equals something. If true, then the program will go to a specific line or label.\n\n  \n\n    if name=Johnny:4\n\n**Goto**: Changes current line Corescript is reading.\n\n  \n\n    goto 3\n\n**Not**: Checks if a variable does not equal something. If true, then the program will go to a specific line.\n\n  \n\n    not name=Johnny:5\n\n**Stop**: Stops the program\n\n  \n\n    stop\n    \n**:**: Define a label, so you can later visit it.\n\n  \n\n    :start\n    \n**Increase/Decrease**: Write a variable, then ++ to increase or -- to decrease it.\n\n  \n\n    var str = 0\n    str++\n    str--\n    \n---\n### Examples\n\n    input choice = Which is better: Microsoft(m) or Apple?(a) \n    if choice = m:m\n    if choice = a:a\n    :m\n    print Good choice!\n    stop\n    :a\n    // :\n    print eh\n    stop\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetabyt%2Fcorescript-editor-legacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetabyt%2Fcorescript-editor-legacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetabyt%2Fcorescript-editor-legacy/lists"}