Code Monkey home page Code Monkey logo

Comments (2)

samuelgruetter avatar samuelgruetter commented on August 19, 2024

LiveVerif.v ends in the middle of a section:

This is intended, and therefore LifeVerif.v is excluded from the build. You should never try to build LifeVerif.v on its own.

LifeVerif.v contains a lot of setup code (such as setting up a Ring that depends on section variables) that I don't want to repeat in every file, and setup code that depends on section variables also can't be put into a file that other files then Import, so I use Load. The files (currently only 1) doing Load LiveVerif. are not syntactically balanced wrt Section and End: The opening of the Section LiveVerif happens through the Load, whereas the End LiveVerif is directly in the file, so I guess tools which want to parse or analyze this file and care about well-balanced Section/End need to inline Loaded files, sorry for breaking your tool Jason... 😉

from bedrock2.

JasonGross avatar JasonGross commented on August 19, 2024

sorry for breaking your tool Jason... 😉

The biggest problem is that coqc will dump locations from the loaded file into the glob file for the file doing the loading, and of course using locations from LiveVerif.v when dealing with swap.v makes no sense. The secondary problem is that my tool doesn't know how to inline Load, in large part because the .glob file contains no information about which file Coq actually picked up to inline.

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.