Skip to content

Commit

Permalink
Merge pull request #1462 from dodona-edu/feature/verilog
Browse files Browse the repository at this point in the history
Add verilog parser
  • Loading branch information
rien authored Apr 12, 2024
2 parents 58f7f3a + ca0b949 commit dc96168
Show file tree
Hide file tree
Showing 11 changed files with 2,613 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@
[submodule "parsers/sql"]
path = parsers/sql
url = https://github.com/rien/tree-sitter-sql.git
[submodule "parsers/verilog"]
path = parsers/verilog
url = https://github.com/tree-sitter/tree-sitter-verilog.git
1 change: 1 addition & 0 deletions lib/src/lib/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export class LanguagePicker {
new ProgrammingLanguage("sql", [".sql"]),
new ProgrammingLanguage("typescript", [".ts"]),
new ProgrammingLanguage("tsx", [".tsx"]),
new ProgrammingLanguage("verilog", [".v", ".vh"]),
new CustomTokenizerLanguage("char", [".txt", ".md"], async self => {
const { CharTokenizer } = await import("./tokenizer/charTokenizer.js");
return new CharTokenizer(self);
Expand Down
Loading

0 comments on commit dc96168

Please sign in to comment.