Add more tools

This commit is contained in:
Jeff 2023-10-13 15:29:17 -04:00
parent 7021c7f789
commit b47907ee26
4 changed files with 3465 additions and 2892 deletions

View File

@ -186,9 +186,32 @@ module.exports = grammar({
'assert', 'assert',
'assert_equal', 'assert_equal',
'output', 'output',
'read', 'read',
'write',
'raw',
'sh',
'bash',
'fish',
'zsh',
'random', 'random',
'random_boolean',
'random_float',
'random_string',
'random_integer', 'random_integer',
'count',
'sort',
'transform',
'filter',
'to_csv',
'from_csv',
'to_json',
'from_json',
'help', 'help',
), ),

View File

@ -766,14 +766,82 @@
"type": "STRING", "type": "STRING",
"value": "read" "value": "read"
}, },
{
"type": "STRING",
"value": "write"
},
{
"type": "STRING",
"value": "raw"
},
{
"type": "STRING",
"value": "sh"
},
{
"type": "STRING",
"value": "bash"
},
{
"type": "STRING",
"value": "fish"
},
{
"type": "STRING",
"value": "zsh"
},
{ {
"type": "STRING", "type": "STRING",
"value": "random" "value": "random"
}, },
{
"type": "STRING",
"value": "random_boolean"
},
{
"type": "STRING",
"value": "random_float"
},
{
"type": "STRING",
"value": "random_string"
},
{ {
"type": "STRING", "type": "STRING",
"value": "random_integer" "value": "random_integer"
}, },
{
"type": "STRING",
"value": "count"
},
{
"type": "STRING",
"value": "sort"
},
{
"type": "STRING",
"value": "transform"
},
{
"type": "STRING",
"value": "filter"
},
{
"type": "STRING",
"value": "to_csv"
},
{
"type": "STRING",
"value": "from_csv"
},
{
"type": "STRING",
"value": "to_json"
},
{
"type": "STRING",
"value": "from_json"
},
{ {
"type": "STRING", "type": "STRING",
"value": "help" "value": "help"

View File

@ -553,6 +553,14 @@
"type": "assert_equal", "type": "assert_equal",
"named": false "named": false
}, },
{
"type": "bash",
"named": false
},
{
"type": "count",
"named": false
},
{ {
"type": "else", "type": "else",
"named": false "named": false
@ -565,6 +573,14 @@
"type": "false", "type": "false",
"named": false "named": false
}, },
{
"type": "filter",
"named": false
},
{
"type": "fish",
"named": false
},
{ {
"type": "float", "type": "float",
"named": true "named": true
@ -577,6 +593,14 @@
"type": "from", "type": "from",
"named": false "named": false
}, },
{
"type": "from_csv",
"named": false
},
{
"type": "from_json",
"named": false
},
{ {
"type": "function", "type": "function",
"named": false "named": false
@ -617,10 +641,26 @@
"type": "random", "type": "random",
"named": false "named": false
}, },
{
"type": "random_boolean",
"named": false
},
{
"type": "random_float",
"named": false
},
{ {
"type": "random_integer", "type": "random_integer",
"named": false "named": false
}, },
{
"type": "random_string",
"named": false
},
{
"type": "raw",
"named": false
},
{ {
"type": "read", "type": "read",
"named": false "named": false
@ -629,6 +669,14 @@
"type": "select", "type": "select",
"named": false "named": false
}, },
{
"type": "sh",
"named": false
},
{
"type": "sort",
"named": false
},
{ {
"type": "string", "type": "string",
"named": true "named": true
@ -637,6 +685,18 @@
"type": "table", "type": "table",
"named": false "named": false
}, },
{
"type": "to_csv",
"named": false
},
{
"type": "to_json",
"named": false
},
{
"type": "transform",
"named": false
},
{ {
"type": "true", "type": "true",
"named": false "named": false
@ -649,6 +709,14 @@
"type": "while", "type": "while",
"named": false "named": false
}, },
{
"type": "write",
"named": false
},
{
"type": "zsh",
"named": false
},
{ {
"type": "{", "type": "{",
"named": false "named": false

File diff suppressed because it is too large Load Diff