Code Monkey home page Code Monkey logo

Comments (7)

samuelgruetter avatar samuelgruetter commented on August 18, 2024

I agree! I think a separate makefile target is the way to go, I'll give it a shot this morning.

from bedrock2.

samuelgruetter avatar samuelgruetter commented on August 18, 2024

Ok so I did a bit of refactoring and added a Makefile target called ExprImp, so now you should be able to do what I just added to the REAMDE:

To build only the source language (ExprImp):

  • run make in the bbv directory
  • run make util in the riscv-coq directory
  • run make ExprImp in the bedrock2 directory

Please let me know if it works (or if I screwed something up 😉).

from bedrock2.

andres-erbsen avatar andres-erbsen commented on August 18, 2024

from bedrock2.

samuelgruetter avatar samuelgruetter commented on August 18, 2024

Both ExprImp and riscv-coq need some general utility stuff such as monads and a bitwidth typeclass, and I don't want to duplicate this utility code. Currently, this utility code lives in riscv-coq/src/util. I could move it into a separate repo, but I don't think this would add any value.

from bedrock2.

andres-erbsen avatar andres-erbsen commented on August 18, 2024

I tried factoring the semantics out further. Please review https://github.com/mit-plv/bedrock2/compare/semantics-refactor for style and not semantics and give me feedback on whether you think this is a good direction.

from bedrock2.

andres-erbsen avatar andres-erbsen commented on August 18, 2024

(Stalled on coq/coq#7892, thinking about how to proceed.)

from bedrock2.

andres-erbsen avatar andres-erbsen commented on August 18, 2024

This works now.

from bedrock2.

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.