Git Product home page Git Product logo

replete's People

Contributors

jamesdiacono 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  avatar  avatar  avatar

Watchers

 avatar

replete's Issues

TypeScript

I'd like to be able to evaluate TS files without manually removing type annotations.

VSCode plugin issue/question

The README for the VSCode plugin says:

Restart VSCode. The extension must now be configured by navigating to

Settings -> User -> Extensions -> Replete

and providing the required paths. Make sure you point to an installation of
Node.js that is version 18.6.0 or higher.

What does "providing the required paths" mean? I don't see anything related to that on the extension page or the extension settings.

Screenshot 2023-03-13 at 1 20 59 PM

Screenshot 2023-03-13 at 1 21 17 PM

VS Code Plugin

I tried several different options to set the path to replete.js but none worked. Starting Replete from VS Code throws an error that it can't find C:\C:\path\to\replete. If I try relative path it tries to find it under C:\Program Files\Microsoft VS Code\ directory. I move the directory there but it also didn't work. I tried to set the path using file:///C:/ but didn't work also.

How should I specify the absolute path to replete.js on windows? Assume it is in C:\Replete for example.

I can't wait to try this plugin, thanks for working on it James.

Implementation following nREPL protocol

I'm curious about why did you took your own approach to creating a plugabble REPL for node instead of implementing client/server for nREPL protocol? which is well tested, battle hardened, and stable protocol for this purpose

Text editor plugins

This is a place where people can share their plugins.

Generally, a plugin has these responsibilities:

  1. Start and stop the Replete process (replete.js).
  2. Send source code to Replete.
  3. Display Replete's results.

Here are the plugins I have made:

Text editor Written in Link Licence Updated
VSCode JavaScript Marketplace Public domain 2024-06-16
Sublime Text 4 Python sublime_replete.zip Public domain 2024-06-16
Emacs Lisp replete.el GPL v3.0 2024-06-16
Neovim Lua neovim_replete.zip MIT 2024-06-16

If you download a plugin, unzip it and follow the instructions within. These plugins should work on any operating system. Please let me know if you experience problems.

Too many open files

Hi :),

First of all, thank you for this gem.

I'm playing with REPLETE and I have found an issue with this simple code while using Openlayers library:

/*jslint browser */

import Map from "ol/Map.js";
import View from "ol/View.js";
import TileLayer from "ol/layer/Tile.js";
import XYZ from "ol/source/XYZ.js";

const map = new Map({
    layers: [
        new TileLayer({
            source: new XYZ({
                url: "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
            })
        })
    ],
    view: new View({
        center: [0, 0],
        zoom: 2
    })
});

export default Object.freeze(map);

after evaluating this code I'm getting:

Waiting for WEBL: http://localhost:3000
WEBL found.
WEBL found.
WEBL found.
error: Uncaught Error: Too many open files (os error 24)
    at new FsWatcher (ext:runtime/40_fs_events.js:24:17)
    at Object.watchFs (ext:runtime/40_fs_events.js:86:10)
    at ext:deno_node/_fs/_fs_watch.ts:57:21
    at eventLoopTick (ext:core/01_core.js:203:13)

I suppose this is a file descriptor problem related to node/deno.

Thank you in advance for your help.

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.