Coder Social home page Coder Social logo

Comments (14)

ejgallego avatar ejgallego commented on June 15, 2024

Thanks for reporting, what are the important options, paths? In this regard I plan to reuse the jsCoq package format.

I think I will add a _CoqProject parser to serapi for now, but I need to think for a couple of days.

from coq-serapi.

psteckler avatar psteckler commented on June 15, 2024

For my use case, the flags to map physical directories to logical paths is important.

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

@psteckler unfortunately I won't have time this week to work on this and #19.

However, SerAPI already supports the (LibAdd ($L1 ... $Ln) $path $has_ml), so you should be able to add load paths using:

(LibAdd (UniCoq) "/home/unicoq/" false)

as a substitute of Add LoadPath, but I admit it is a bit painful.

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

By the way SerAPI master is the right branch to use these days after EConstr.

from coq-serapi.

psteckler avatar psteckler commented on June 15, 2024

Can I just put Add LoadPath in my script, then, and not bother with command-line arguments to do the mapping? Is there any reason I can't pass Add LoadPath to SerAPI's Add?

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

No reason at all, that should work and I use it all the time indeed.

from coq-serapi.

psteckler avatar psteckler commented on June 15, 2024

Great, I'll try that.

from coq-serapi.

psteckler avatar psteckler commented on June 15, 2024

By the way SerAPI master is the right branch to use these days after EConstr.

Which branch of your Coq repo does that go with? Is it still stm+parsing_api, or do I now use trunk?

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

The current "good" combination is SerAPI trunk + Coq trunk. I hope it will stay that way for a while.

from coq-serapi.

psteckler avatar psteckler commented on June 15, 2024

Good, that's easy to remember. :-)

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

:D I guess I'll add a note to the README stating that for the development version .travis.yml should give you the information in the most reliable way.

from coq-serapi.

psteckler avatar psteckler commented on June 15, 2024

I just looked at the .travis.yml file.

It looks like I can just use trunk from the main Coq repo, rather than your fork, for SerAPI.

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

Indeed, sorry if I was not able to explain that properly. It is also highly recommended you update your findlib.conf so you can find the correct coq packages automatically for merlin.

from coq-serapi.

ejgallego avatar ejgallego commented on June 15, 2024

I don't plan to support _CoqProject anymore; likely further support will come from querying Dune-enabled Coq packages, meanwhile users will have to extract -R / -Q from _CoqProject.

from coq-serapi.

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.