Initial commit - UCXL VS Code extension
- Added UCXL VS Code extension with syntax highlighting - Implemented language configuration and grammar definitions - Created extension package with examples and documentation - Added syntax highlighting for UCXL code structures 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
33
syntaxes/ucxl.tmLanguage.backup.json
Normal file
33
syntaxes/ucxl.tmLanguage.backup.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"scopeName": "source.ucxl",
|
||||
"patterns": [
|
||||
{
|
||||
"name": "keyword.scheme.ucxl",
|
||||
"match": "\\bucxl://"
|
||||
},
|
||||
{
|
||||
"name": "entity.name.agent.ucxl",
|
||||
"match": "(?<=ucxl://)[a-zA-Z0-9_-]+(?=:)"
|
||||
},
|
||||
{
|
||||
"name": "support.class.topic.ucxl",
|
||||
"match": "(?<=:)[a-zA-Z0-9_-]+(?=@)"
|
||||
},
|
||||
{
|
||||
"name": "entity.name.project.ucxl",
|
||||
"match": "(?<=@)[a-zA-Z0-9_-]+(?=:)"
|
||||
},
|
||||
{
|
||||
"name": "variable.parameter.context.ucxl",
|
||||
"match": "(?<=:)[a-zA-Z0-9_-]+(?=/)"
|
||||
},
|
||||
{
|
||||
"name": "constant.language.temporal.ucxl",
|
||||
"match": "(?<=/)(#|~\\*|\\^\\*|~~|\\^\\^|~\\d+|\\^\\d+)(?=/)"
|
||||
},
|
||||
{
|
||||
"name": "string.path.ucxl",
|
||||
"match": "(?<=/)[^\\s]+"
|
||||
}
|
||||
]
|
||||
}
|
||||
36
syntaxes/ucxl.tmLanguage.json
Normal file
36
syntaxes/ucxl.tmLanguage.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"scopeName": "source.ucxl",
|
||||
"name": "UCXL",
|
||||
"patterns": [
|
||||
{
|
||||
"name": "meta.ucxl",
|
||||
"match": "^ucxl://([A-Z0-9]{5})" ,
|
||||
"captures": {
|
||||
"1": { "name": "constant.language.agent.ucxl" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "^ucxl://[A-Z0-9]{5}:([a-zA-Z0-9_-]+)",
|
||||
"captures": {
|
||||
"1": { "name": "entity.name.role.ucxl" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "@([a-zA-Z0-9_-]+):([a-zA-Z0-9_-]+)",
|
||||
"captures": {
|
||||
"1": { "name": "entity.name.project.ucxl" },
|
||||
"2": { "name": "entity.name.task.ucxl" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "\\/(#|~\\*|\\^\\*|~~|\\^\\^|~\\d+|\\^\\d+)\\/",
|
||||
"captures": {
|
||||
"1": { "name": "constant.language.temporal.ucxl" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": "\\/([^\\s]+)$",
|
||||
"name": "string.path.ucxl"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user