Skip to content

Commit

Permalink
feat: add 'cd' builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Dec 27, 2024
1 parent c6df3ec commit b3e51d3
Show file tree
Hide file tree
Showing 4 changed files with 11,387 additions and 11,066 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = grammar({
$.block
),

builtin: $ => seq(choice("echo", "exit"), $._expression),
builtin: $ => seq(choice("cd", "echo", "exit"), $._expression),

reference: $ => "ref",
function_parameter_list_item: $ => prec.left(seq(
Expand Down
4 changes: 4 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b3e51d3

Please sign in to comment.