Inital work on the lsp

This commit is contained in:
2023-12-25 22:44:16 +00:00
commit 57682ed72b
9 changed files with 947 additions and 0 deletions

13
lsp_run.ts Normal file
View File

@@ -0,0 +1,13 @@
import { error, handleData, log } from "./lsp";
console.log = log;
process.stdin.resume();
process.stdin.on('data', function(data) {
try {
handleData(data);
} catch (e) {
error("TRY GOT ERROR:" + e)
}
})