{"id":13746952,"url":"https://github.com/atom-community/atom-script","last_synced_at":"2025-12-16T20:23:18.718Z","repository":{"id":14593257,"uuid":"17310099","full_name":"atom-community/atom-script","owner":"atom-community","description":":runner: Run ( scripts | selections | source ) in Atom","archived":false,"fork":false,"pushed_at":"2023-10-23T17:55:02.000Z","size":1510,"stargazers_count":733,"open_issues_count":797,"forks_count":265,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-12-15T15:16:50.401Z","etag":null,"topics":["atom","run","script"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/script","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/atom-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-03-01T07:18:08.000Z","updated_at":"2025-07-28T23:14:24.000Z","dependencies_parsed_at":"2022-08-07T08:00:24.011Z","dependency_job_id":"734c74bf-cc30-4951-a765-0b9a98858a53","html_url":"https://github.com/atom-community/atom-script","commit_stats":null,"previous_names":["rgbkrk/atom-script"],"tags_count":151,"template":false,"template_full_name":null,"purl":"pkg:github/atom-community/atom-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fatom-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fatom-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fatom-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fatom-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom-community","download_url":"https://codeload.github.com/atom-community/atom-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom-community%2Fatom-script/sbom","scorecard":{"id":214970,"data":{"date":"2025-08-11","repo":{"name":"github.com/atom-community/atom-script","commit":"a8d3dfc217ff264d2b7eff8ed6eedece18858ba2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/14 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/CI.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/atom-community/atom-script/CI.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/CI.yml:48","Warn: npmCommand not pinned by hash: .github/workflows/CI.yml:69","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: examples/hello:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rmxg-73gg-4p98","Warn: Project is vulnerable to: GHSA-6c3j-c64m-qhgq","Warn: Project is vulnerable to: GHSA-gxr4-xjj5-5px2","Warn: Project is vulnerable to: GHSA-jpcq-cgw6-v4j6","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T01:28:54.895Z","repository_id":14593257,"created_at":"2025-08-17T01:28:54.895Z","updated_at":"2025-08-17T01:28:54.895Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27770750,"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-12-16T02:00:10.477Z","response_time":57,"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":["atom","run","script"],"created_at":"2024-08-03T06:01:07.150Z","updated_at":"2025-12-16T20:23:18.666Z","avatar_url":"https://github.com/atom-community.png","language":"JavaScript","readme":"# Script\n\n[![Build Status](http://img.shields.io/travis/rgbkrk/atom-script.svg?style=flat)](https://travis-ci.org/rgbkrk/atom-script)\n\n**Run code in Atom!**\n\nRun scripts based on file name, a selection of code, or by line number.\n\n![](https://cloud.githubusercontent.com/assets/1694055/3226201/c458acbc-f067-11e3-84a0-da27fe334f5e.gif)\n\nCurrently supported grammars are:\n\n| Grammar                             | File Based | Selection Based | Required Package              | Required in [`PATH`]      | Notes                                                                                                                                                                                                                                                           |\n| :---------------------------------- | :--------- | :-------------- | :---------------------------- | :------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Assembly (NASM)                     | Yes        | Yes             | [language-x86-64-assembly]    | [`nasm`], [`binutils`]    |                                                                                                                                                                                                                                                                 |\n| 1C (BSL)                            | Yes        |                 | [language-1c-bsl]             | [`oscript`]               |                                                                                                                                                                                                                                                                 |\n| [Ansible]                           | Yes        |                 | [language-ansible]            | `ansible-playbook`        |                                                                                                                                                                                                                                                                 |\n| [AutoHotKey]                        | Yes        | Yes             | [language-autohotkey]         | `AutoHotKey.exe`          |                                                                                                                                                                                                                                                                 |\n| [AppleScript]                       | Yes        | Yes             | [language-applescript]        | `osascript`               |                                                                                                                                                                                                                                                                 |\n| [Babel] [ES6] JS                    | Yes        | Yes             | [language-babel]              | `node`                    |                                                                                                                                                                                                                                                                 |\n| Bash                                | Yes        | Yes             |                               |                           | Runs if your `SHELL` or `#!` line is `bash`.                                                                                                                                                                                                                    |\n| [Bats] (Bash Automated Test System) | Yes        | Yes             | [language-bats]               | `bats`                    |                                                                                                                                                                                                                                                                 |\n| Windows [Batch] (`cmd.exe`)         | Yes        |                 | [language-batch]/[file]       |                           |                                                                                                                                                                                                                                                                 |\n| [Behat]                             | Yes        |                 | [behat-atom]                  | `behat`                   |                                                                                                                                                                                                                                                                 |\n| [BuckleScript]                      | Yes        | Yes             | [bs-platform]                 | `bsc`                     |                                                                                                                                                                                                                                                                 |\n| C                                   | Yes        | Yes             |                               | `xcrun clang`/`cc`        | Available only on macOS and Linux.                                                                                                                                                                                                                              |\n| C#                                  | Yes        | Yes             |                               | `csc.exe`                 |                                                                                                                                                                                                                                                                 |\n| [C# Script]                         | Yes        | Yes             |                               | [`scriptcs`]              |                                                                                                                                                                                                                                                                 |\n| C++                                 | Yes        | Yes             |                               | `xcrun clang++`/`g++`     | Available only on macOS and Linux. Run with `-std=c++14`.                                                                                                                                                                                                       |\n| [Clojure]                           | Yes        | Yes             |                               | `lein exec`               | Requires [Leiningen] with the [lein-exec] plugin.                                                                                                                                                                                                               |\n| [CoffeeScript] ([Literate])         | Yes        | Yes             |                               | `coffee`                  |                                                                                                                                                                                                                                                                 |\n| [Crystal]                           | Yes        | Yes             | [language-crystal-actual]     | `crystal`                 |                                                                                                                                                                                                                                                                 |\n| [Cucumber] ([Gherkin])              | Yes        |                 | [language-gherkin]            | `cucumber`                |                                                                                                                                                                                                                                                                 |\n| [D]                                 | Yes        | Yes             | [language-d]                  | `rdmd`                    |                                                                                                                                                                                                                                                                 |\n| [Dart]                              | Yes        | Yes             | [dartlang]                    | `dart`                    |                                                                                                                                                                                                                                                                 |\n| [DOT] ([Graphviz])                  | Yes        | Yes             | [language-dot]                | `dot`                     |                                                                                                                                                                                                                                                                 |\n| [Elixir]                            | Yes        | Yes             | [language-elixir]             | `elixir`                  |                                                                                                                                                                                                                                                                 |\n| [Erlang]                            |            | Yes             | [language-erlang]             | `erl`                     | Limited selection based runs only (see [#70]).                                                                                                                                                                                                                  |\n| [F*]                                | Yes        |                 | [atom-fstar]                  | `fstar`                   |                                                                                                                                                                                                                                                                 |\n| [F#]                                | Yes        |                 | [language-fsharp]             | `fsharpi`/`fsi.exe`       |                                                                                                                                                                                                                                                                 |\n| [Fish]                              | Yes        | Yes             | [language-fish-shell]         | `fish`                    |                                                                                                                                                                                                                                                                 |\n| [Forth]                             | Yes        |                 | [language-forth]              | `gforth`                  |                                                                                                                                                                                                                                                                 |\n| [Fortran]                           | Yes        |                 | [language-fortran]            | [`gfortran`]              |                                                                                                                                                                                                                                                                 |\n| [Gnuplot]                           | Yes        |                 | [language-gnuplot-atom]       | `gnuplot`                 |                                                                                                                                                                                                                                                                 |\n| [Go]                                | Yes        |                 |                               | `go`                      |                                                                                                                                                                                                                                                                 |\n| [Groovy]                            | Yes        | Yes             | [language-groovy]             | `groovy`                  |                                                                                                                                                                                                                                                                 |\n| [Haskell] ([Literate][lit-hskl])    | Yes        | Yes             | [language-haskell]            | `runhaskell`/[`ghc`]      |                                                                                                                                                                                                                                                                 |\n| HTML                                | Yes        |                 |                               |                           | Opens the current HTML file in your default browser.                                                                                                                                                                                                            |\n| [Hy]                                | Yes        | Yes             | [language-hy]                 | `hy.exe`                  |                                                                                                                                                                                                                                                                 |\n| [IcedCoffeeScript]                  | Yes        | Yes             | [language-iced-coffee-script] | `iced`                    |                                                                                                                                                                                                                                                                 |\n| [Inno Setup]                        | Yes        |                 | [language-innosetup]          | `ISCC.exe`                |                                                                                                                                                                                                                                                                 |\n| [Idris]                             | Yes        |                 | [language-idris]              | `idris`                   |                                                                                                                                                                                                                                                                 |\n| [io]                                | Yes        | Yes             | [atom-language-io]            | `io`                      |                                                                                                                                                                                                                                                                 |\n| Java                                | Yes        |                 |                               | `*\\jdk1.x.x_xx\\bin`       | Project directory should be the source directory; subfolders imply packaging.                                                                                                                                                                                   |\n| Javascript                          | Yes        | Yes             |                               | `node`                    |                                                                                                                                                                                                                                                                 |\n| JavaScript for Automation ([JXA])   | Yes        | Yes             | [language-javascript-jxa]     | `osascript -l JavaScript` | Available on macOS only.                                                                                                                                                                                                                                        |\n| [Jolie]                             | Yes        |                 | [language-jolie]              | `jolie`                   |                                                                                                                                                                                                                                                                 |\n| [Julia]                             | Yes        | Yes             | [language-julia]              | `julia`                   |                                                                                                                                                                                                                                                                 |\n| [Kotlin]                            | Yes        | Yes             | [language-kotlin]             | `kotlinc`                 |                                                                                                                                                                                                                                                                 |\n| [LAMMPS]                            | Yes        |                 | [language-lammps]             | `lammps`                  | Available only on macOS and Linux.                                                                                                                                                                                                                              |\n| [LaTeX]                             | Yes        |                 | [language-latex]              | [`latexmk`]               |                                                                                                                                                                                                                                                                 |\n| [LilyPond]                          | Yes        |                 | [atlilypond]                  | `lilypond`                |                                                                                                                                                                                                                                                                 |\n| [Lisp]                              | Yes        | Yes             | [language-lisp]               | [`sbcl`]                  | Selection based runs are limited to a single line.                                                                                                                                                                                                              |\n| [LiveScript]                        | Yes        | Yes             | [language-livescript]         | `lsc`                     |                                                                                                                                                                                                                                                                 |\n| [Lua]                               | Yes        | Yes             | [language-lua]\\[[-wow]\\]      | `lua`                     |                                                                                                                                                                                                                                                                 |\n| [Make]file                          | Yes        | Yes             |                               |                           |                                                                                                                                                                                                                                                                 |\n| [MATLAB]                            | Yes        | Yes             | [language-matlab]             | `matlab`                  |                                                                                                                                                                                                                                                                 |\n| [MIPS]                              | Yes        |                 | [language-mips]               | [`spim`]                  |                                                                                                                                                                                                                                                                 |\n| [MongoDB]                           | Yes        | Yes             | [language-mongodb]            | `mongo`                   |                                                                                                                                                                                                                                                                 |\n| [MoonScript]                        | Yes        | Yes             | [language-moonscript]         | `moon`                    |                                                                                                                                                                                                                                                                 |\n| [NCL]                               | Yes        | Yes             | [language-ncl]                | `ncl`                     | Scripts must end with an `exit` command for file based runs.                                                                                                                                                                                                    |\n| [newLISP]                           | Yes        | Yes             | [language-newlisp]            | `newlisp`                 |                                                                                                                                                                                                                                                                 |\n| [Nim]\\[[Script][nimscript]\\]        | Yes        |                 | [language-nim]                | `nim`                     |                                                                                                                                                                                                                                                                 |\n| [NSIS]                              | Yes        | Yes             | [language-nsis]               | `makensis`                |                                                                                                                                                                                                                                                                 |\n| Objective-C[++]                     | Yes        |                 |                               | `xcrun clang`[`++`]       | Available on macOS only.                                                                                                                                                                                                                                        |\n| [OCaml]                             | Yes        |                 | [language-ocaml]              | `ocaml`                   |                                                                                                                                                                                                                                                                 |\n| [Octave]                            | Yes        | Yes             | [language-matlab]             | `octave`                  |                                                                                                                                                                                                                                                                 |\n| [Oz]                                | Yes        | Yes             | [language-oz]                 | `ozc`                     |                                                                                                                                                                                                                                                                 |\n| [Pandoc] Markdown                   | Yes        |                 | [language-pfm]                | [`panzer`]                |                                                                                                                                                                                                                                                                 |\n| [Pascal]                            | Yes        | Yes             | [language-pascal]             | `fpc`                     |                                                                                                                                                                                                                                                                 |\n| [Perl]                              | Yes        | Yes             |                               |                           |                                                                                                                                                                                                                                                                 |\n| PHP                                 | Yes        | Yes             |                               |                           |                                                                                                                                                                                                                                                                 |\n| [PostgreSQL]                        | Yes        | Yes             | [language-pgsql]              | [`psql`]                  | Connects as user `PGUSER` to database `PGDATABASE`. Both default to your operating system's `USERNAME`, but can be set in the process environment or in Atom's [`init` file]: `process.env.PGUSER = {user name}` and `process.env.PGDATABASE = {database name}` |\n| [POV-Ray]                           | Yes        |                 | [atom-language-povray]        | `povengine`/`povray`      |                                                                                                                                                                                                                                                                 |\n| [PowerShell]                        | Yes        | Yes             | [language-powershell]         | `powershell`              |                                                                                                                                                                                                                                                                 |\n| [Processing]                        | Yes        |                 | [processing-language]         | `processing-java`         |                                                                                                                                                                                                                                                                 |\n| [Prolog]                            | Yes        |                 | [language-prolog]             | `swipl`                   | Scripts must contain a rule with the head `main` (e.g.`main:- parent(X,lucas),writeln(X).`). The script is executed with the goal `main` and exits after the first result is found. The output is produced by the `writeln/1` predicates.                       |\n| [PureScript]                        | Yes        |                 | [language-purescript]         | `pulp`                    |                                                                                                                                                                                                                                                                 |\n| Python                              | Yes        | Yes             |                               |                           |                                                                                                                                                                                                                                                                 |\n| [R]                                 | Yes        | Yes             | [language-r]                  | `Rscript`                 |                                                                                                                                                                                                                                                                 |\n| [Racket]                            | Yes        | Yes             | [language-racket]             | `racket`                  |                                                                                                                                                                                                                                                                 |\n| [Raku]                              | Yes        | Yes             |                               | `raku`                    |                                                                                                                                                                                                                                                                 |\n| [Reason]                            | Yes        | Yes             | [language-reason]             | `rebuild`                 |                                                                                                                                                                                                                                                                 |\n| [Ren'Py]                            | Yes        | No              | [language-renpy]              | `renpy`                   | Runs your project at the root of the current file.                                                                                                                                                                                                              |\n| [Robot Framework]                   | Yes        | No              | [language-robot-framework]    | `robot`                   | The output location depends on the `CWD` behaviour which can be altered in settings.                                                                                                                                                                            |\n| [RSpec]                             | Yes        | Yes             | [language-rspec]              | `rspec`                   |                                                                                                                                                                                                                                                                 |\n| Ruby                                | Yes        | Yes             |                               |                           |                                                                                                                                                                                                                                                                 |\n| Ruby on [Rails]                     | Yes        | Yes             |                               |                           |                                                                                                                                                                                                                                                                 |\n| [Rust]                              | Yes        |                 | [language-rust]               | `rustc`                   |                                                                                                                                                                                                                                                                 |\n| [Sage]                              | Yes        | Yes             | [language-sage]               | `sage`                    |                                                                                                                                                                                                                                                                 |\n| [Sass]/SCSS                         | Yes        |                 |                               | `sass`                    |                                                                                                                                                                                                                                                                 |\n| [Scala]                             | Yes        | Yes             | [language-scala]              | `scala`                   |                                                                                                                                                                                                                                                                 |\n| [Scheme]                            | Yes        | Yes             | [langauge-scheme]             | [`guile`]                 |                                                                                                                                                                                                                                                                 |\n| Shell Script                        | Yes        | Yes             |                               | `SHELL`                   | Runs according to your default `SHELL`, or `#!` line.                                                                                                                                                                                                           |\n| [Standard ML]                       | Yes        |                 | [language-sml]                | `sml`                     |                                                                                                                                                                                                                                                                 |\n| [Stata]                             | Yes        | Yes             | [language-stata]              | `stata`                   |                                                                                                                                                                                                                                                                 |\n| [Swift]                             | Yes        |                 | [language-swift]              | `swift`                   |                                                                                                                                                                                                                                                                 |\n| [Tcl]                               | Yes        | Yes             | [language-tcltk]              | `tclsh`                   |                                                                                                                                                                                                                                                                 |\n| [TypeScript]                        | Yes        | Yes             |                               | [`ts-node`]               |                                                                                                                                                                                                                                                                 |\n| [VBScript]                          | Yes        | Yes             | [language-vbscript]           | `cscript`                 |                                                                                                                                                                                                                                                                 |\n| [Zsh]                               | Yes        | Yes             |                               |                           | Runs if your `SHELL` or `#!` line is `zsh`.                                                                                                                                                                                                                     |\n\n[-wow]: https://atom.io/packages/language-lua-wow\n[#70]: https://github.com/atom-ide-community/atom-script/pull/70\n[`binutils`]: https://www.gnu.org/software/binutils/\n[`gfortran`]: https://gcc.gnu.org/wiki/GFortran\n[`ghc`]: https://haskell.org/ghc\n[`guile`]: https://gnu.org/software/guile\n[`init` file]: http://flight-manual.atom.io/hacking-atom/sections/the-init-file\n[`latexmk`]: https://ctan.org/pkg/latexmk\n[`nasm`]: https://nasm.us/\n[`oscript`]: http://oscript.io\n[`panzer`]: https://github.com/msprev/panzer#readme\n[`path`]: https://en.wikipedia.org/wiki/PATH_(variable)\n[`psql`]: https://postgresql.org/docs/current/static/app-psql.html\n[`pulp`]: https://github.com/purescript-contrib/pulp#readme\n[`sbcl`]: http://sbcl.org\n[`scriptcs`]: http://scriptcs.net\n[`spim`]: http://spimsimulator.sourceforge.net\n[`ts-node`]: https://github.com/TypeStrong/ts-node#readme\n[ansible]: https://ansible.com\n[applescript]: https://developer.apple.com/library/content/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/ScriptingOnOSX.html#//apple_ref/doc/uid/20000032-BABEBGCF\n[atlilypond]: https://atom.io/packages/atlilypond\n[atom-fstar]: https://github.com/FStarLang/atom-fstar#readme\n[atom-language-io]: https://atom.io/packages/atom-language-io\n[atom-language-povray]: https://atom.io/packages/atom-language-povray\n[autohotkey]: https://autohotkey.com\n[babel]: https://babeljs.io\n[batch]: https://ss64.com/nt\n[bats]: https://github.com/sstephenson/bats#bats-bash-automated-testing-system#readme\n[behat-atom]: https://atom.io/packages/behat-atom\n[behat]: http://docs.behat.org/en/v2.5/guides/6.cli.html\n[bs-platform]: https://npm.im/package/bs-platform\n[bucklescript]: https://bucklescript.github.io/bucklescript\n[c# script]: http://csscript.net\n[clojure]: https://clojure.org\n[coffeescript]: http://coffeescript.org\n[crystal]: https://crystal-lang.org\n[cucumber]: https://cucumber.io\n[d]: https://dlang.org\n[dart]: https://dartlang.org\n[dartlang]: https://atom.io/packages/dartlang\n[dot]: http://graphviz.org/content/dot-language\n[elixir]: https://elixir-lang.org\n[erlang]: https://erlang.org\n[es6]: https://babeljs.io/learn-es2015\n[f*]: https://fstar-lang.org\n[f#]: http://fsharp.org\n[file]: https://atom.io/packages/language-batchfile\n[fish]: https://fishshell.com\n[forth]: https://gnu.org/software/gforth\n[fortran]: http://fortranwiki.org/fortran/show/Fortran\n[gherkin]: https://cucumber.io/docs/reference#gherkin\n[gnuplot]: http://gnuplot.info\n[go]: https://golang.org\n[graphviz]: http://graphviz.org\n[groovy]: http://groovy-lang.org\n[haskell]: https://haskell.org\n[hy]: http://hylang.org\n[icedcoffeescript]: http://maxtaco.github.io/coffee-script\n[idris]: https://idris-lang.org\n[inno setup]: http://jrsoftware.org/isinfo.php\n[io]: http://iolanguage.org\n[jolie]: http://jolie-lang.org\n[julia]: https://julialang.org\n[jxa]: https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html\n[kotlin]: https://kotlinlang.org\n[lammps]: http://lammps.sandia.gov\n[langauge-scheme]: https://atom.io/packages/language-scheme\n[language-1c-bsl]: https://atom.io/packages/language-1c-bsl\n[language-ansible]: https://atom.io/packages/language-ansible\n[language-applescript]: https://atom.io/packages/language-applescript\n[language-autohotkey]: https://atom.io/packages/language-autohotkey\n[language-babel]: https://atom.io/packages/language-babel\n[language-batch]: https://atom.io/packages/language-batch\n[language-bats]: https://atom.io/packages/language-bats\n[language-crystal-actual]: https://atom.io/packages/language-crystal-actual\n[language-d]: https://atom.io/packages/language-d\n[language-dot]: https://atom.io/packages/language-dot\n[language-elixir]: https://atom.io/packages/language-elixir\n[language-erlang]: https://atom.io/packages/language-erlang\n[language-fish-shell]: https://atom.io/packages/language-fish-shell\n[language-forth]: https://atom.io/packages/language-forth\n[language-fortran]: https://atom.io/packages/language-fortran\n[language-fsharp]: https://atom.io/packages/language-fsharp\n[language-gherkin]: https://atom.io/packages/language-gherkin\n[language-gnuplot-atom]: https://atom.io/packages/language-gnuplot-atom\n[language-groovy]: https://atom.io/packages/language-groovy\n[language-haskell]: https://atom.io/packages/language-haskell\n[language-hy]: https://atom.io/packages/language-hy\n[language-iced-coffee-script]: https://atom.io/packages/language-iced-coffee-script\n[language-idris]: https://atom.io/packages/language-idris\n[language-innosetup]: https://atom.io/packages/language-innosetup\n[language-javascript-jxa]: https://atom.io/packages/language-javascript-jxa\n[language-jolie]: https://atom.io/packages/language-jolie\n[language-julia]: https://atom.io/packages/language-julia\n[language-kotlin]: https://atom.io/packages/language-kotlin\n[language-lammps]: https://atom.io/packages/language-lammps\n[language-latex]: https://atom.io/packages/language-latex\n[language-lisp]: https://atom.io/packages/language-lisp\n[language-livescript]: https://atom.io/packages/language-livescript\n[language-lua]: https://atom.io/packages/language-lua\n[language-matlab]: https://atom.io/packages/language-matlab\n[language-mips]: https://atom.io/packages/language-mips\n[language-mongodb]: https://atom.io/packages/language-mongodb\n[language-moonscript]: https://atom.io/packages/language-moonscript\n[language-ncl]: https://atom.io/packages/language-ncl\n[language-newlisp]: https://atom.io/packages/language-newlisp\n[language-nim]: https://atom.io/packages/language-nim\n[language-nsis]: https://atom.io/packages/language-nsis\n[language-ocaml]: https://atom.io/packages/language-ocaml\n[language-oz]: https://atom.io/packages/language-oz\n[language-pascal]: https://atom.io/packages/language-pascal\n[language-pfm]: https://atom.io/packages/language-pfm\n[language-pgsql]: https://atom.io/packages/language-pgsql\n[language-powershell]: https://atom.io/packages/language-powershell\n[language-prolog]: https://atom.io/packages/language-prolog\n[language-purescript]: https://atom.io/packages/language-purescript\n[language-r]: https://atom.io/packages/language-r\n[language-racket]: https://atom.io/packages/language-racket\n[language-reason]: https://atom.io/packages/language-reason\n[language-renpy]: https://atom.io/packages/language-renpy\n[language-robot-framework]: https://atom.io/packages/language-robot-framework\n[language-rspec]: https://atom.io/packages/language-rspec\n[language-rust]: https://atom.io/packages/language-rust\n[language-sage]: https://atom.io/packages/language-sage\n[language-scala]: https://atom.io/packages/language-scala\n[language-sml]: https://atom.io/packages/language-sml\n[language-stata]: https://atom.io/packages/language-stata\n[language-swift]: https://atom.io/packages/language-swift\n[language-tcltk]: https://atom.io/packages/language-tcltk\n[language-vbscript]: https://atom.io/packages/language-vbscript\n[language-x86-64-assembly]: https://atom.io/packages/language-x86-64-assembly\n[latex]: https://latex-project.org\n[lein-exec]: https://github.com/kumarshantanu/lein-exec#readme\n[leiningen]: https://leiningen.org\n[lilypond]: http://lilypond.org\n[lisp]: http://lisp-lang.org\n[lit-hskl]: https://wiki.haskell.org/Literate_programming#Haskell_and_literate_programming\n[literate]: http://coffeescript.org/#literate\n[livescript]: http://livescript.net\n[lua]: https://lua.org\n[make]: https://gnu.org/software/make/manual/make\n[matlab]: https://mathworks.com/products/matlab\n[mips]: https://imgtec.com/mips\n[mongodb]: https://mongodb.com\n[moonscript]: https://moonscript.org\n[ncl]: https://ncl.ucar.edu\n[newlisp]: http://newlisp.org\n[nim]: https://nim-lang.org\n[nimscript]: https://nim-lang.org/0.11.3/nims.html\n[nsis]: http://nsis.sourceforge.net\n[ocaml]: https://ocaml.org\n[octave]: https://gnu.org/software/octave\n[oz]: https://mozart.github.io\n[pandoc]: https://pandoc.org\n[raku]: https://raku.org\n[pascal]: https://freepascal.org\n[perl]: https://www.perl.org/\n[postgresql]: https://postgresql.org\n[pov-ray]: http://www.povray.org/\n[powershell]: https://docs.microsoft.com/powershell\n[processing-language]: https://atom.io/packages/processing-language\n[processing]: https://processing.org\n[prolog]: http://swi-prolog.org\n[purescript]: http://purescript.org\n[r]: https://r-project.org\n[racket]: https://racket-lang.org\n[rails]: http://rubyonrails.org\n[reason]: https://reasonml.github.io\n[ren'py]: https://renpy.org\n[robot framework]: http://robotframework.org\n[rspec]: http://rspec.info\n[rust]: https://rust-lang.org\n[sage]: https://sagemath.org\n[sass]: http://sass-lang.com\n[scala]: https://scala-lang.org\n[scheme]: http://scheme-reports.org\n[standard ml]: http://sml-family.org\n[stata]: https://stata.com\n[swift]: https://swift.org\n[tcl]: https://tcl.tk\n[typescript]: https://typescriptlang.org\n[vbscript]: https://msdn.microsoft.com/library/t0aew7h6.aspx\n[zsh]: http://zsh.org\n\n**NOTE**: Some grammars may require you to install [a custom language package](https://atom.io/search?utf8=✓\u0026q=language).\n\nYou only have to add a few lines in a PR to support another.\n\n## Installation\n\n`apm install script`\n\nor\n\nSearch for `script` within package search in the Settings View.\n\n## Atom can't find node | ruby | python | my socks\n\nMake sure to launch Atom from the console/terminal. This gives atom all your useful environment variables. Additionally, make sure to run it with the project path you need. For example, use\n\n```\natom .\n```\n\nto get it to run with the _current_ directory as the default place to run scripts from.\n\nIf you _really_ wish to open atom from a launcher/icon, see [this issue for a variety of workarounds that have been suggested](https://github.com/atom-ide-community/atom-script/issues/61#issuecomment-37337827).\n\n## Usage\n\nMake sure to run `atom` from the command line to get full access to your environment variables. On macOS, running Atom from the icon will launch using launchctl's environment.\n\n**Script: Run** will perform a \"File Based\" run when no text is selected (default).\n\n**Script: Run** while text is selected will perform a \"Selection Based\" run executing just the highlighted code.\n\n**Script: Run by Line Number** to run using the specified line number. **Note** that if you select an entire line this number could be off by one due to the way Atom detects numbers while text is selected.\n\n**Script: Run Options** should be used to configure command options, program arguments, and environment variables overrides. Environment variables may be input into the options view in the form `VARIABLE_NAME_ONE=value;VARIABLE_NAME_TWO=\"other value\";VARIABLE_NAME_3='test'`.\n\nAlso, in this dialog you can save options as a profile for future use. For example, you can add two profiles, one for `python2.7` and another for `python3` and run scripts with a specified profile, which will be more convinient than entering options every time you want to switch python versions.\n\n**Change Default Language** by opening Atom Settings as follows: `Atom→Preferences→Open Config Folder`. Then, you can use the tree-view to navigate to and open `packages→script→lib→grammar→python.js` to make your edits. It is also possible to directly edit the code under `.atom/packages/script/lib/grammars/python.js`\n\n**Script: Run With Profile** allows you to run scripts with saved profiles. Profiles can be added in **Script: Run Options** dialog.\n\n**Script: Kill Process** will kill the process but leaves the pane open.\n\n**Script: Close View** closes the pane and kills the process.\n\nTo kill everything, click the close icon in the upper right and just go back to\ncoding.\n\n**Script: Copy Run Results** copies everything written to the output pane to the\nclipboard, allowing you to paste it into the editor.\n\n### Command and shortcut reference\n\n| Command                    | macOS                               | Linux/Windows               | Notes                                                                         |\n| :------------------------- | :---------------------------------- | :-------------------------- | :---------------------------------------------------------------------------- |\n| Script: Run                | \u003ckbd\u003ecmd-i\u003c/kbd\u003e                    | \u003ckbd\u003eshift-ctrl-b\u003c/kbd\u003e     | If text is selected a \"Selection Based\" is used instead of a \"File Based\" run |\n| Script: Run by Line Number | \u003ckbd\u003eshift-cmd-j\u003c/kbd\u003e              | \u003ckbd\u003eshift-ctrl-j\u003c/kbd\u003e     | If text is selected the line number will be the last                          |\n| Script: Run Options        | \u003ckbd\u003eshift-cmd-i\u003c/kbd\u003e              | \u003ckbd\u003eshift-ctrl-alt-o\u003c/kbd\u003e | Runs the selection or whole file with the given options                       |\n| Script: Run with profile   | \u003ckbd\u003eshift-cmd-k\u003c/kbd\u003e              | \u003ckbd\u003eshift-ctrl-alt-b\u003c/kbd\u003e | Runs the selection or whole file with the specified profile                   |\n| Script: Close View         | \u003ckbd\u003eesc\u003c/kbd\u003e or \u003ckbd\u003ectrl-w\u003c/kbd\u003e | \u003ckbd\u003eesc\u003c/kbd\u003e              | Closes the script view window                                                 |\n| Script: Kill Process       | \u003ckbd\u003ectrl-c\u003c/kbd\u003e                   | \u003ckbd\u003ectrl-q\u003c/kbd\u003e           | Kills the current script process                                              |\n\n### Replacements\n\nThe following parameters will be replaced in any entry in `args` (command and program arguments). They should all be enclosed in curly brackets `{}`\n\n- `{FILE_ACTIVE}` - Full path to the currently active file in Atom. E.g. `/home/rgbkrk/atom-script/lib/script.coffee`\n- `{FILE_ACTIVE_PATH}` - Full path to the folder where the currently active file is. E.g. `/home/rgbkrk/atom-script/lib`\n- `{FILE_ACTIVE_NAME}` - Full name and extension of active file. E.g., `script.coffee`\n- `{FILE_ACTIVE_NAME_BASE}` - Name of active file WITHOUT extension. E.g., `script`\n- `{PROJECT_PATH}` - Full path to the root of the project. This is normally the path Atom has as root. E.g `/home/rgbkrk/atom-script`\n\nParameters are compatible with `atom-build` package.\n\n## Development\n\nThis is an [Open Open Source Project](http://openopensource.org/), which means:\n\n\u003e Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit.\n\nAs for coding and contributing, rely on the atom [contributing guidelines](https://flight-manual.atom.io/hacking-atom/sections/contributing-to-official-atom-packages/).\nThey're pretty solid.\n\n#### Quick and dirty setup\n\n`apm develop script`\n\nThis will clone the `script` repository to `~/github` unless you set the\n`ATOM_REPOS_HOME` environment variable.\n\n#### I already cloned it!\n\nIf you cloned it somewhere else, you'll want to use `apm link --dev` within the\npackage directory, followed by `apm install` to get dependencies.\n\n### Workflow\n\nAfter pulling upstream changes, make sure to run `apm update`.\n\nTo start hacking, make sure to run `atom --dev` from the package directory.\nCut a branch while you're working then either submit a Pull Request when done\nor when you want some feedback!\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom-community%2Fatom-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom-community%2Fatom-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom-community%2Fatom-script/lists"}