TheCee@programming.dev to Programming Languages@programming.devEnglish · 1 year agoQuestion - Could an embedded scripting interpreter at the same time be a language server?ceesstuff.github.ioexternal-linkmessage-square6fedilinkarrow-up18arrow-down10file-textcross-posted to: programming@beehaw.org
arrow-up18arrow-down1external-linkQuestion - Could an embedded scripting interpreter at the same time be a language server?ceesstuff.github.ioTheCee@programming.dev to Programming Languages@programming.devEnglish · 1 year agomessage-square6fedilinkfile-textcross-posted to: programming@beehaw.org
minus-squarearmchair_progamer@programming.devMlinkfedilinkarrow-up2·1 year ago Can they live in the same process (which is their host application) I believe so, since you can host a client and server in the same process. You could use threads, co-routines, or polling to get the server to listen while the interpreter is running and vice versa
I believe so, since you can host a client and server in the same process. You could use threads, co-routines, or polling to get the server to listen while the interpreter is running and vice versa