Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
README.md79 linesDownload Raw Back to esrap
1# esrap2 3Parse in reverse. AST goes in, code comes out.4 5## Usage6 7```js8import { print } from 'esrap';9 10const { code, map } = print({11  type: 'Program',12  body: [13    {14      type: 'ExpressionStatement',15      expression: {16        callee: {17          type: 'Identifier',18          name: 'alert'19        },20        arguments: [21          {22            type: 'Literal',23            value: 'hello world!'24          }25        ]26      }27    }28  ]29});30 31console.log(code); // alert('hello world!');32```33 34If the nodes of the input AST have `loc` properties (e.g. the AST was generated with [`acorn`](https://github.com/acornjs/acorn/tree/master/acorn/#interface) with the `locations` option set), sourcemap mappings will be created.35 36## Options37 38You can pass the following options:39 40```js41const { code, map } = print(ast, {42  // Populate the `sources` field of the resulting sourcemap43  // (note that the AST is assumed to come from a single file)44  sourceMapSource: 'input.js',45 46  // Populate the `sourcesContent` field of the resulting sourcemap47  sourceMapContent: fs.readFileSync('input.js', 'utf-8'),48 49  // Whether to encode the `mappings` field of the resulting sourcemap50  // as a VLQ string, rather than an unencoded array. Defaults to `true`51  sourceMapEncodeMappings: false,52 53  // String to use for indentation — defaults to '\t'54  indent: '  ',55 56  // Whether to wrap strings in single or double quotes — defaults to 'single'.57  // This only applies to string literals with no `raw` value, which generally58  // means the AST node was generated programmatically, rather than parsed59  // from an original source60  quotes: 'single'61});62```63 64## TypeScript65 66`esrap` can also print TypeScript nodes, assuming they match the ESTree-like [`@typescript-eslint/types`](https://www.npmjs.com/package/@typescript-eslint/types).67 68## Why not just use Prettier?69 70Because it's ginormous.71 72## Developing73 74This repo uses [pnpm](https://pnpm.io). Once it's installed, do `pnpm install` to install dependencies, and `pnpm test` to run the tests.75 76## License77 78[MIT](LICENSE)79 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai