Under CopyrightSchröer, F.W.F.W.Schröer2022-03-0707.08.20022000https://publica.fraunhofer.de/handle/publica/29075010.24406/publica-fhg-290750Accent ist ein moderner Compiler-Compiler, der die Restriktionen klassischer LALR- und LL-Systeme vermeidet. Accent kann die "natürliche" Grammatik einer Sprache bearbeiten, eine Anpassung an eine spezifische Parser-Technologie ist nicht erforderlich.Accent is a modern compiler compiler that avoids the restrictions of classical LALR and LL systems. Accent can process the "natural" grammar of a language, adaption to a specific parsing technology is not required.Contents S.5-6 1 Introduction S.7-8 - 1.1 Compiler Compilers S.7 - 1.2 Yacc and Other Compiler Compilers S.7 - 1.3 The Accent Compiler Compiler S.7-8 2 How to Describe Languages S.9-13 - 2.1 Grammars S.9 - 2.2 Lexical Elements S.9-10 - 2.3 A Grammar for Expressions S.11-13 3 How to Assign Meaning S.14-19 - 3.1 Semantic Actions S.14-15 - 3.2 Attributes of Nonterminals S.15-17 - 3.3 Attributes of Tokens S.17 - 3.4 Global Prelude S.18 - 3.5 Rule Prelude S.18 - 3.6 A Calculator S.19 4 How to Abbreviate Speci cations S.20-22 - 4.1 Extended Backus Naur Form S.20 - 4.2 Local Alternatives S.20 - 4.3 Optional Elements S.21 - 4.4 Repetitive Elements S.22 5 How to Resolve Ambiguities S.23-28 - 5.1 Ambiguities S.23-24 - 5.2 Ambiguities Between Alternatives S.24-26 - 5.3 Ambiguities Inside Alternatives S.26-28 6 Language Reference S.29-37 - 6.1 Conventions S.29 - 6.2 Grammar S.29 - 6.3 Global Prelude S.29-30 - 6.4 Token Declarations S.30 - 6.5 Rule Part S.30-31 - 6.6 Left Hand Side S.31-33 - 6.7 Right Hand Side S.33-35 - 6.8 Nonterminal and Terminal Symbols S.35-36 - 6.9 Structured Members S.36-37 - 6.10 Semantic Actions S.37 7 Getting Started S.38 - 7.1 Download and Unpacking S.38 - 7.2 Installation S.38 - 7.3 A First Example S.38 8 Usage S.39-43 - 8.1 Overview S.39 - 8.2 Accent S.39-40 - 8.3 Lex S.40-41 - 8.4 Auxiliary Functions S.41-42 - 8.5 Accent Runtime S.42 - 8.6 Compiling and Linking S.42-43 9 Cooperation with Lex S.44-47 - 9.1 The Scanner Function S.44 - 9.3 The Attribute of a Token S.44-45 - 9.4 The Lex Speci cation S.45 - 9.5 The Accent Speci cation S.46 - 9.6 Tracking the Source Position S.46-47 10 Algorithms S.48-53 - 10.1 Overview S.48 - 10.2 Exhaustive Parsing S.48-50 - 10.3 Predictive Parsing S.50-52 - 10.4 Combined Parsing S.52-53 - 10.5 Structure Information S.53 11 References S.54enProgrammierspracheFachspracheSyntaxanalyseprogramming languagedomain specific languagesyntax analysis004006The ACCENT compiler compiler. Introduction and referencebook