Coder Social home page Coder Social logo

Comments (9)

spitters avatar spitters commented on June 22, 2024

What would go into getting it to work again? @VincentSe has a cool application in mind.

from corn.

VincentSe avatar VincentSe commented on June 22, 2024

@gares @spitters According to the documentation
https://coq.github.io/doc/master/refman/practical-tools/utilities.html
The VERNAC EXTEND must be in a mlg file for preprocessing, so dump.ml cannot work anymore.

from corn.

spitters avatar spitters commented on June 22, 2024

This should now be rewritten as a plugin, which I hope would not be too difficult.

from corn.

gares avatar gares commented on June 22, 2024

This is a small totorial for writing plugins: https://github.com/coq/coq/tree/master/doc/plugin_tutorial

from corn.

VincentSe avatar VincentSe commented on June 22, 2024

@spitters @gares Indeed, we can run the ocaml compiler by putting dump.ml inside g_tuto0.mlg. And we then see multiple errors

  • modules Topconstr, Pretyping.Default and Tactic no longer exist
  • pp function names changed, I am not sure which ones to call now
  • Reductionops changed, I tried rewriting it by this (Reductionops.nf_all env Evd.empty c) but it fails with This expression has type (EConstr.constr -> Tacticals.tactic) -> Tacticals.tactic but an expression was expected of type EConstr.constr = Evd.econstr. I have no clue what that means.

from corn.

gares avatar gares commented on June 22, 2024

If you publish your wip branch I can look at it.

from corn.

VincentSe avatar VincentSe commented on June 22, 2024

@gares Here is the branch
https://github.com/coq-community/corn/tree/FixDump
At the moment it is just a copy of tuto0 into dump. The code in dump.ml was moved into g_tuto0.mlg, type make in folder dump to build and see the errors. I'll rename tuto0 when it compiles and works.

from corn.

VincentSe avatar VincentSe commented on June 22, 2024

Hello @gares, did you look at the branch I sent you ?

from corn.

gares avatar gares commented on June 22, 2024

Sorry I was on VAC. I see you merged the branch, cool!

from corn.

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.