xavierleroy / coq2html Goto Github PK
View Code? Open in Web Editor NEWAn HTML documentation generator for Coq source files
License: GNU General Public License v2.0
An HTML documentation generator for Coq source files
License: GNU General Public License v2.0
Dear Xavier,
@palmskog requested here: (coq/platform#17) to include your development into the Coq Platform, which is the standard user facing distribution of Coq.
Coq Platform has a "full" and "extended" level. Inclusion in the "full" level requires an explicit statement by the maintainers, that they agree to the charter of the Coq Platform and intend to publish compatible releases for each release of Coq in a reasonable time frame. For the "extended" level the rules are more relaxed. For developments in the "full" level, users should be able to rely on that the package is maintained, so that they can base their own development on it without a large risk that they have to factor it out again later cause of maintenance issues.
Can you please comment in the Coq Platform issue mentioned above if you do want your package included in the Coq Platform in agreement to the Coq Platform charter, and if so which level you would prefer?
Best regards,
Michael
coq2html gets confused when unicode characters are used in identifiers. Here is a small example
Inductive ωtruth :=
| ωtrue : ωtruth
| ωfalse : ωtruth
| otrue : ωtruth
| ofalse : ωtruth.
Definition otruth := ωtruth.
Reserved Notation "'¬' t" (at level 50).
Definition ωneg (ω:ωtruth) : ωtruth :=
match ω with
| ωtrue => ωfalse
| ωfalse => ωtrue
| otrue => ofalse
| ofalse => otrue
end.
Notation "'¬' x" := (ωneg x).
Definition oneg := ωneg.
Lemma ωdoubleneg :
forall (ω:ωtruth), ¬(¬ω) = ω.
Proof.
destruct ω; reflexivity.
Qed.
Lemma odoubleneg :
forall (o:otruth), oneg (oneg o) = o.
Proof.
destruct o; reflexivity.
Qed.
The o
-prefixed identifiers are handled properly but not the ω
-prefixed ones.
It would be nice to have the Variant
keyword recognized, and highlighted as the Inductive
keyword in the output html.
Currently, this doesn't seem to be the case. The fix may be as simple as adding it to the coq_keywords set.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.