Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Build Your Own Programming Language - A programmer's guide to designing compilers interpreters and DSLs for modern computing problems - cover

Build Your Own Programming Language - A programmer's guide to designing compilers interpreters and DSLs for modern computing problems

Clinton L. Jeffery

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

There 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.
Available since: 01/31/2024.
Print length: 556 pages.

Other books that might interest you

  • Ultramarine 2023 - Stories from the oceanic frontline - cover

    Ultramarine 2023 - Stories from...

    Drew Rooke, Ellen Phiddian,...

    • 0
    • 0
    • 0
    Welcome to Ultramarine, which takes a deep dive into the science seeking to understand and protect our precious aquatic world. As anyone who’s rolled out of a boat in diving or snorkelling gear into deep water knows, there’s nothing as thrilling as entering the ocean and peering inside it. 
    Whether in warm tropical waters or the shiver- inducing briny of temperate and lower marine environments, Earth’s oceans and seas brim with life, wonder and mystery. As 2023 ticks to a close, we wanted to showcase some of the stories that have appeared this year under the Ultramarine banner, and an e-yearbook seemed the perfect vehicle. We have published some 120 stories with a marine focus over the past 9 months; a small selection of those appears in this yearbook.
    Show book
  • Unlocking Hidden Patterns: The Art of Data Interpretation - Empowering Decisions with Analytical Precision - cover

    Unlocking Hidden Patterns: The...

    Rachel Thompson

    • 0
    • 0
    • 0
    Data isn’t just numbers — it’s a map to the future. 
    In Unlocking Hidden Patterns: The Art of Data Interpretation, Rachel Thompson reveals how to transform raw data into insights that drive smarter decisions, sharper strategies, and lasting competitive advantage. 
    Inside this audiobook, you’ll discover:Data Fundamentals: Core principles and techniques for interpreting complex datasets with clarity.Pattern Recognition and Predictive Analytics: Methods to spot trends early and make accurate forecasts.Decision-Making Tools: Proven frameworks to convert data into actionable strategies.Real-World Applications: From business to personal finance, see how data powers decisions every day.The Data Thinker’s Mindset: Build confidence, reduce errors, and strengthen analytical intuition. 
    Whether you’re just beginning your journey into data or seeking to sharpen your expertise, this audiobook equips you with the tools to make data work for you. Instead of being overwhelmed, you’ll learn to see what others miss — and use it to shape smarter outcomes. 
    Unlocking Hidden Patterns is your essential guide to mastering the art of data interpretation and building a future defined by insight and precision.
    Show book
  • Fighting Phishing - Everything You Can Do to Fight Social Engineering and Phishing - cover

    Fighting Phishing - Everything...

    Roger A. Grimes

    • 0
    • 0
    • 0
    Fighting Phishing: Everything You Can Do to Fight Social Engineering and Phishing serves as the ideal defense against phishing. Unlike most anti-phishing books, which focus only on one or two strategies, this book discusses all the policies, education, and technical strategies that are essential to a complete phishing defense. This book gives clear instructions for deploying a great defense-in-depth strategy to defeat hackers and malware. Written by the lead data-driven defense evangelist at the world's number one anti-phishing company, KnowBe4, Inc., this guide shows you how to create an enduring, integrated cybersecurity culture. 
     
     
     
    ● Learn what social engineering and phishing are, why they are so dangerous to your cybersecurity, and how to defend against them 
     
     
     
    ● Educate yourself and other users on how to identify and avoid phishing scams, to stop attacks before they begin 
     
     
     
    ● Discover the latest tools and strategies for locking down data when phishing has taken place, and stop breaches from spreading 
     
     
     
    ● Develop technology and security policies that protect your organization against the most common types of social engineering and phishing
    Show book
  • SIE Strategies for Clear Success - "Elevate your SIE exam prep with dynamic audio lessons for unbeatable test success!" - cover

    SIE Strategies for Clear Success...

    Kellan Briarwood

    • 0
    • 0
    • 0
    SIE Strategies for Clear Success 
    ⭐⭐ Simplified Techniques and Explanations Included ⭐⭐ 
    Are you striving to advance your career in finance and solidify your knowledge to excel in the SIE Exam? 
    Are you in search of a comprehensive guide that encompasses all the essential elements to succeed in the SIE Exam? 
    Your quest ends here! 
    This guide is your ultimate companion for enhancing your understanding, honing your skills, and engaging in practical exercises. With this resource, you’re set for success. 
    Updated to reflect the latest SIE Exam structure. 
    Key features of this enhanced guide: 
    - In-depth insights about the SIE Exam Certification 
    - Thorough explanation of the SIE Exam essentials 
    - Effective strategies for exam preparation and problem-solving 
    Our guide stands out with its comprehensive coverage, which is vital for your exam triumph. Concepts are explored in detail, ensuring you grasp the material thoroughly. 
    Please be aware that this guide is not affiliated with any official SIE entity; it is an independent resource dedicated to your success. 
    Crafted with a logical structure and straightforward language, our SIE Exam Guide guarantees seamless transitions between topics. Say farewell to complex jargon and embrace clear, precise, and technically sound content. 
    So, why delay? Click the BUY NOW button, secure your guide, and embark on your journey to SIE Exam success! 
    Achieve your goal of mastering essential skills for success in finance careers with this invaluable audiobook!
    Show book
  • Viralnomics - The Ultimate Guide on How to Go Viral! Learn All About Viral Marketing and the Elements of a Successful Viral Campaign - cover

    Viralnomics - The Ultimate Guide...

    Kade Marley

    • 0
    • 0
    • 0
    Viralnomics: The Ultimate Guide on How to Go Viral! Learn All About Viral Marketing and the Elements of a Successful Viral CampaignWhen you're planning your viral marketing strategy, it's important to keep in mind the basic requirements of every viral campaign. Without these, your stampede might turn out to be more like a leisurely stroll. Every single viral campaign begins with giving something away. It could be an ebook, a piece of software, an instructional video, or even a few laughs,  but it has to be free. And when we say free, we mean free. Not free with an opt-in or a free trial. It has to be really free, because you're going to encourage your customers to share it with their friends, and no one wants to tell their sister she has to sign-up for your list to get the cool thing you're giving away. Now that doesn't mean you're giving away the farm. But you do need to give away great stuff. There are lots of ways you can do that, while still leaving your customerswanting more.This audiobook will teach you how you can create viral campaigns for your business. You will learn what resources you can use, how to get started, the effective strategies to make sure your campaigns really go viral and not flop. This audiobook will discuss the following topics:- Viral Marketing For Your Online Businesses- How is Viral Marketing Unique- History and Viral Marketing Campaigns- Opportunities and Ideas- And many more!When you're planning your viral marketing strategy, it's important to keep in mindthe basic requirements which you will all learn here so scroll up and click “add to cart” now!
    Show book
  • 365 Ways You Can Save the Earth - Some Things You Can Do Every Day - cover

    365 Ways You Can Save the Earth...

    Michael Viner

    • 0
    • 0
    • 0
    Our earth home is in trouble: plastic pollution, acid rain, the greenhouse effect, ozone depletion, and hazardous waste all affect many processes that shape global climate and ecosystems. However, we don't have to go out with a whimper. We can fight back. Even better, we can win. The battlegrounds are our homes, schools, workplaces, and vacation spots. By changing our actions, we can stop the downward spiral. Here are more than 365 ways to be environmentally responsible, many of which are easy. Everything you do makes a difference. That's power—practical power—and all you have to do is use it.
    Show book