Inicio > > Ciencias de la computación > Análisis y diseño de sistemas > Build your own Programming Language - Second Edition
Build your own Programming Language - Second Edition

Build your own Programming Language - Second Edition

Clinton L. Jeffery / Imran Ahmad

71,53 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2024
Materia
Análisis y diseño de sistemas
ISBN:
9781804618028
71,53 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Perelló (Valencia)
  • Librería Aciertas (Toledo)
  • El AlmaZen del Alquimista (Sevilla)
  • Librería Elías (Asturias)
  • Librería Kolima (Madrid)
  • Donde los libros
  • Librería Proteo (Málaga)

Learn to design your own programming language in a hands-on way by building compilers, using preprocessors, transpilers, and more, in this fully-refreshed second edition, written by the creator of the Unicon programming language.Purchase of the print or Kindle book includes a free PDF eBookKey Features- Takes a hands-on approach; learn by building the Jzero language, a subset of Java, with example code shown in both the Java and Unicon languages- Learn how to create parsers, code generators, scanners, and interpreters- Target bytecode, native code, and preprocess or transpile code into a high-level languageBook DescriptionThere are many reasons to build a programming language: out of necessity, as a learning exercise, or just for fun. Whatever your reasons, this book gives you the tools to succeed.You’ll build the frontend of a compiler for your language and generate a lexical analyzer and parser using Lex and YACC tools. Then you’ll explore a series of syntax tree traversals before looking at code generation for a bytecode virtual machine or native code. In this edition, a new chapter has been added to assist you in comprehending the nuances and distinctions between preprocessors and transpilers. Code examples have been modernized, expanded, and rigorously tested, and all content has undergone thorough refreshing. You’ll learn to implement code generation techniques using practical examples, including the Unicon Preprocessor and transpiling Jzero code to Unicon. You’ll move to domain-specific language features and learn to create them as built-in operators and functions. You’ll also cover garbage collection.Dr. Jeffery’s experiences building the Unicon language are used to add context to the concepts, and relevant examples are provided in both Unicon and Java so that you can follow along in your language of choice.By the end of this book, you’ll be able to build and deploy your own domain-specific language.What you will learn- Analyze requirements for your language and design syntax and semantics.- Write grammar rules for common expressions and control structures.- Build a scanner to read source code and generate a parser to check syntax.- Implement syntax-coloring for your code in IDEs like VS Code.- Write tree traversals and insert information into the syntax tree.- Implement a bytecode interpreter and run bytecode from your compiler.- Write native code and run it after assembling and linking using system tools.- Preprocess and transpile code into another high-level languageWho this book is forThis 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 design or construction courses will also find this book highly useful as a practical guide to language implementation to supplement more theoretical textbooks. Intermediate or better proficiency in Java or C++ programming languages (or another high-level programming language) is assumed.

Artículos relacionados

  • Innovations in XML Applications and Metadata Management
    As new concepts such as virtualization, cloud computing, and web applications continue to emerge, XML has begun to assume the role as the universal language for communication among contrasting systems that grow throughout the internet. Innovations in XML Applications and Metadata Management: Advancing Technologies addresses the functionality between XML and its related technolo...
    Disponible

    255,61 €

  • THEORY AND PRACTICE OF COMPUTATION
    MASAYUKI NUMAO JAIME SHIN-YA NISHIZAKI
     This is the proceedings of the Third Workshop on Computing: Theory and Practice, WCTP 2013 devoted to theoretical and practical approaches to computation. This workshop was organized by four top universities in Japan and the Philippines: Tokyo Institute of Technology, Osaka University, University of the Philippines — Diliman, and De La Salle University. The proceedings provide...
    Disponible

    138,85 €

  • DMN Cookbook
    Bruce Silver / Edson Tirelli
    Decision Model and Notation (DMN), the new standard for business decision modeling, is changing the methodology of business rules projects.  While its Decision Requirements Diagrams (DRDs) and decision tables can be used to create business requirements handed off to programmers in a traditional rule language, DMN is actually a complete rule language shared by business and IT.  ...
  • React 16 Tooling
    Adam Boduch
    ...
    Disponible

    64,76 €

  • HP Certified Systems Administrator (2nd Edition)
    Asghar Ghori
    Like the first edition of this book, the second edition also covers three main objectives ¿ to provide a comprehensive resource to individuals, including novice, IT/Non-HP-UX administrators, and HP-UX administrators who intend to take the new HP Certified Systems Administrator exam HP0-095 and pass it; to provide a quick and valuable on-the-job resource to HP-UX administrators,...
    Disponible

    58,77 €

  • Angular Design Patterns and Best Practices
    Alvaro Camillo Neto
    Unleash the full potential of Angular 17 to create more robust and feature-rich applications effortlesslyKey Features- Boost your Angular app development productivity by leveraging often-overlooked advanced features and best practices- Enhance the quality of your Angular applications by simplifying code- Gain practical knowledge through real-world examples of advanced Angular f...
    Disponible

    52,69 €