Download tools/ui/node_modules/.bin/parser from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/node_modules/.bin/parser
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/tools/ui/node_modules/.bin/parser
-
curl -L -o parser https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/node_modules/.bin/parser
363 Bytes
| /* eslint-disable no-var, unicorn/prefer-node-protocol */ | |
| var parser = require(".."); | |
| var fs = require("fs"); | |
| var filename = process.argv[2]; | |
| if (!filename) { | |
| console.error("no filename specified"); | |
| } else { | |
| var file = fs.readFileSync(filename, "utf8"); | |
| var ast = parser.parse(file); | |
| console.log(JSON.stringify(ast, null, " ")); | |
| } | |