Giter Site home page Giter Site logo

Comments (6)

NoteBookie avatar NoteBookie commented on July 20, 2024 1

S -> a A
A-> S + A | S * A | ε
(I thought it worked.)

from dragon-book-exercise-answers.

sudheesh001 avatar sudheesh001 commented on July 20, 2024

Precisely, I think this change has to be made. @fool2fish

from dragon-book-exercise-answers.

NoteBookie avatar NoteBookie commented on July 20, 2024

what's the reason for 'a' to stay in FOLLOW(S)? If it does, you will get a conflict at M[A, a].

from dragon-book-exercise-answers.

zackszhu avatar zackszhu commented on July 20, 2024

@NoteBookie yeah 'a' should be removed

from dragon-book-exercise-answers.

Yudezhi avatar Yudezhi commented on July 20, 2024

No! I think 'a' should be put in,it's what the question asked.the @NoteBookie did is how to fix it.Here what we should do is get the follow set by the rule.

from dragon-book-exercise-answers.

theo-one avatar theo-one commented on July 20, 2024

'a' shouldn't be in FOLLOW(s) @Yudezhi

from dragon-book-exercise-answers.

Related Issues (20)

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.