The lands platform: lan.guages and d.omain s.yntax
Autor: | Nick Papoulias |
---|---|
Rok vydání: | 2019 |
Předmět: |
Parsing
Programming language Computer science media_common.quotation_subject ComputingMilieux_PERSONALCOMPUTING Ambiguity computer.file_format computer.software_genre TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES Rule-based machine translation General purpose Abstract syntax Embedding Executable computer Associative property media_common |
Zdroj: | SLE |
DOI: | 10.1145/3357766.3359547 |
Popis: | Lan.d.s is a new solution for language design. From general purpose languages like Lise (short for (list (embedding)) to Domain-Specific Languages using the MOODs framework, and everything else in between. Lan.d.s is build around the formalism of Multi-Ordered Grammars, which are a possible alternative to CFGs and PEGs in wider use today. Multi- ordered grammars (or simply MOGs) aim for a better explo- ration of ambiguity, recursion, ordering and associativity during language design. They can be parsed using the Gray algorithm. After parsing in order to ease the production of executable code Lan.d.s introduces the Abstract Syntax Language (ASL), which is an OO solution for compile-time meta-programming. Finally in order to promote language ex- tension and re-use Lan.d.s employs GrammarTraits, as units of composition for both MOG rules and ASL actions. |
Databáze: | OpenAIRE |
Externí odkaz: |