{"id":16649907,"url":"https://github.com/brian-ed/rayed-bqn","last_synced_at":"2026-03-27T04:50:17.861Z","repository":{"id":143563457,"uuid":"614096975","full_name":"Brian-ED/rayed-bqn","owner":"Brian-ED","description":"Raylib with a bit of bacon spice!","archived":false,"fork":false,"pushed_at":"2025-02-27T15:27:57.000Z","size":7105,"stargazers_count":40,"open_issues_count":8,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-09T01:51:34.693Z","etag":null,"topics":["bqn","raylib"],"latest_commit_sha":null,"homepage":"","language":"BQN","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/Brian-ED.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":"2023-03-14T22:12:04.000Z","updated_at":"2025-03-04T14:45:26.000Z","dependencies_parsed_at":"2023-10-14T16:34:01.040Z","dependency_job_id":"82ace7f4-fbba-45d8-a21c-604be585cfe5","html_url":"https://github.com/Brian-ED/rayed-bqn","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/Brian-ED%2Frayed-bqn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-ED%2Frayed-bqn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-ED%2Frayed-bqn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brian-ED%2Frayed-bqn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brian-ED","download_url":"https://codeload.github.com/Brian-ED/rayed-bqn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243224427,"owners_count":20256697,"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":["bqn","raylib"],"created_at":"2024-10-12T09:14:06.866Z","updated_at":"2025-12-28T05:07:10.922Z","avatar_url":"https://github.com/Brian-ED.png","language":"BQN","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rayed BQN\nRayed BQN is a library made to write cross-platform applications using the [BQN programming language](https://mlochbaum.github.io/BQN/).\nIt inter-ops with [raylib](https://github.com/raysan5/raylib) via [FFI](https://mlochbaum.github.io/BQN/spec/system.html#foreign-function-interface-ffi), but changes a lot of raylib's functions to be more in-lined with BQN's syntax.\n\nBreaking changes to any feature in rayed.bqn should be expected for now, as this library is very young and experimental.\n`imports/raylib-bqn/raylib.bqn` from [raylib-bqn](https://github.com/Brian-ED/raylib-bqn) contains the bindings to raylib. Because of [c-header-to-bqn-ffi](https://github.com/Brian-ED/c-header-to-bqn-ffi) for parsing `raylib.h`, the binding is made automatically.\n\n# Getting started\nRayed-bqn works on Windows, Linux and MacOS.\nMake sure you've installed [git](https://git-scm.com/downloads) and CBQN on [Windows](https://github.com/vylsaz/cbqn-win-docker-build/releases), [Linux](https://github.com/dzaima/CBQN) or [MacOS](https://github.com/dzaima/CBQN). Rayed-bqn works with CBQN version 0.7.0, and hopefully \u003e0.7.0 as well.\n\nMake sure bqn is on `PATH`. To check, run `bqn` in the terminal, in the case of windows it's the `Command Prompt` or `Windows PowerShell`. Then type `1+1` in the terminal and get `2`. If `bqn` wasn't found, and you're on linux or mac, make sure you've installed CBQN correctly and ran `sudo make install` - and if you're on windows, add the bqn folder from [cbqn-win-docker-build](https://github.com/vylsaz/cbqn-win-docker-build/releases) to PATH, [here's a tutorial](https://www.computerhope.com/issues/ch000549.htm).\n\nFirst step in installing is cloning rayed-bqn and installing raylib by typing the following in the terminal:\n```SH\ngit clone --filter=blob:none --recurse-submodules https://github.com/Brian-ED/rayed-bqn.git\nbqn rayed-bqn/install-raylib.bqn\n```\n\nRun the following example to make sure rayed-bqn is set up properly:\n```SH\nbqn rayed-bqn/examples/1_shapes/circleInsideSquares.bqn\n```\n\n### Explanation\n`git clone` has the option [`--filter=blob:none`](https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/) to clone the repository faster, and [`--recurse-submodules`](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to also install the submodules automatically.\n\nRunning `bqn install-raylib.bqn` downloads [raylib](https://github.com/raysan5/raylib/releases/) with release 5.5. In the case of windows, this is `raylib-5.5_win64_msvc16`. It then takes the shared-binary from `raylib/lib/` folder and places it in `rayed-bqn/lib/`.\n\n# Tested raylib versions:\n`raylib-4.5.0_win64_mingw-w64` on Windows 10  \nraylib version 4.5.0 built from source on Pop!_OS.  \nraylib version 4.5.0 built from source on Ubuntu 22.04.2 LTS.  \nraylib version 5.0.0 built from source on Ubuntu 22.04.2 LTS.  \nraylib version 5.0.0 via homebrew on mac  \n\n\n# Ideologies\nHaving as little magic as possible, magic meaning magic numbers and global values (available to the user) changing outside user's control.\n\nMutations localized in namespaces like \"clock\" are fine.\n\n# Contributing\nIf you have any questions on contributing to this project, feel free to mention me on the bqn forum that's mentioned on the [bqn-wiki](https://mlochbaum.github.io/BQN/index.html#where-can-i-find-bqn-users), my username is Brian E.\n\nYou can submit however many issues as you'd like, I see them as a TODO list.\n\nYou can make pull requests and submit them for merges if you'd like, though be sure to discuss with me for any features you add to make sure you didn't put in wasted effort, though if it's mentioned in a github-issue and isn't taken do make sure you say you're working on it. Also say when you've stopped working on it, and share the roadblocks and progress, so someone can continue where you left off.\n\n# Credits\n\nLots of thanks to [@dzaima](https://github.com/dzaima) for helping with FFI.\n\nI owe credit to [@nulldatamap](https://gist.github.com/nulldatamap) for showing a lovely [example](https://gist.github.com/nulldatamap/30b10389bf91d6f25bb262da9c9e9709) to get me started with using FFI for BQN, and for making it easy to start with making this library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian-ed%2Frayed-bqn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrian-ed%2Frayed-bqn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrian-ed%2Frayed-bqn/lists"}