The Syntax Construction Kit


Book Description

An accessible but incisive introduction to modern syntax and generative grammar, for conlangers and anyone interested in languages or linguistics. Syntax can be frustrating, because there are multiple schools that seem to fight over inessential things. I hope I can show you that this is normal for a new field, and that it actually makes syntax fun. New discoveries are being made, and you can participate- something that's a lot harder to do in, say, quantum mechanics. The emphasis here is on doing syntax-- learning how to make and how to evaluate syntactic arguments.What's in it? An introduction to the Chomsky Hierarchy, a classification of grammars that's used both in linguistics and computer science, as well as a comparison to other generative techniques, such as Markov text generators. A tour of Chomsky's methods- production rules and transformations- with overnight stays in the Syntactic Structures, X-bar, and Minimalist stages in his thought. A leisurely stroll through interesting bits of syntax: the English verbal complex, pronouns and other anaphors, relative clauses, quantifiers and more. The emphasis is on doing syntax- not just learning rules and drawing trees, but learning how syntactic arguments are made. An overview of alternatives to Chomsky's approach: generative syntax, cognitive linguistics, relational grammars, word grammar, construction grammar, Jackendoff's Simpler Syntax, and Comrie's universals. A chapter on production which asks, how real are these grammars? Do we really have syntactic categories and transformations in the brain, or in the genome? A chapter on how you can apply all this to your conlangs. The Syntactic Bestiary- an annotated list of transformations and constraints, which you can think about for conlanging, or use to evaluate syntactic theories. Plus, unlike most syntax textbooks, this one comes with a set of web toys so you can see the rules in action and write your own. It makes the ideas come alive much more than mere diagrams can.




Advanced Language Construction


Book Description

The sequel to the Language Construction Kit: learn more about constructed languages and about linguistics: logic, pidgins and creoles, sign languages, the linguistic life cycle, and a meaty step-by-step survey of morphosyntax. Create detailed and plausible languages for RPGs, fantasy and science fiction, movies, or video games... or just learn more about how languages work with the same accurate yet fun approach as the original LCK.




The Language Construction Kit


Book Description

A guide to creating realistic languages for RPGs, fantasy and science fiction, movies or video games, or international communication... or just an unusual way to learn about how languages work.




Describing Morphosyntax


Book Description

Of the 6000 languages now spoken throughout the world around 3000 may become extinct during the next century. This guide gives linguists the tools to describe them, syntactically and grammatically, for future reference.




The Conlanger's Lexipedia


Book Description

"This book is an essential reference on creating words. It's packed with etymologies, ideas on derivation, places you can diverge from English, and fascinating things to think about. Plus it contains the real-world knowledge you need to name everything from colors to elements, from kinship systems to guilds" -- Back cover.




Compiler Construction


Book Description

Compilers and operating systems constitute the basic interfaces between a programmer and the machine for which he is developing software. In this book we are concerned with the construction of the former. Our intent is to provide the reader with a firm theoretical basis for compiler construction and sound engineering principles for selecting alternate methods, imple menting them, and integrating them into a reliable, economically viable product. The emphasis is upon a clean decomposition employing modules that can be re-used for many compilers, separation of concerns to facilitate team programming, and flexibility to accommodate hardware and system constraints. A reader should be able to understand the questions he must ask when designing a compiler for language X on machine Y, what tradeoffs are possible, and what performance might be obtained. He should not feel that any part of the design rests on whim; each decision must be based upon specific, identifiable characteristics of the source and target languages or upon design goals of the compiler. The vast majority of computer professionals will never write a compiler. Nevertheless, study of compiler technology provides important benefits for almost everyone in the field . • It focuses attention on the basic relationships between languages and machines. Understanding of these relationships eases the inevitable tran sitions to new hardware and programming languages and improves a person's ability to make appropriate tradeoft's in design and implementa tion .




Build Your Own Programming Language


Book Description

Written by the creator of the Unicon programming language, this book will show you how to implement programming languages to reduce the time and cost of creating applications for new or specialized areas of computing Key Features Reduce development time and solve pain points in your application domain by building a custom programming language Learn how to create parsers, code generators, file readers, analyzers, and interpreters Create an alternative to frameworks and libraries to solve domain-specific problems Book Description The need for different types of computer languages is growing rapidly and developers prefer creating domain-specific languages for solving specific application domain problems. Building your own programming language has its advantages. It can be your antidote to the ever-increasing size and complexity of software. In this book, you'll start with implementing the frontend of a compiler for your language, including a lexical analyzer and parser. The book covers a series of traversals of syntax trees, culminating with code generation for a bytecode virtual machine. Moving ahead, you'll learn how domain-specific language features are often best represented by operators and functions that are built into the language, rather than library functions. We'll conclude with how to implement garbage collection, including reference counting and mark-and-sweep garbage collection. Throughout the book, Dr. Jeffery weaves in his experience of building the Unicon programming language to give better context to the concepts where relevant examples are provided in both Unicon and Java so that you can follow the code of your choice of either a very high-level language with advanced features, or a mainstream language. By the end of this book, you'll be able to build and deploy your own domain-specific languages, capable of compiling and running programs. What you will learn Perform requirements analysis for the new language and design language syntax and semantics Write lexical and context-free grammar rules for common expressions and control structures Develop a scanner that reads source code and generate a parser that checks syntax Build key data structures in a compiler and use your compiler to build a syntax-coloring code editor Implement a bytecode interpreter and run bytecode generated by your compiler Write tree traversals that insert information into the syntax tree Implement garbage collection in your language Who this book is for This book is for software developers interested in the idea of inventing their own language or developing a domain-specific language. Computer science students taking compiler construction courses will also find this book highly useful as a practical guide to language implementation to supplement more theoretical textbooks. Intermediate-level knowledge and experience working with a high-level language such as Java or the C++ language are expected to help you get the most out of this book.




The Syntax Workbook


Book Description

A valuable companion to Andrew Carnie’s Syntax: A Generative Introduction, 4th Edition, full of practice questions and engaging exercises to promote student comprehension Syntax: A Generative Introduction, Fourth Edition, is the leading textbook for undergraduate courses in the syntax, covering foundational topics such as universal grammar, parts of speech, constituency, trees, structural relations, binding theory, x-bar theory, and movement, as well as advanced subjects such as control theory, ellipsis, polysynthesis, incorporation, non-configurationality, and Merge. Written by Syntax author Andrew Carnie, The Syntax Workbook has been purposefully designed to support and complement the use of Syntax in the undergraduate classroom. The Syntax Workbook is the perfect companion to the author’s seminal textbook and contains updated practice material for every section of the text. This workbook: Includes exercises, practice questions, data analysis, and knowledge application questions for each section in Syntax: A Generative Introduction, Fourth Edition Features exercises and questions with full answers and explanations to assist students in learning to apply theory to practice Has been authored by leading figure in syntax Andrew Carnie to support classroom usage of Syntax: A Generative Introduction, Fourth Edition Works in concert with a student companion website, offering a robust selection of learning tools for the classroom Ideal for undergraduate courses in syntax, Syntax: A Generative Introduction, Fourth Edition, and The Syntax Workbook, Second Edition, together offer a perfect combination of thorough coverage and valuable practice. The workbook can be purchased on its own or in a set with the textbook. Available as a set with Syntax: A Generative Introduction, 4th Edition




Introducing Language Typology


Book Description

This textbook provides an introduction to language typology which assumes minimal prior knowledge of linguistics.




Current Approaches to Syntax


Book Description

Even though the range of phenomena syntactic theories intend to account for is basically the same, the large number of current approaches to syntax shows how differently these phenomena can be interpreted, described, and explained. The goal of the volume is to probe into the question of how exactly these frameworks differ and what if anything they have in common. Descriptions of a sample of current approaches to syntax are presented by their major practitioners (Part I) followed by their metatheoretical underpinnings (Part II). Given that the goal is to facilitate a systematic comparison among the approaches, a checklist of issues was given to the contributors to address. The main headings are Data, Goals, Descriptive Tools, and Criteria for Evaluation. The chapters are structured uniformly allowing an item-by-item survey across the frameworks. The introduction lays out the parameters along which syntactic frameworks must be the same and how they may differ and a final paper draws some conclusions about similarities and differences. The volume is of interest to descriptive linguists, theoreticians of grammar, philosophers of science, and studies of the cognitive science of science.