Code Monkey home page Code Monkey logo

ribosome's Introduction

Overview

Ribosome is a suite of libraries for building Neovim remote plugins in Haskell, using the algebraic effect system Polysemy as its foundation.

Its components are:

Quickstart

Install the Nix package manager and generate a skeleton project by running:

$ nix run 'github:tek/ribosome#new'

The new project will contain configuration for Github Actions that release binary executables on each push that will be downloaded automatically when a user starts the plugin for the first time, with support for pushing to and downloading from Cachix.

After initial generation, the Github Actions and Neovim boot files can be regenerated by running:

$ nix run '.#boot'

ribosome's People

Contributors

tek avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

ribosome's Issues

Import Issue: "NameError: name 'StrictNvimApi' is not defined"

I am trying to import ribosome in python and I keep encountering this error:

'''js
"
{

import ribosome
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python310\lib\site-packages\ribosome_init_.py", line 6, in
from ribosome.nvim.api.data import NvimApi
File "C:\Program Files\Python310\lib\site-packages\ribosome\nvim\api\data.py", line 31, in
class StrictNvimApi(NvimApi):
File "C:\Program Files\Python310\lib\site-packages\amino\dat.py", line 107, in new
fs = Map(namespace).lift('init') / (lambda a: init_fields(a, globalns)) | Nil
File "C:\Program Files\Python310\lib\site-packages\amino\tc\base.py", line 244, in wrap
return f(self, *a, **kw) # type: ignore
File "C:\Program Files\Python310\lib\site-packages\amino\tc\functor.py", line 23, in truediv
return self.map(fa, f)
File "C:\Program Files\Python310\lib\site-packages\amino\tc\monad.py", line 15, in map
return self.flat_map(fa, lambda a: self.pure(f(a)))
File "C:\Program Files\Python310\lib\site-packages\amino\instances\maybe.py", line 43, in flat_map
return fa.cata(lambda v: f(v), Nothing)
File "C:\Program Files\Python310\lib\site-packages\amino\maybe.py", line 54, in cata
f(cast(A, self._get))
File "C:\Program Files\Python310\lib\site-packages\amino\instances\maybe.py", line 43, in
return fa.cata(lambda v: f(v), Nothing)
File "C:\Program Files\Python310\lib\site-packages\amino\tc\monad.py", line 15, in
return self.flat_map(fa, lambda a: self.pure(f(a)))
File "C:\Program Files\Python310\lib\site-packages\amino\dat.py", line 107, in
fs = Map(namespace).lift('init') / (lambda a: init_fields(a, globalns)) | Nil
File "C:\Program Files\Python310\lib\site-packages\amino\dat.py", line 94, in init_fields
types = Map(get_type_hints(init))
File "C:\Program Files\Python310\lib\typing.py", line 1849, in get_type_hints
value = _eval_type(value, globalns, localns)
File "C:\Program Files\Python310\lib\typing.py", line 326, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "C:\Program Files\Python310\lib\typing.py", line 696, in _evaluate
self.forward_value = _eval_type(
File "C:\Program Files\Python310\lib\typing.py", line 328, in _eval_type
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "C:\Program Files\Python310\lib\typing.py", line 328, in
ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.args)
File "C:\Program Files\Python310\lib\typing.py", line 326, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "C:\Program Files\Python310\lib\typing.py", line 691, in _evaluate
eval(self.forward_code, globalns, localns),
File "", line 1, in
NameError: name 'StrictNvimApi' is not defined

}
"
'''

Any help for resolving this would be appreciated.

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.