GithubHelp home page GithubHelp logo

Company backend about racket-mode HOT 3 CLOSED

greghendershott avatar greghendershott commented on June 12, 2024
Company backend

from racket-mode.

Comments (3)

greghendershott avatar greghendershott commented on June 12, 2024

Although I don't use completion myself -- otherwise it would probably already be in racket-mode :) -- this sounds like a good idea.

In Racket I believe namespace-mapped-symbols would be the way to get the list of what is currently required. Which seems simple enough.

But not sure the best way to marshal that from Racket to Elisp.

It's not a tiny list, even in racket/base:

#lang racket
(length (namespace-mapped-symbols)) ; => 1837

2296 symbols in full #lang racket.

And serialized to a string:

(string-length (string-join (map symbol->string (namespace-mapped-symbols))
                            ","))
; => 30822

So I'd want to think about how to marshal from Racket to Elisp, cache it, and how to invalidate/refresh the cache.

from racket-mode.

greghendershott avatar greghendershott commented on June 12, 2024

Just an update that I started working on this recently. It's still in rough shape so nothing to push quite yet.

from racket-mode.

greghendershott avatar greghendershott commented on June 12, 2024

This is done as of commit af52ee8 and commit 72da219.

You should be able to get this via MELPA by updating racket-mode.

Please let me know how it works for you?

from racket-mode.

Related Issues (20)

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.