4 مستودعات
The design and implementation of the initial stages of a compiler, including parsing and IR generation.
Distinct from Compiler Development: None of the candidates correctly capture the broad architectural domain of compiler frontend engineering.
Explore 4 awesome GitHub repositories matching programming languages & runtimes · Compiler Frontend Development. Refine with filters or upvote what's useful.
go-ast-book is a collection of educational and technical resources focused on abstract syntax tree analysis, compiler development, and static code verification. It provides guides and manuals for parsing, traversing, and analyzing Go source code to extract semantic meaning. The project serves as a reference for building compiler frontends, covering the translation of high-level code into intermediate representations and single static assignment forms. It also provides instructions for using these techniques to develop language tooling and perform static code analysis. The resources cover a b
Provides a comprehensive reference for building compiler frontends, from parsing to intermediate representation generation.
LLVM هي بنية تحتية معيارية للمترجمات (compiler infrastructure) وإطار عمل يتكون من مجموعة من المكتبات القابلة لإعادة الاستخدام لبناء واجهات اللغات وأدوات التحسين. تعمل كآلة افتراضية منخفضة المستوى توفر تمثيلاً وسيطاً (intermediate representation) وخط أنابيب للتحسين لتمكين توليد كود مستقل عن لغة البرمجة. يوفر المشروع مجموعة أدوات للترجمة في الوقت الفعلي (JIT compilation)، حيث يقوم بتحويل التمثيلات الوسيطة إلى كود آلة أثناء التشغيل للتنفيذ الفوري. يتيح تصميمه المعياري للمطورين إنشاء واجهات لغات مخصصة وبيئات تشغيل عالية الأداء عبر معماريات مستهدفة متعددة. تغطي البنية التحتية تحسين الكود عالي الأداء وتنسيق سلاسل أدوات البرمجيات عبر المنصات، بما في ذلك دمج المترجمات، وبيئات التشغيل، والمصححات (debuggers).
Facilitates the design and implementation of the initial compiler stages, including parsing and IR generation.
Jison هو مولد محلل (Parser Generator) بلغة JavaScript ينفذ خوارزمية التحليل LALR. يقوم بإنشاء أدوات لتحليل لغات البرمجة المخصصة عن طريق تحويل المدخلات المهيكلة إلى رموز وأشجار. يعمل المشروع كمولد متوافق مع Bison، حيث يقبل القواعد النحوية بتنسيق متوافق مع مولد المحلل Bison لإنتاج محللات JavaScript. يغطي متطلبات تطوير واجهة المترجم (Compiler Frontend)، بما في ذلك تنفيذ اللغات الخاصة بالمجال (DSL) وأدوات تحليل النحو. تمتد قدراته إلى تحليل اللغات المخصصة وتوليد المحللات عبر واجهة سطر الأوامر.
Provides the essential tools for the initial stage of a compiler, focusing on parsing and analysis.
Participle is a Go parser generator and toolkit for building language frontends. It provides a declarative grammar framework that uses reflection and struct tags to map input patterns directly into typed data structures. The library features a stateful lexical analyzer that employs state machines to handle nested or modal patterns. It includes a lexer code generator to produce optimized code, reducing runtime memory allocations and increasing throughput. The project covers recursive descent parsing with support for union types via sealed interfaces and custom parsing logic through interface-
Provides the fundamental tools for building compiler frontends, including lexical analysis and syntax tree generation.