@razdolbai/merls 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Status
6
6
 
7
- This repository now has an initial Node.js and TypeScript workspace scaffold, a packaged stdio CLI contract, and the MVP LSP feature set. All planned tasks in `PLAN.md` are complete, including the coc.nvim smoke test.
7
+ The MVP LSP feature set for Merlin-style 6502 assembly is complete and published to npm as `@razdolbai/merls`. It provides core language server features and is ready to be used with editors like `coc.nvim`. All planned tasks in `PLAN.md` have been fulfilled.
8
8
 
9
9
  ## Goals
10
10
 
@@ -94,8 +94,7 @@ If you installed `merls` globally via npm, the `languageserver` shape is:
94
94
  "--stdio"
95
95
  ],
96
96
  "rootPatterns": [
97
- ".git",
98
- "package.json"
97
+ ".git"
99
98
  ],
100
99
  "filetypes": [
101
100
  "asm"
@@ -105,13 +104,7 @@ If you installed `merls` globally via npm, the `languageserver` shape is:
105
104
  }
106
105
  ```
107
106
 
108
- For local development checkouts, an initial example lives in `examples/coc-settings.json`. The current bootstrap flow is:
109
-
110
- 1. run `npm install`
111
- 2. run `npm run build`
112
- 3. point coc.nvim at `dist/src/cli.js --stdio`
113
-
114
- The bundled example uses `node` plus an absolute path to the packaged CLI, passes `--stdio`, uses `package.json` and `.git` as root markers, and currently targets the `asm` filetype.
107
+ An example configuration lives in `examples/coc-settings.json`.
115
108
 
116
109
  ## Development notes
117
110
 
@@ -133,7 +126,7 @@ The bundled example uses `node` plus an absolute path to the packaged CLI, passe
133
126
  - The current `textDocument/completion` handler is wired through `src/server.ts` and `src/lsp/completion.ts`.
134
127
  - The current `textDocument/publishDiagnostics` path is wired through `src/server.ts` and `src/lsp/diagnostics.ts`, with full-document sync on open and change so coc.nvim receives live parser and resolver errors.
135
128
  - The packaged CLI entrypoint now lives in `src/cli.ts`, compiles to `dist/src/cli.js`, and supports the explicit stdio contract `merls --stdio`.
136
- - The checked-in coc.nvim example now targets `dist/src/cli.js --stdio` and includes root detection for `.git` and `package.json`.
129
+ - The checked-in coc.nvim example targets the globally installed `merls` command and includes root detection for `.git`.
137
130
  - The positive fixture corpus now starts with transcribed Merlin32 material under `test/fixtures/valid/`.
138
131
  - Positive fixtures should cover supported 6502 Merlin-style syntax.
139
132
  - The negative fixture corpus now starts with explicit 65816-only samples under `test/fixtures/invalid/`.
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "languageserver": {
3
3
  "merls": {
4
- "command": "node",
4
+ "command": "merls",
5
5
  "args": [
6
- "C:/Users/alexe/Projects/merls/dist/src/cli.js",
7
6
  "--stdio"
8
7
  ],
9
8
  "rootPatterns": [
10
- ".git",
11
- "package.json"
9
+ ".git"
12
10
  ],
13
11
  "filetypes": [
14
12
  "asm"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@razdolbai/merls",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Language server for Merlin-style 6502 assembly.",
5
5
  "type": "commonjs",
6
6
  "bin": {