`

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

    How to write illustrate a scientific paper

    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 ...

    PHP & MySQL in easy steps: Covers MySQL 8.0

    Examples illustrate how to store and retrieve Session Data, how to provide a Message Board, and how to create an E-Commerce Shopping Cart. This book assumes you have no previous experience of any ...

    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 ...

    Discover.the.aREST.Framework.1530779

    Each section also ends with a real world example to illustrate how you can use aREST for concrete projects. Table of Contents Chapter 1 Learning the basics of aREST Chapter 2 Build local ...

    Apress.Beginning.Android.C++.Game.Development.2013

    How to do professional level, quality game design, starting the Droid Runner case study that’s used throughout this book to illustrate the key concepts How to build a game engine How to write a ...

    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.

    LinkAccessToOracle

    paper is to explain how to configure a PC for the linkage and illustrate how to make the connection. The primary benefit of using Access to manipulate data is its rich interface to quickly design ...

    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 ...

    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 ...

    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 ...

    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 ...

    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 ...

    Genetic Programming Theory and Practice II - John Koza.pdf

    Chapters 10 through 21 illustrate how to use genetic programming to solve a wide variety of problems from a wide variety of fields. These chapters are divided as follows: • symbolic regression; ...

    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 ...

    Kenneth Reek - Pointers on C

    The author also gives an effective presentation of functions in C, particularly the construction of recursive functions, and he employs some useful diagrams to illustrate how the variables in a ...

Global site tag (gtag.js) - Google Analytics