Runtime: add method dispatch for array/string/dict/number (.len, .push, .pop, .keys, .values, .has, .toInt) Stdlib: delete global len/push/pop/keys/values/has Tests/docs/examples: migrate to method style; add tests/test_builtin_methods_style.bob All tests pass Breaking: global len/push/pop/keys/values/has removed; use methods instead Parser/AST: add class/extends/extension/super, field initializers Runtime: shared methods with this injection; classParents/classTemplates; super resolution; ownerClass/currentClass; extension lookup order Builtins: method dispatch for array/string/dict/number (.len/.push/.pop/.keys/.values/.has/.toInt); remove global forms Tests/docs/examples: add/refresh for classes, inheritance, super, polymorphism; migrate to method style; all tests pass VS Code extension: update grammar/readme/snippets for new features
74 lines
1.6 KiB
JSON
74 lines
1.6 KiB
JSON
{
|
|
"name": "bob-language",
|
|
"displayName": "Bob Language",
|
|
"description": "Syntax highlighting and language support for the Bob programming language - featuring arrays, dictionaries, auto-truncating float indices, increment/decrement operators, cross-type comparisons, and comprehensive built-in functions",
|
|
"version": "0.5.0",
|
|
"engines": {
|
|
"vscode": "^1.60.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"keywords": [
|
|
"bob",
|
|
"programming",
|
|
"language",
|
|
"syntax",
|
|
"highlighting"
|
|
],
|
|
"publisher": "bob-lang",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bob-lang/bob-vscode-extension"
|
|
},
|
|
"license": "MIT",
|
|
"main": "./out/extension.js",
|
|
"activationEvents": [
|
|
"onLanguage:bob"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "bob",
|
|
"aliases": [
|
|
"Bob",
|
|
"bob"
|
|
],
|
|
"extensions": [
|
|
".bob"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "bob",
|
|
"scopeName": "source.bob",
|
|
"path": "./syntaxes/bob.tmLanguage.json"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "bob",
|
|
"path": "./snippets/bob.json"
|
|
}
|
|
],
|
|
"themes": [
|
|
{
|
|
"label": "Bob Dark",
|
|
"uiTheme": "vs-dark",
|
|
"path": "./themes/bob-dark.json"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.60.0",
|
|
"@types/node": "^16.0.0",
|
|
"typescript": "^4.5.0"
|
|
}
|
|
} |