Skip to content

Commit

Permalink
migrate codegen_spec to DSL v2 (#749)
Browse files Browse the repository at this point in the history
- Migrate the spec to DSL v2.
- Delete the old YAML spec (v1), and its validation infra.
- Remove the legacy problem matcher/ebnf codegen.
- Clean up any unused deps/packages.
  • Loading branch information
OmarTawfik authored Jan 22, 2024
1 parent 0a50c4b commit 7119e5c
Show file tree
Hide file tree
Showing 743 changed files with 4,440 additions and 21,857 deletions.
1 change: 1 addition & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"list-marker-space": false,
"no-duplicate-heading": false,
"no-inline-html": false,
"no-space-in-emphasis": false,
"ul-indent": {
"indent": 4
}
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"editor.formatOnSave": true,
"editor.rulers": [120],
"files.associations": {
"**/documentation/overrides/**/*.html": "jinja-html",
"*.ts.jinja2": "jinja-js" // until this is merged: https://github.com/samuelcolvin/jinjahtml-vscode/pull/148
},
"editor.unicodeHighlight.allowedCharacters": {
Expand Down Expand Up @@ -34,8 +35,7 @@
"**/Pipfile.lock": true
},
"triggerTaskOnSave.tasks": {
"Run Rust Analyzer Checks": ["**/*.jinja2"],
"Validate Solidity Definition": ["crates/solidity/inputs/language/definition/**/*.yml"]
"Run Rust Analyzer Checks": ["**/*.jinja2"]
},
"typescript.tsdk": "node_modules/typescript/lib",
"yaml.validate": false // Disable LSP validation for YAML files, as it is handled by our own cargo tasks
Expand Down
37 changes: 0 additions & 37 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,6 @@
{
"label": "Run Rust Analyzer Checks",
"command": "${command:rust-analyzer.runFlycheck}"
},
{
"label": "Validate Solidity Definition",
"type": "shell",
"command": "${workspaceFolder}/scripts/bin/infra",
"args": ["check", "cargo"],
"options": {
"env": {
"VSCODE_PROBLEM_MATCHER": "true"
}
},
"problemMatcher": {
"owner": "solidity",
"source": "slang",
"applyTo": "allDocuments",
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^\\s*slang-problem-matcher:([^:]+):([^:]+):([^-]+)-([^:]+):([^:]+): ([^:]+): (.+)$",
"file": 1,
"line": 2,
"column": 3,
"endLine": 4,
"endColumn": 5,
"severity": 6,
"message": 7
}
]
},
"runOptions": {
"instanceLimit": 1
},
"presentation": {
"group": "slang",
"reveal": "never",
"clear": true
}
}
]
}
Loading

0 comments on commit 7119e5c

Please sign in to comment.