{"id":19237177,"url":"https://github.com/moddable-opensource/moddable-xst","last_synced_at":"2025-02-23T13:50:17.145Z","repository":{"id":83324907,"uuid":"123564659","full_name":"Moddable-OpenSource/moddable-xst","owner":"Moddable-OpenSource","description":"Moddable XS Test Engine","archived":false,"fork":false,"pushed_at":"2022-06-16T09:35:20.000Z","size":2,"stargazers_count":11,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-05T01:41:52.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/Moddable-OpenSource.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":"2018-03-02T10:17:25.000Z","updated_at":"2024-02-07T20:03:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6bfbab64-6e51-4803-a125-a929339704f5","html_url":"https://github.com/Moddable-OpenSource/moddable-xst","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fmoddable-xst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fmoddable-xst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fmoddable-xst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moddable-OpenSource%2Fmoddable-xst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moddable-OpenSource","download_url":"https://codeload.github.com/Moddable-OpenSource/moddable-xst/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240324060,"owners_count":19783453,"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":[],"created_at":"2024-11-09T16:25:11.336Z","updated_at":"2025-02-23T13:50:17.124Z","avatar_url":"https://github.com/Moddable-OpenSource.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moddable XS Test Engine\n\n**XS** is the JavaScript engine at the center of the [Moddable SDK](https://github.com/Moddable-OpenSource/moddable).\n\nPlease visit [Moddable](http://www.moddable.com) to get the source code, documentation and licence of **XS**\n\nThis repository only releases **xst**, a JavaScript engine to test **XS** on Linux, macOS and Windows and **xsbug**, the **XS** debugger.\n\nYou can use the [jsvu CLI](https://github.com/GoogleChromeLabs/jsvu) to install or update  **xst** from this repostiory.  \n\n## Usage\n\n\txst [-h] [-e] [-m] [-s] [-t] [-v] strings...\n\t\r- `-h`: print this help message\r- `-e`: eval strings\r- `-m`: strings are paths to modules\r- `-s`: strings are paths to scripts\r- `-t`: strings are paths to test262 cases or directories\r- `-v`: print XS version\n\t\rwithout `-e`, `-m`, `-s`, or `-t`:\n\n- if `../harness` exists, strings are paths to test262 cases or directories \n- else if the extension is `.mjs`, strings are paths to modules\r- else strings are paths to scripts\n\n### eshost\n\nTo test XS with **eshost**, install the [eshost CLI](https://github.com/bterlson/eshost-cli). Then add XS to the hosts:\n\n\teshost --add 'XS' xs ~/.jsvu/xst\n\n**eshost** uses the `-s` option of **xst**.\n\n### test262\n\nTo test XS with **test262**, clone [test262](https://github.com/tc39/test262) and change the directory to the `test` directory inside the `test262` directory. For instance:\n\t\n\tcd ~/test262/test\n\txst language/block-scope\n\txst built-ins/TypedArrays/buffer-arg-*\n\nSee [XS Conformance](https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/xs/XS%20Conformance.md) for details about how **XS** currently passes **test262** cases.\n\nRunning **xsbug** while passing a bunch of **test262** cases can be cumbersome. Just quit **xsbug** or at least uncheck Break - On Exceptions in the preferences.\n\n## xsbug\n\nSee the [xsbug documentation](https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/xs/xsbug.md) in the **Moddable SDK**. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoddable-opensource%2Fmoddable-xst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoddable-opensource%2Fmoddable-xst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoddable-opensource%2Fmoddable-xst/lists"}