lea
Use when writing or modifying Lea code - pipe-oriented functional language with tree-walk interpreter
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when writing or modifying Lea code - pipe-oriented functional language with tree-walk interpreter
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when configuring ESLint - covers flat config, TypeScript integration, and custom rules
Use when creating GitHub Actions workflows - covers CI/CD, matrix testing, and release automation
Use when writing Jest tests - covers testing patterns for interpreters, parsers, and async code
Use when designing language features - covers lexer, parser, AST, and interpreter patterns
Use when implementing Language Server Protocol features - covers completions, hover, diagnostics, and navigation
Use when creating Mermaid diagrams - covers flowcharts, sequence diagrams, and AST visualization
| name | lea |
| description | Use when writing or modifying Lea code - pipe-oriented functional language with tree-walk interpreter |
let numbers = [1, 2, 3, 4, 5]
let result = numbers
/> filter((x) -> x > 2)
/> map((x) -> x * x)
/> reduce(0, (acc, x) -> acc + x)
result /> print
value /> fn passes value as first arg; use input placeholder to control positionlet double = (x) -> x * 2 (no fn keyword){ }#log #memo #time #retry(3) etc. after function bodylet x = 10 immutable, maybe x = 0 mutable{ name: "Max", age: 99 } with member access record.fieldcontext Name = default + provide Name value + @Name attachmentssqrt, abs, floor, ceil, round, min, maxlength, head, tail, push, concat, map, filter, reduce, rangeprint (returns first arg for chaining)delay(ms) — promise that resolves after msnpm run repl # Interactive REPL
npm run lea file.lea # Run a file