`

illustrate how to implement a lisp interpreter

 
阅读更多

illustrate how to implement a  lisp interpreter,see pic

1.lexer:

lexer read and translate the input string  "(+ 1 2 )"  into tokens.(Pair)

2.parser:

parser translate the tokens into AST(abstract syntax tree)

3.evaluator:

evaluator evaluate the AST to a result.

4 return the result==>3,done. so easy!:)

  • 大小: 2.5 MB
分享到:
评论

相关推荐

    How to write illustrate a scientific paper by Bjorn Gustavii (z-lib.org).pdf

    《如何撰写和插图科学论文》一书由Bjorn Gustavii撰写,该书的第二版为初学者及有经验的作者在生物医学各个领域呈现他们的研究成果提供了有效的指导。本书保留了上一版易于阅读和结构清晰的特点,并增加了关于如何...

    Common LISP A Gentle Introduction to Symbolic Computation

    This highly accessible introduction to Lisp is suitable both for novices approaching their first programming language and experienced programmers interested in exploring a key tool for artificial ...

    Loving Lisp

    - **Example Macro**: A simple example to illustrate macro usage. - **Splicing Operator**: Using the splicing operator to insert lists into other lists. - **Macro Expansion**: Understanding how macros ...

    Common LISP: A Gentle Introduction to Symbolic Computation 2013最新版

    This highly accessible introduction to Lisp is suitable both for novices approaching their first programming language and experienced programmers interested in exploring a key tool for artificial ...

    Apache Beam 2019 Programming Guide.pdf

    Apache Beam 2019 Programming Guide... As the programming guide is filled out, the text will include code samples in multiple languages to help illustrate how to implement Beam concepts in your pipelines.

    How.to.Do.Everything.with.JavaScript

    This friendly, solutions-oriented guide is filled with step-by-step examples that illustrate how to write basic to advanced JavaScript applications, as well as modify existing scripts to suit ...

    matlab编写有限元程序(英文)

    用matlab编写有限元程序The goal ...is presented to illustrate how to program the nite element method. The example program and supporting les are available at http://www.tam.northwestern.edu/jfc795/Matlab/

    hadoop in action

    HIGHLIGHT Hadoop in Action is an example-rich tutorial that shows developers how to implement data-intensive distributed computing using Hadoop and the Map- Reduce framework. DESCRIPTION Hadoop is an ...

    mastering-spring-cloud2018

    how to migrate to a microservices application. Chapter 2, Spring for Microservices, will introduce you Spring Boot framework. You will learn how to effictively use it to create microservice ...

    Hadoop in Action

    HIGHLIGHT Hadoop in Action is an example-rich tutorial that shows developers how to implement data-intensive distributed computing using Hadoop and the Map- Reduce framework. DESCRIPTION Hadoop is an ...

    Microsoft SQL Server 2014 Business Intelligence Development(PACKT,2014)

    It will illustrate how to use SSIS for ETL, and MDS and DQS for data governance and data quality. The book is packed with real-world examples that will give you a good understanding of the BI and DW ...

    Mastering ROS for Robotics Programming - Second Edition[www.rejoiceblog.com].pdf

    Through a series of examples, we will illustrate how to debug a node and visualize the messages published through a topic. Chapter 3, Visualization and Debugging Tools, goes a step further in order ...

    Specification by Example - How Successful Teams Deliver the Right Software

    - **Developers**: Learn how to implement Specification by Example in their projects. - **Testers**: Understand how to create effective automated tests based on examples. - **Analysts**: Discover ...

    Foundations for Analytics with Python O-Reilly-2016-Clinton W. Brownley

    The examples illustrate how to carry out some of the most common database operations, including creating a database and table, loading data in a CSV input file into a database table, updat‐ ing ...

    Illustrate! 5.8 for 3DS MAX (64-bit)

    《Illustrate! 5.8 for 3DS MAX (64-bit) 插件详解及应用》 在3D建模和动画制作领域,3DS MAX是一款广泛应用的专业软件,其强大的功能和广泛的兼容性深受设计师们的喜爱。而Illustrate! 5.8 for 3DS MAX(64-bit)...

Global site tag (gtag.js) - Google Analytics