- Created a new VSCode Extension subproject - Created a new Bolt CLI subproject - Created a new Bolt Language Server subproject - Created a new Bolt Compiler subproject - Moved most existing code to the new Compiler subproject - Added a small language server - Laid the foundations for a Hindley-Milner type checker - Fixed some bugs and type errors in the compiler - Removed the unused testing infrastructure - Added an example parser test that should be run with Ava
75 lines
2.2 KiB
JSON
75 lines
2.2 KiB
JSON
{
|
|
"name": "bolt",
|
|
"displayName": "The Bolt Programming Language",
|
|
"description": "Adds support for the Bolt programming language",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.51.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"publisher": "samvv",
|
|
"main": "./dist/extension",
|
|
"activationEvents": [
|
|
"onLanguage:bolt"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "bolt",
|
|
"aliases": [
|
|
"Bolt",
|
|
"bolt"
|
|
],
|
|
"extensions": [
|
|
".bolt"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "bolt",
|
|
"scopeName": "source.bolt",
|
|
"path": "./syntaxes/bolt.tmLanguage.json"
|
|
}
|
|
],
|
|
"configuration": [
|
|
{
|
|
"title": "Language Server",
|
|
"properties": {
|
|
"bolt.pathToLanguageServer": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"description": "You can set this to point to a custom binary that will be spawned instead of the built-in language server."
|
|
},
|
|
"bolt.watchLanguageServer": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Set to `true` to automatically restart the lanuage server whenever the binary was changed on the file system."
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "webpack --mode production",
|
|
"watch": "webpack --mode development --watch"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^6.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.14.7",
|
|
"@types/vscode": "^1.51.0",
|
|
"ts-loader": "^8.0.11",
|
|
"typescript": "^4.0.5",
|
|
"webpack": "^5.4.0",
|
|
"webpack-cli": "^4.2.0"
|
|
}
|
|
}
|