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
1[![NPM license](https://img.shields.io/npm/l/svelte-eslint-parser.svg)](https://www.npmjs.com/package/svelte-eslint-parser)2[![NPM version](https://img.shields.io/npm/v/svelte-eslint-parser.svg)](https://www.npmjs.com/package/svelte-eslint-parser)3[![NPM downloads](https://img.shields.io/badge/dynamic/json.svg?label=downloads&colorB=green&suffix=/day&query=$.downloads&uri=https://api.npmjs.org//downloads/point/last-day/svelte-eslint-parser&maxAge=3600)](http://www.npmtrends.com/svelte-eslint-parser)4[![NPM downloads](https://img.shields.io/npm/dw/svelte-eslint-parser.svg)](http://www.npmtrends.com/svelte-eslint-parser)5[![NPM downloads](https://img.shields.io/npm/dm/svelte-eslint-parser.svg)](http://www.npmtrends.com/svelte-eslint-parser)6[![NPM downloads](https://img.shields.io/npm/dy/svelte-eslint-parser.svg)](http://www.npmtrends.com/svelte-eslint-parser)7[![NPM downloads](https://img.shields.io/npm/dt/svelte-eslint-parser.svg)](http://www.npmtrends.com/svelte-eslint-parser)8[![Build Status](https://github.com/sveltejs/svelte-eslint-parser/workflows/CI/badge.svg?branch=main)](https://github.com/sveltejs/svelte-eslint-parser/actions?query=workflow%3ACI)9[![Coverage Status](https://coveralls.io/repos/github/sveltejs/svelte-eslint-parser/badge.svg?branch=main)](https://coveralls.io/github/sveltejs/svelte-eslint-parser?branch=main)10 11<div align="center">12 13# svelte-eslint-parser14 15## [Svelte](https://svelte.dev/) parser for [ESLint](https://eslint.org/)16 17[Live DEMO](https://sveltejs.github.io/svelte-eslint-parser/playground) •18[Discord](https://svelte.dev/chat)19 20</div>21 22## Motivation23 24The `svelte-eslint-parser` aims to make it easy to create your own ESLint rules for [Svelte](https://svelte.dev/).25 26[eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) is an ESLint plugin built upon this parser, and it already [implements some rules](https://sveltejs.github.io/eslint-plugin-svelte/rules/).27 28### ESLint Plugins Using svelte-eslint-parser29 30#### [eslint-plugin-svelte](https://sveltejs.github.io/eslint-plugin-svelte/)31 32ESLint plugin for Svelte.  33Provides a variety of template-based checks using the Svelte AST.34 35#### [@intlify/eslint-plugin-svelte](https://github.com/intlify/eslint-plugin-svelte)36 37ESLint plugin for internationalization (i18n) in Svelte applications, offering helpful i18n-related rules.38 39---40 41## Installation42 43```bash44npm install --save-dev eslint svelte-eslint-parser45```46 47---48 49## Usage50 51### ESLint Config (`eslint.config.js`)52 53```js54import js from "@eslint/js";55import svelteParser from "svelte-eslint-parser";56 57export default [58  js.configs.recommended,59  {60    files: [61      "**/*.svelte",62      "*.svelte",63      // Need to specify the file extension for Svelte 5 with rune symbols64      "**/*.svelte.js",65      "*.svelte.js",66      "**/*.svelte.ts",67      "*.svelte.ts",68    ],69    languageOptions: {70      parser: svelteParser,71    },72  },73];74```75 76### CLI77 78```bash79eslint "src/**/*.{js,svelte}"80```81 82---83 84## Options85 86The [parserOptions](https://eslint.org/docs/latest/use/configure/parser#configure-parser-options) for this parser generally match what [espree](https://github.com/eslint/espree#usage)—ESLint's default parser—supports.87 88For example:89 90```js91import svelteParser from "svelte-eslint-parser";92 93export default [94  // ...95  {96    files: [97      // Set .svelte/.js/.ts files. See above for more details.98    ],99    languageOptions: {100      parser: svelteParser,101      parserOptions: {102        sourceType: "module",103        ecmaVersion: 2024,104        ecmaFeatures: {105          globalReturn: false,106          impliedStrict: false,107          jsx: false,108        },109      },110    },111  },112];113```114 115### parserOptions.parser116 117Use the `parserOptions.parser` property to define a custom parser for `<script>` tags. Any additional parser options (besides the parser itself) are passed along to the specified parser.118 119```js120import tsParser from "@typescript-eslint/parser";121 122export default [123  {124    files: [125      // Set .svelte/.js/.ts files. See above for more details.126    ],127    languageOptions: {128      parser: svelteParser,129      parserOptions: {130        parser: tsParser,131      },132    },133  },134];135```136 137#### Using TypeScript in `<script>`138 139If you use `@typescript-eslint/parser` for TypeScript within `<script>` of `.svelte` files, additional configuration is needed. For example:140 141```js142import tsParser from "@typescript-eslint/parser";143 144export default [145  // Other config for non-Svelte files146  {147    languageOptions: {148      parser: tsParser,149      parserOptions: {150        project: "path/to/your/tsconfig.json",151        extraFileExtensions: [".svelte"],152      },153    },154  },155  // Svelte config156  {157    files: [158      // Set .svelte/.js/.ts files. See above for more details.159    ],160    languageOptions: {161      parser: svelteParser,162      // Parse the `<script>` in `.svelte` as TypeScript by adding the following configuration.163      parserOptions: {164        parser: tsParser,165      },166    },167  },168];169```170 171#### Multiple parsers172 173To switch parsers for each language, provide an object:174 175```js176import tsParser from "@typescript-eslint/parser";177import espree from "espree";178 179export default [180  {181    files: [182      // Set .svelte/.js/.ts files. See above for more details.183    ],184    languageOptions: {185      parser: svelteParser,186      parserOptions: {187        parser: {188          ts: tsParser,189          js: espree,190          typescript: tsParser,191        },192      },193    },194  },195];196```197 198### parserOptions.svelteConfig199 200If you use `eslint.config.js`, you can specify a `svelte.config.js` file via `parserOptions.svelteConfig`.201 202```js203import svelteConfig from "./svelte.config.js";204 205export default [206  {207    files: [208      // Set .svelte/.js/.ts files. See above for more details.209    ],210    languageOptions: {211      parser: svelteParser,212      parserOptions: {213        svelteConfig,214      },215    },216  },217];218```219 220If `parserOptions.svelteConfig` is not set, the parser attempts to statically read some config from `svelte.config.js`.221 222### parserOptions.svelteFeatures223 224You can configure how Svelte-specific features are parsed via `parserOptions.svelteFeatures`.225 226For example:227 228```js229export default [230  {231    files: [232      // Set .svelte/.js/.ts files. See above for more details.233    ],234    languageOptions: {235      parser: svelteParser,236      parserOptions: {237        svelteFeatures: {238          // This is for Svelte 5. The default is true.239          // If false, ESLint won't recognize rune symbols.240          // If not specified, the parser tries to read compilerOptions.runes from `svelte.config.js`.241          // If `parserOptions.svelteConfig` is not given and static analysis fails, it defaults to true.242          runes: true,243        },244      },245    },246  },247];248```249 250---251 252## Experimental253 254### `ts.sys.readFile` hook for type-aware Svelte lint255 256> ⚠️ **Experimental.** Opt-in only; behavior may change or be removed.257 258Speeds up type-aware lint of `.svelte` files. Your ESLint config must259already list `.svelte` via `parserOptions.extraFileExtensions`.260 261```sh262SVELTE_ESLINT_PARSER_EXPERIMENTAL_TS_SYS_HOOK=1 \263  eslint --no-cache --concurrency auto .264```265 266Caveat: rules that read raw TypeScript diagnostics267(`program.getSemanticDiagnostics()` and friends) report positions inside268the parser's virtual shim — a pre-existing property of type-aware Svelte269lint, not specific to the hook.270 271---272 273## Editor Integrations274 275### Visual Studio Code276 277Use the [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extension provided by Microsoft.278 279By default, it only targets `*.js` and `*.jsx`, so you need to configure `.svelte` file support. For example, in **.vscode/settings.json**:280 281```json282{283  "eslint.validate": ["javascript", "javascriptreact", "svelte"]284}285```286 287---288 289## Usage for Custom Rules / Plugins290 291- See [AST.md](./docs/AST.md) for the AST specification. You can explore it on the [Live DEMO](https://sveltejs.github.io/svelte-eslint-parser/).292- This parser generates its own [ScopeManager](https://eslint.org/docs/developer-guide/scope-manager-interface). Check the [Live DEMO](https://sveltejs.github.io/svelte-eslint-parser/scope).293- Several rules are [already implemented] in [`eslint-plugin-svelte`], and their source code can be a helpful reference.294 295---296 297## Contributing298 299Contributions are welcome! Please open an issue or submit a PR on GitHub.  300For internal details, see [internal-mechanism.md](./docs/internal-mechanism.md).301 302---303 304## License305 306See [LICENSE](LICENSE) (MIT) for rights and limitations.307 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai