Miryem [she/her]

  • 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • These were a bit difficult to answer, cause i dont know exactly what youre after - precise examples such as given in question 1 would be helpful. I could be way off base on what you were asking about in your questions.

    In general i think you might want to look into image based programming if you havent already (e.g. smalltalk systems, lisp machines, etc.) as many of these provide language server esq connections to their editor. Of note is interlisp-d with its structural editor, which if i remember right edits the source code data structures in memory.

    Regarding Q1: this workflow has been implemented in various languages for a long time. The one i am most familiar with is the swank/slynk server for CL. If i remember right it opens up its own thread to process everything, and communicates on a specific port.

    Regarding Q2: perhaps im misunderstanding or just forcing my own perceptions onto the question, but this seems to be more an issue of session management within the LSP client; assuming communication over a specific port, its more about the client figuring out which commands to send to which port.

    Regarding Q3: im probably misunderstanding this one, because it seems like a duplicate of question 2 with some extra requirements

    Regarding Q4: this can also be done. For loading from markup see literate programming (theres a CL system for loading systems from org files called literate-lisp). For loading from the internet and databases, im unsure what you mean; whether source code or byte code or machine code or what have you its all just ordered information, which can be grabbed from its storage location with the right tools (web client, db bindings, etc).

    Hopefully all that was helpful :)