Language Server for SymbolicDSGE model configuration files
The binary can run either as a stdio language server or as a small CLI for testing parser, validation, and completion behavior.
go run ./cmd/sdsge-ls check test_configs/test.model
go run ./cmd/sdsge-ls complete --line 104 --char 3 test_configs/test.model
go run ./cmd/sdsge-ls definition --line 22 --char 14 test_configs/test.model
go run ./cmd/sdsge-ls references --line 35 --char 15 --include-declaration test_configs/test.model
go run ./cmd/sdsge-ls --log-level debug --log-file /tmp/sdsge-ls.log- No command starts the stdio LSP server.
checkprints plain text diagnostics.completeprints plain text completion items using 1-based--lineand--char.definitionprints the declaration location for the symbol under the cursor.referencesprints the references for the symbol under the cursor.--log-levelacceptsdebug,info,warn,error, oroff.--log-filewrites logs to a file instead ofstderr.
The repository ships binaries through GitHub Actions and GoReleaser.
- CI runs on every push and pull request in ci.yml.
- GoReleaser publishes draft GitHub Releases with archives for:
darwin/amd64darwin/arm64linux/amd64linux/arm64windows/amd64windows/arm64
Local snapshot build:
goreleaser release --snapshot --cleanThe current release flow is unsigned by default. It produces release archives and checksums, but does not code-sign macOS or Windows binaries until the required certificates, keys, and signing steps are configured.