Git Product home page Git Product logo

Comments (1)

imrehorvath avatar imrehorvath commented on July 18, 2024

Hello @alexshendi !

Thanks for experimenting with this old project! As stated, it was a former programming project issued at UCB. This repository contains my solution to that programming project. Gambit scheme came into the picture only because of the need for a scheme interpreter which runs in the browser. Fortunately, Marc Feeley has created one.

I don't know what your intention is, but you can use the official Berkeley Logo standalone executable, if you want to play with the Berkeley Logo dialect. This project was not meant to produce an efficient, production Logo interpreter. The goal was to learn how to write a Logo interpreter in a language which has a lot in common with Logo itself.

Some comments to your changes.

  • The exit-logo is a continuation, which essentially drops you back to the place, from where you've called the driver-loop procedure. It is not meant to exit the scheme interpreter completely.
  • The logo-load procedure deals with reading from files, including the eof-object?-check. The line-obj class is not meant to do that. It is meant to hold the "line" for parsing.
  • The maybe-num procedure is called indirectly and is used by the arithmetic primitives.
  • The rest you've changed like macro-definitions and some procedures are with the supplied code by UCB for the project.

from cs61a.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.