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_equal',
'output',
'read',
'write',
'raw',
'sh',
'bash',
'fish',
'zsh',
'random',
'random_boolean',
'random_float',
'random_string',
'random_integer',
'count',
'sort',
'transform',
'filter',
'to_csv',
'from_csv',
'to_json',
'from_json',
'help',
),

View File

@ -766,14 +766,82 @@
"type": "STRING",
"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",
"value": "random"
},
{
"type": "STRING",
"value": "random_boolean"
},
{
"type": "STRING",
"value": "random_float"
},
{
"type": "STRING",
"value": "random_string"
},
{
"type": "STRING",
"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",
"value": "help"

View File

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

File diff suppressed because it is too large Load Diff