Comments (14)
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.
For my use case, the flags to map physical directories to logical paths is important.
from coq-serapi.
@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.
By the way SerAPI master is the right branch to use these days after EConstr.
from coq-serapi.
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.
No reason at all, that should work and I use it all the time indeed.
from coq-serapi.
Great, I'll try that.
from coq-serapi.
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.
The current "good" combination is SerAPI trunk + Coq trunk. I hope it will stay that way for a while.
from coq-serapi.
Good, that's easy to remember. :-)
from coq-serapi.
: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.
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.
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.
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)
- Is sercomp broken in v8.16? HOT 2
- How to handle "Needs option -impredicative-set." HOT 3
- installation HOT 4
- what version of coq serapi works with coq 8.10.2? HOT 9
- what is the best version of coq-serapi that works with coq 8.12? HOT 5
- Please pick the version you prefer for Coq 8.17 in Coq Platform 2023.03 HOT 12
- Segfault on (Query () Goals) with sertop 8.15.0+0.15.3 HOT 4
- What is the purpose of coq-serapi's existance and why can't everything be done in coqtop? HOT 5
- Expose Section Variable Determining API in SerAPI HOT 6
- Incorrect goals when providing -topfile in sertop 8.10.0+0.7.2 HOT 2
- Please pick the version you prefer for Coq 8.18 in Coq Platform 2023.10 HOT 1
- Serlib testing needs to be improved.
- Missing conversion functions for types for the extraction plugin? HOT 3
- Can't run `make test` due to an error related to `eqType` HOT 4
- Windows PATH length (again) HOT 21
- macOS: serapi loads Coq .vo from compile time path HOT 5
- Run tests with MC 2 HOT 3
- Please pick the version you prefer for Coq 8.19 in Coq Platform 2024.01 HOT 5
- Segmentation fault in coq/getDocument call HOT 4
- New versioning scheme. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coq-serapi.