79 lines
1.7 KiB
JSON
79 lines
1.7 KiB
JSON
{
|
|
"name": "cnnl-language-support",
|
|
"displayName": "CNNL Language Support",
|
|
"description": "CNNL (Constitutional Neural Network Language) support for Visual Studio Code",
|
|
"version": "1.0.0",
|
|
"publisher": "nac",
|
|
"engines": {
|
|
"vscode": "^1.80.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"keywords": [
|
|
"cnnl",
|
|
"constitutional",
|
|
"blockchain",
|
|
"nac"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "cnnl",
|
|
"aliases": [
|
|
"CNNL",
|
|
"cnnl"
|
|
],
|
|
"extensions": [
|
|
".cnnl"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "cnnl",
|
|
"scopeName": "source.cnnl",
|
|
"path": "./syntaxes/cnnl.tmLanguage.json"
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "cnnl.compile",
|
|
"title": "CNNL: Compile File"
|
|
},
|
|
{
|
|
"command": "cnnl.verify",
|
|
"title": "CNNL: Verify Constitutional Constraints"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "CNNL",
|
|
"properties": {
|
|
"cnnl.compilerPath": {
|
|
"type": "string",
|
|
"default": "cnnl",
|
|
"description": "Path to the CNNL compiler executable"
|
|
},
|
|
"cnnl.enableVerification": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable formal verification"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"package": "vsce package"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.19.130",
|
|
"@types/vscode": "^1.109.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|