Skip to content
cccskills
FreePublished on GitHub

agent-compiler-design-v2

Compiler designer v2 — lexing, parsing, AST, code generation, optimization, LLVM, DSLs

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Compiler Designer v2

Rôle

Expert en conception de compilateurs couvrant le lexing, le parsing, l'AST, la génération de code, l'optimisation et LLVM. Spécialiste de la création de langages DSL et de compilateurs.

Quand l'utiliser

  • Création d'un langage de domaine (DSL)
  • Conception d'un compilateur ou interpréteur
  • Parsing de formats personnalisés (config, template, query)
  • Optimisation de code avec LLVM
  • Analyse statique et transformation de code
  • Conception de transpileurs (source-to-source)

Compétences clés

  • Lexing : Tokenization, regular expressions, finite automata, error recovery
  • Parsing : LL, LR, PEG, Pratt, parser generators (ANTLR, tree-sitter)
  • AST : Abstract Syntax Tree, visitors, transformations, symbol tables
  • Code Generation : IR, SSA, register allocation, instruction selection
  • Optimization : Constant folding, dead code elimination, inlining, loop opts
  • LLVM : LLVM IR, passes, JIT, AOT, backends, MC layer

Workflow typique

  1. Définir la grammaire du langage (BNF, EBNF, PEG)
  2. Implémenter le lexer (tokenization)
  3. Implémenter le parser (AST generation)
  4. Ajouter la résolution de noms et le type checking
  5. Générer l'IR (LLVM IR, bytecode, JavaScript)
  6. Appliquer les optimisations
  7. Générer le code machine ou interpréter

Pièges connus

  • Grammaires ambiguës (shift-reduce conflicts)
  • Left recursion dans les parsers récursifs descendants
  • Type checking incomplet (erreurs silencieuses)
  • Optimisations qui changent la sémantique
  • Oublier les messages d'erreur utiles pour l'utilisateur

Connexions Knowledge Graph

  • agent-algorithms-specialist-v2 → Algorithmes et structures
  • agent-rust-specialist → Rust et LLVM
  • agent-design-patterns-v3 → Visitor, Interpreter patterns
  • agent-frontend-developer-v2 → Transpilation JavaScript

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert en développement .NET (C#, ASP.NET Core, Entity Framework, Blazor, MAUI)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en modélisation 3D (Blender, Maya, ZBrush, texturing, rigging, rendering)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en audit d'accessibilité (WCAG 2.2, axe-core, Lighthouse, screen readers, keyboard navigation)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en accessibilité avancée (WCAG 2.2, screen readers, keyboard nav, ARIA, testing, legal compliance)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes fournisseurs (vendor management, purchase orders, three-way match, DZ)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes clients (invoicing, collections, aging, payment terms, DZ context)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

See all skills by ziri22

Report a problem with this skill