Commit Graph

33 Commits

Author SHA1 Message Date
Vladimir Kalnitsky
d5db431281 Extract module names from sources 2022-08-31 23:32:32 +04:00
Vladimir Kalnitsky
7593b0110f Add a ModuleParser 2022-08-31 23:32:32 +04:00
Vladimir Kalnitsky
e92258bdd2 Upgrade to 0.15.4. Temporary kill the tests, fix repo link in the app 2022-08-31 23:32:32 +04:00
Vladimir Kalnitsky
7ef455f041 Fix everything except toppoki tests 2022-08-31 23:32:32 +04:00
Vladimir Kalnitsky
66bffd8d29 Add KindedType 2022-08-31 23:32:32 +04:00
Vladimir Kalnitsky
6cc8a7f44b Add KindApp 2022-08-31 23:32:32 +04:00
Vladimir Kalnitsky
c22dc0b2a6
Updates for v0.14 (#46)
Co-authored-by: Fabrizio Ferrai <fabrizio.ferrai@gmail.com>
2021-04-15 22:15:05 +03:00
klntsky
226fc38555
Add puppeteer tests 2020-08-06 11:34:37 +03:00
klntsky
71f8a7591b Fix CLI autocompleter (now works correctly with capital letters). 2020-07-29 20:16:59 +03:00
klntsky
d502fcefc8 Wrap package scores and identifiers in newtypes 2020-07-27 22:24:32 +03:00
klntsky
fd2b46e83b Wrap ModuleName and PackageName strings into newtypes 2020-07-26 22:30:42 +03:00
klntsky
d4884c9842 Implement sort by package popularity for declarations
Allow searching for modules
2020-07-18 00:14:54 +03:00
Fabrizio Ferrai
0b262291f7
Consider something a builtin when there's no sourceSpan (#32)
* Consider something a builtin when there's no sourceSpan

* Refactor `extractPackageName`

* Use module name to check if a declaration is built-in

* Recognize `Prim` module as built-in; add tests

* Code style

Fix #31

Co-authored-by: Vladimir Kalnitsky <klntsky@gmail.com>
2020-01-18 14:08:01 +01:00
Vladimir Kalnitsky
363e001acb
Sort search results by popularity (#21)
Sort search results by popularity (based on number of package reverse dependencies).
2019-09-20 22:50:47 +03:00
Vladimir Kalnitsky
1681ac7371
Rendering comments as markdown; Add packages to the search index
* added: helpers to commands

* added: rendering comments as markdown

* Fix decoding errors for kind annotations in foralls.

https://travis-ci.com/spacchetti/starsuit/jobs/229423445#L2489

Fix missing kind annotations in foralls for type class members

E.g. Before:

reifyKeyAndValueSymbols' :: forall f l. ReifyKeyAndValueSymbols l => f l -> List (Tuple String String)

After:

reifyKeyAndValueSymbols' :: forall (f :: RowList -> Type) l. ReifyKeyAndValueSymbols l => f l -> List (Tuple String
String)

* Add packages to the search index
2019-09-06 10:17:48 +03:00
Vladimir Kalnitsky
4ce20e3251
added: CLI interface; added: search REPL (#5)
* added: CLI interface
added: search REPL

* added: shebang to the executable file

* added: automatic deployments

* better heuristics for package name detection

* added: previews
2019-07-21 17:29:43 +03:00
Vladimir Kalnitsky
6ba28b3de8
refactor IndexBuilder + some tests (#3) 2019-07-15 22:25:21 +03:00
klntsky
35bcbe8690
added: proper sorting for type queries
minor UI improvement
2019-07-15 00:01:12 +03:00
klntsky
410a14eb1f
fixed: IndexBuilder.writeIndex
renamed: Spago.Search -> Docs.Search
renamed: spago-search -> docs-search
2019-07-13 13:44:45 +03:00
klntsky
02a2d7bf1d
added: sorting by distance between type and type query
fixed: missing onClick handlers for links
added: FunDeps rendering
2019-07-02 00:32:21 +03:00
klntsky
9e4f2943a3
added: splitting index in parts 2019-07-01 13:10:11 +03:00
klntsky
426f236448
minor parser improvements 2019-06-29 02:31:14 +03:00
klntsky
62bd942bf0
a bunch of improvements 2019-06-28 23:15:13 +03:00
klntsky
f354ade0f7
added: TypeShape 2019-06-28 14:58:15 +03:00
klntsky
4e5570df7d
added: TypeQuery 2019-06-27 17:09:15 +03:00
klntsky
193cc44c67
moving things 2019-06-26 22:52:37 +03:00
klntsky
d6d355f530
added: type rendering
added: "Show more results" link
2019-06-26 21:36:33 +03:00
klntsky
849bcc0ec1
fixed ForAll 2019-06-26 11:27:55 +03:00
klntsky
a81a4d9630
finished type encoding & decoding 2019-06-26 11:18:54 +03:00
klntsky
5d24954f8f
fix RCons 2019-06-26 00:33:31 +03:00
klntsky
9ab05b15f2
added: type parser 2019-06-25 23:54:49 +03:00
klntsky
a6e84ee6fd
added: parser for kinds 2019-06-25 20:07:47 +03:00
klntsky
a1242d55ee
WIP 2019-06-23 14:44:49 +03:00