Giter VIP home page Giter VIP logo

beacon's Introduction

Beacon

A native and a cross platform guide for BQN array programming language.

demo

Features

  • ` + KEY combination typing for BQN primitives
  • Glyph toolbar (hover documentation missing for now)
  • Tabs (Ctrl + n,p to go to next/prev tab & Ctrl + t,q to open/close a tab)
  • History & tabs persistence
  • Cross-platform

Linux/MacOS instructions

> git clone https://github.com/x86y/beacon
> cd beacon
> cargo run --release

Alternatively, a nix flake is provided:

$ git clone https://github.com/x86y/beacon
$ cd beacon
$ nix run   # Alternatively: nix develop -c cargo run --release

Windows instructions

> git clone https://github.com/x86y/beacon
> cd beacon
> BQN_WASM=./BQN.wasm cargo run --release --no-default-features --features=bqnwasm

The code relies a lot on detegr's bqn bindings, and uses tooltip documentation files from his bqnlsp/genhelp tool! Check it out at: https://sr.ht/~detegr/bqnlsp/

beacon's People

Contributors

airstrike avatar slotthe avatar x86y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

beacon's Issues

Update the doc about building and running on macOS

On macOS M2, I had to point to the directory containing the CBQN library to build and run beacon. The directory where CBQN was installed on my system is /Users/ludo/Downloads/github/CBQN. Could you update the README ?

Building and running:

export DYLD_FALLBACK_LIBRARY_PATH=/Users/ludo/Downloads/github/CBQN
RUSTFLAGS='-L /Users/ludo/Downloads/github/CBQN' cargo run --release

/usr/bin/ld: cannot find -lcbqn: No such file or directory

I'm trying to run cargo run --release but encountering the below error. I have bqn installed using nix home manager with the cbqn-replxx package. I'm using pop!_os 22.04. Does building beacon require also building cbqn instead of using the nix package?

  = note: /usr/bin/ld: cannot find -lcbqn: No such file or directory
          collect2: error: ld returned 1 exit status

warning: `beacon` (bin "beacon") generated 1 warning
error: could not compile `beacon` (bin "beacon") due to previous error; 1 warning emitted

Getting bqn version in zsh:

bqn --version
CBQN 0.3.0
built with FFI, singeli x86-64, replxx

cargo version 1.72.0 (103a7ff2e 2023-08-15)

Packages

It's my assumption (certainly my first-hand experience) that this project will appeal as a first contact with BQN, so having to build and integrate it manually (with hiccups: #3, #5) will be a non-negligible hurdle. Indexing it in third-party package managers will have great effect.

Certainly, there's not much point even thinking about this unless dzaima/CBQN#110 is implemented first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.