{"id":17079084,"url":"https://github.com/curlpipe/psi","last_synced_at":"2025-07-13T20:36:32.439Z","repository":{"id":62443042,"uuid":"332886068","full_name":"curlpipe/psi","owner":"curlpipe","description":"Ψ A minimal, sensible, scripting language for configuring, extending and controlling your application","archived":false,"fork":false,"pushed_at":"2021-03-06T14:49:12.000Z","size":153,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"bytecode","last_synced_at":"2025-03-26T14:51:05.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curlpipe.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":"2021-01-25T21:17:10.000Z","updated_at":"2024-11-19T15:05:58.000Z","dependencies_parsed_at":"2022-11-01T22:02:45.785Z","dependency_job_id":null,"html_url":"https://github.com/curlpipe/psi","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/curlpipe%2Fpsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fpsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fpsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fpsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curlpipe","download_url":"https://codeload.github.com/curlpipe/psi/tar.gz/refs/heads/bytecode","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631117,"owners_count":21136547,"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-10-14T12:24:33.617Z","updated_at":"2025-04-12T20:34:42.958Z","avatar_url":"https://github.com/curlpipe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/curlpipe/psi\"\u003e\n    \u003ch1 align=\"center\"\u003eΨ\u003c/h1\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003ePSI\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n     A minimal, sensible, scripting language for configuring, extending and controlling your application \n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/curlpipe/psi\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/curlpipe/psi\"\u003eView Examples\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/curlpipe/psi/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/curlpipe/psi/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003e\u003ch2 style=\"display: inline-block\"\u003eTable of Contents\u003c/h2\u003e\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\nPSI is a scripting language with the following aims:\n\n- Be fast enough to be embedded with little slowdown\n- Simple enough to use, but powerful enough to be practical\n- Potentially be used as a general purpose scripting language\n- Can be learnt in under 1 hour with prior experience.\n\n### Built With\n\n* [Rust](https://rust-lang.org) (Fast language to implement PSI in)\n* [Lliw](https://github.com/curlpipe/lliw) (Provides colours and styles on the terminal)\n* [Thiserror](https://github.com/dtolnay/thiserror) (Allows for easy custom error creation)\n* [Unicode-rs](https://unicode-rs.github.io/) (For use to ensure unicode is supported)\n* [Crafting Interpreters](https://craftinginterpreters.com) (Where I learnt to build it)\n\n## Installation\n\u003c!--\n### Binary\n1. Install `curl` in your distro\n2. Run the command\n   \n   ```sh\n   curl -o /usr/bin/psi https://github.com/curlpipe/psi/release/...\n   ```\n3. You now have the `psi` executable ready to go\n--\u003e\n\n### Source (Directly from Cargo)\n1. Ensure you have an up-to-date Rust compiler toolchain (https://rust-lang.org)\n2. Build from source (use a nightly compiler for potential performance improvements)\n   \n   ```sh\n   cargo install psi-lang\n   ```\n\n### Source (Manually)\n1. Ensure you have an up-to-date Rust compiler toolchain (https://rust-lang.org)\n2. Clone the repo and enter the directory\n   \n   ```sh\n   git clone https://github.com/curlpipe/psi.git\n   cd psi/compiler\n   ```\n3. Build from source (use a nightly compiler for potential performance improvements)\n   \n   ```sh\n   cargo build --release\n   ```\n4. Add the executable\n\n   ```sh\n   mv target/release/psi_compiler /usr/bin/psi\n   ```\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\nYou can find a cheatsheet for the language over [here](https://docs.rs/psi-lang)\n\nYou can also use the `--learn` or `-l` flag for an interactive learning environment to get yourself up to scratch on the langauge very quickly.\n\nHere is the usage for the command line application itself:\n\n- `psi -h` - Show help message\n- `psi -r` - Access a REPL for trying out the language (a great environment to get to know it)\n- `psi example.psi` - Run code from a file\n- `psi example.psi -v` - Run code from a file (and show the internal workings of PSI)\n- `psi -rv` or `psi -r -v` - Combine the repl and verbose argument to interactively show the internal workings\n- `psi -l` - Access an interactive learning environment to learn the language quickly\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the GPLv2 License. See `LICENSE` for more information.\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nProject Link: [https://github.com/curlpipe/psi](https://github.com/curlpipe/psi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurlpipe%2Fpsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurlpipe%2Fpsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurlpipe%2Fpsi/lists"}