Henrik Böving
59e50943d6
feat: mark noncomputable defs and instances
2022-02-12 15:57:45 +01:00
Henrik Böving
d39b14cf7a
chore: bump toolchain, bye auto pure
2022-02-12 15:09:13 +01:00
Henrik Böving
00bf10c6f0
chore: bump toolchain
2022-02-09 22:45:28 +01:00
Henrik Böving
8059940c30
feat: class inductives
2022-02-06 20:14:36 +01:00
Henrik Böving
27f8b50763
feat: tag abbrevs
2022-02-06 17:28:56 +01:00
Henrik Böving
c2d18fe3b1
feat: tag declarations with unsafe and partial
2022-02-06 17:06:22 +01:00
Henrik Böving
5ef4ead859
Merge branch 'main' into equations
2022-02-05 02:31:00 +01:00
Henrik Böving
117c94031f
feat: equations for simple functions
...
Functions without pattern matching or wf recursion don't have
any equational lemma autogenerated for themselves so we have to
generate it explicitly. The implementation is largely adapted from
structural equation code in the compiler.
2022-02-05 02:26:03 +01:00
Henrik Böving
419c1eb1e6
feat: equations for instances
2022-02-04 22:48:08 +01:00
Henrik Böving
f54c192e6f
feat: equations
...
Equation implementation for definitions, right now lots of definitions
simply dont generate equational lemmata at all so lots are left
without them.
2022-02-04 22:36:34 +01:00
Henrik Böving
4d63f90449
feat: Custom structure ctors
...
Add the ability to show customly named structure constructors as well
as a little cosmetic change to how structure fields are displayed.
2022-02-02 12:53:04 +01:00
Gabriel Ebner
5ed0a8e99f
fix: do not show top-level modules twice in navbar
2022-01-20 15:38:48 +01:00
Gabriel Ebner
69b5ee76d3
chore: use attribute spreads
2022-01-20 15:38:48 +01:00
Gabriel Ebner
e350c16417
feat: `<div [attrArray] />`
2022-01-20 15:16:28 +01:00
Henrik Böving
9ac4eb5062
feat: imports, imported by
2022-01-16 14:22:53 +01:00
Henrik Böving
735bfa35a7
chore: update compiler version
2022-01-15 15:35:52 +01:00
Henrik Böving
4a3e22490f
fix: Printing of argument names with macro scopes
...
Previously we would print all names with macro scopes (after removing
the macro related stuff) which could cause confusion if for example
there was an actual parameter named `a` and one named `a` but
autogenerated by Lean itself. Now we only try to print names with
macro scopes iff they are names of type class parameters. Otherwise
the rest of the Expr is moved behind the :.
2022-01-15 15:12:55 +01:00
Henrik Böving
f7f8138e09
feat: basic source links
2022-01-14 13:36:41 +01:00
Henrik Böving
0754b43873
feat: fix links to inductive ctors and structure fields
2022-01-09 14:07:50 +01:00
Henrik Böving
6128791cce
chore: Sort the declarations internally already
2022-01-07 18:25:26 +01:00
Henrik Böving
2de568d5ca
feat: List of declarations in internal navbar
2022-01-07 17:43:49 +01:00
Henrik Böving
82f63cb613
feat: parameterize the URL root for links in the HTML
2022-01-07 10:56:39 +01:00
Henrik Böving
ec4d114b43
feat: show all declarations in the correct order
...
Closes : #7
2022-01-06 17:30:33 +01:00
Henrik Böving
b777250338
feat: list instances of classes
2022-01-06 14:51:46 +01:00
Henrik Böving
87f959e11d
feat: basic structure like information for classes
2022-01-06 14:28:41 +01:00
Henrik Böving
f71b2ee8b9
chore: Remove obsolete TODOs
2022-01-06 02:05:23 +01:00
Henrik Böving
8a58752c56
feat: display structures and their fields properly
2022-01-06 01:44:11 +01:00
Henrik Böving
3adb8e71d1
feat: Show inductive constructors properly
...
Closes : #2
2022-01-03 18:22:12 +01:00
Henrik Böving
02d8c528d9
feat: Show arguments of types of decls separately
2022-01-03 14:25:55 +01:00
Henrik Böving
5e0956c4b0
feat: Proper linking of all constants
...
Previously constants in function applications where either not linked
at all or linked in a weird way, this change fixes it by making use of
a (as of now umerged) compiler modification as well as Lean.Widget's
TaggedText.
2022-01-03 14:25:50 +01:00
Henrik Böving
0efbcd1f60
feat: Newline free HTML formatting
...
Some of the HTML elements we are generating are newline sensitive
which requires the HTML to String formatter to optionally omit
additional newlines.
2021-12-25 14:04:35 +01:00
Henrik Böving
d18e71966c
feat: Store Format instead of Syntax in DocInfo
2021-12-18 00:01:31 +01:00
Henrik Böving
4380fe088d
feat: Sanitize Syntax
2021-12-17 23:53:06 +01:00
Henrik Böving
3c01cf1e68
feat: Name linking
2021-12-17 17:20:44 +01:00
Henrik Böving
ef716c9351
chore: Use builtin Name methods instead
2021-12-17 17:04:56 +01:00
Henrik Böving
2df4891c9f
feat: Setup infrastructure for type HTMLifying
2021-12-17 15:59:43 +01:00
Henrik Böving
03ec9c2e1d
chore: Cleanup the JSX parser a bit
2021-12-17 15:59:33 +01:00
Henrik Böving
dc5c2ab92a
chore: Add an HtmlT if we need more monads later on
2021-12-17 15:59:04 +01:00
Henrik Böving
cb582aab57
feat: Some more progress logging
2021-12-15 12:02:05 +01:00
Henrik Böving
b019faf7ba
feat: An initial list of declarations and their kinds
2021-12-15 11:59:36 +01:00
Henrik Böving
2adf5125c1
feat: Fix outputs paths
2021-12-15 11:59:13 +01:00
Henrik Böving
d5915fcb13
Revert "feat: Fix siteRoot in JS"
...
This reverts commit dcd57e8c5f
.
2021-12-15 11:25:10 +01:00
Henrik Böving
dcd57e8c5f
feat: Fix siteRoot in JS
2021-12-15 09:32:21 +01:00
Henrik Böving
686f111438
chore: Split Output.lean into multiple files
2021-12-15 09:24:49 +01:00
Henrik Böving
551eeee09d
feat: import nav.js
...
Just a copy and paste + include in the template, it will most likely
have to be modified in the future.
2021-12-13 21:36:21 +01:00
Henrik Böving
ef8ecec0d7
feat: Implement visibility in the navbar
2021-12-13 21:27:08 +01:00
Henrik Böving
d2594669fa
feat: Revamp the hierarchy mechanism
...
Previously the hierarchy mechanism wouldn't show modules in files that
have names, equal to some directory with submodules.
2021-12-13 20:47:52 +01:00
Henrik Böving
9256aaa0fc
feat: 404 page and module hierarchy
2021-12-13 13:00:53 +01:00
Henrik Böving
5e5bbe6ffb
chore: Update lean toolchain
2021-12-12 13:38:31 +01:00
Henrik Böving
dbbe11da0a
chore: In file licensing
2021-12-12 13:38:31 +01:00