{"id":18471534,"url":"https://github.com/matteopolak/quasi","last_synced_at":"2025-08-19T09:09:17.878Z","repository":{"id":206905897,"uuid":"717856068","full_name":"matteopolak/quasi","owner":"matteopolak","description":"A slightly off-putting interpreted programming language.","archived":false,"fork":false,"pushed_at":"2024-05-11T23:42:08.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T18:46:35.306Z","etag":null,"topics":["programming-language","quasi","rust"],"latest_commit_sha":null,"homepage":"https://matteopolak.com/#quasi","language":"Rust","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/matteopolak.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}},"created_at":"2023-11-12T20:06:21.000Z","updated_at":"2024-05-11T23:42:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"37189202-e782-4256-9e92-64b4a6871608","html_url":"https://github.com/matteopolak/quasi","commit_stats":null,"previous_names":["matteopolak/quasi"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteopolak%2Fquasi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteopolak%2Fquasi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteopolak%2Fquasi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matteopolak%2Fquasi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matteopolak","download_url":"https://codeload.github.com/matteopolak/quasi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253749929,"owners_count":21958222,"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":["programming-language","quasi","rust"],"created_at":"2024-11-06T10:17:14.781Z","updated_at":"2025-05-12T13:45:35.612Z","avatar_url":"https://github.com/matteopolak.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quasi 🔮\n\nQuasi (*/ˈkwāˌzī/*) is an interpreted programming language that's designed to be largely similar to most languages, but with slightly off-putting syntactical differences.\n\n[![Lint status](https://github.com/matteopolak/quasi/workflows/lint/badge.svg)](https://github.com/matteopolak/quasi/actions)\n[![Test status](https://github.com/matteopolak/quasi/workflows/test/badge.svg)](https://github.com/matteopolak/quasi/actions)\n\n## Quick links\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Syntax](#syntax)\n  - [Comments](#comments)\n  - [Variables](#variables)\n  - [Control flow](#control-flow)\n  - [Functions](#functions)\n\n## Installation\n\nThe binary name for Quasi is `quasi`.\n\nCurrently, building from source is the only way to install Quasi:\n\n```bash\n$ git clone https://github.com/matteopolak/quasi\n$ cd quasi\n$ cargo build --release\n$ ./target/release/quasi --version\nquasi 0.1.0\n```\n\n## Usage\n\n```bash\nA slightly off-putting interpreted programming language.\n\nUsage: quasi \u003cPATH\u003e\n\nArguments:\n  \u003cPATH\u003e  Path to the script to execute\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n## Examples\n\nExamples can be found in the [examples](examples) directory.\n\n## Syntax\n\nQuasi is a dynamically typed language and not whitespace sensitive.\n\n### Comments\n\n```py\n# This is a comment\n```\n\n### Variables\n\n```rust\nlet x = 1;\nlet y = 2;\nlet z = x + y;\n```\n\n### Control flow\n\n```rust\nif x == 1 [\n  print \"x is 1\";\n] else if x == 2 [\n  print \"x is 2\";\n] else\n  print \"x is neither 1 nor 2\";\n```\n\n```rust\nwhile x \u003c 10 [\n  print x;\n  x = x + 1;\n]\n```\n\n```rust\nfor let i = 0; i \u003c 10; i = i + 1 [\n  print i;\n]\n```\n\n### Functions\n\n```rust\nfn is_even(a) [\n  return a % 2 == 0;\n]\n\nprint is_even(10); # true\nprint is_even(15); # false\n```\n\n### Shadowing\n\n```rust\nlet x = 1;\nlet x = 2;\n\nprint x; # 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatteopolak%2Fquasi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatteopolak%2Fquasi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatteopolak%2Fquasi/lists"}