1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 12:21:57 +03:00
Commit Graph

656 Commits

Author SHA1 Message Date
Rob Rix
8610f62707
Don’t print a name with lambdas, we’re using de Bruijn for this. 2019-06-26 10:43:55 -04:00
Rob Rix
d8a76ee1e2
Give an alternative definition of prettify using gfold. 2019-06-26 10:38:07 -04:00
Rob Rix
cea99d2aae
Specialize the type of the k parameter. 2019-06-26 10:07:07 -04:00
Rob Rix
6e5d4baa5f
Decompose sequences deeply. 2019-06-26 08:41:25 -04:00
Rob Rix
4b11270791
Decompose sequences. 2019-06-26 08:41:15 -04:00
Rob Rix
4c439f9ae7
Spacing. 2019-06-25 23:03:11 -04:00
Rob Rix
6dec2691da
Improve sharing. 2019-06-25 21:49:12 -04:00
Rob Rix
56336ae59a
Rename the dist parameter to k. 2019-06-25 21:42:35 -04:00
Rob Rix
8e000365a1
🔥 the dependency on recursion-schemes. 2019-06-25 21:31:25 -04:00
Rob Rix
df2355d277
Fix naming across the board. 2019-06-25 21:30:54 -04:00
Rob Rix
2ad9b569dd
Unpack lambdas. 2019-06-25 21:17:46 -04:00
Rob Rix
d9dd852738
Rename gfoldT to gfold. 2019-06-25 21:16:43 -04:00
Rob Rix
e73f8fe345
Pretty-print using the new shapes. 2019-06-25 18:33:06 -04:00
Rob Rix
9790468ada
Define instantiation of Core terms. 2019-06-25 18:31:28 -04:00
Rob Rix
bde447c040
Export lam. 2019-06-25 18:30:59 -04:00
Rob Rix
a2c4ddad34
Correct a comment. 2019-06-25 18:30:03 -04:00
Rob Rix
978f66aca6
🔥 the base functor. 2019-06-25 18:21:57 -04:00
Rob Rix
1240265cde
Make Core scope-safe. 2019-06-25 18:01:56 -04:00
Rob Rix
ba8de743a0
Beautify. 2019-06-25 17:47:31 -04:00
Rob Rix
9db69d80fa
Add some helpers for Incr. 2019-06-25 17:39:15 -04:00
Rob Rix
1e3b473fc7
Define an Incr datatype for scoping. 2019-06-25 17:37:59 -04:00
Rob Rix
ffdefb05e9
Fix the doctest for concrete. 2019-06-25 14:27:50 -04:00
Rob Rix
58d819f81a
Turn on overloaded strings in the doctests. 2019-06-25 14:26:46 -04:00
Rob Rix
ce1d209b5e
Correct the doctest runner. 2019-06-25 14:24:49 -04:00
Rob Rix
2009e4ab93
Fix the IsString instance. 2019-06-25 14:21:42 -04:00
Rob Rix
2f077365e2
Generate Text. 2019-06-25 14:21:36 -04:00
Rob Rix
6097e4509e
🔥 an obsolete FIXME. 2019-06-25 13:13:05 -04:00
Rob Rix
31d396ee91
Merge branch 'master' into semantic-python 2019-06-17 10:54:55 -04:00
Jan Hrček
915937c4be Fix some hlint warnings 2019-06-16 13:40:13 +02:00
Rob Rix
30fd1b4abf
Merge branch 'master' into remove-orphan-bytestring-listable 2019-06-14 16:34:13 -04:00
Patrick Thomson
e1d94f07d1 Remove Listable instance for Source.
This was created with a whole mess of Leancheck combinators. A
Hedgehog approach makes things easier.
2019-06-14 11:53:42 -04:00
Patrick Thomson
668d1f396f Require Cabal 2.4. 2019-06-13 14:20:22 -04:00
Rob Rix
e9968caa45
Use Text for gensym’d names. 2019-06-12 10:55:04 -04:00
Rob Rix
06e3c7f0be
Factor the common bits of the string out. 2019-06-12 10:52:26 -04:00
Rob Rix
1bd25ace27
Represent user variables as Text. 2019-06-12 10:51:17 -04:00
Rob Rix
7583226a55
Represent paths as Text. 2019-06-12 10:43:54 -04:00
Rob Rix
be842df923
Represent strings as Text. 2019-06-12 10:39:54 -04:00
Rob Rix
afa8b7914b
Wrap. 2019-06-11 11:39:59 -04:00
Rob Rix
b8d5747941
We’re only supporting 8.6 at present anyway. 2019-06-11 11:38:55 -04:00
Rob Rix
b09e1a65ba
Add a description to semantic-core. 2019-06-11 11:26:47 -04:00
Rob Rix
d09ab401c0
Add stability fields to core & python. 2019-06-11 11:25:20 -04:00
Rob Rix
40e9999b02
Add bug-reports fields. 2019-06-11 11:23:38 -04:00
Rob Rix
e4e5370296
Correct some fields for Core. 2019-06-11 11:07:57 -04:00
Patrick Thomson
79fa92e9e6 Bump minimum base version to 4.12.0.0.
This should hopefully provide a more informative error message when
someone attempts to build the project with too old of a GHC.
2019-06-05 10:38:51 -04:00
Patrick Thomson
b135c62444 Address @robrix's suggestions. 2019-06-04 14:19:35 -04:00
Patrick Thomson
01a4bd2ed4 Label compound and assignment parsers and use infix chainl1. 2019-06-04 11:34:49 -04:00
Patrick Thomson
e9b0c4548f Remove unused language extensions. 2019-06-04 11:32:45 -04:00
Patrick Thomson
11a5217f45 Enable tests. 2019-06-04 11:26:42 -04:00
Patrick Thomson
2b446df225 Add pretty-printer. 2019-06-04 10:54:39 -04:00
Patrick Thomson
e8ac13f098 Institute parser for Core.
I tried to pull the history from this patch over but I was not able to
figure out how to resolve conflicts from `git am`.
2019-06-03 16:09:47 -04:00
Rob Rix
937505e04f
Move Semantic.Core to Data.Core. 2019-06-03 11:47:03 -04:00
Rob Rix
34d7727ae7
Move Semantic.Name to Data.Name. 2019-06-03 11:45:12 -04:00
Rob Rix
7559eed761
Move Semantic.Eval to Analysis.Eval. 2019-06-03 11:40:37 -04:00
Rob Rix
f955ecbb6e
Move Semantic.Eval.* to Analysis.*. 2019-06-03 11:38:42 -04:00
Rob Rix
6dfa21bbbd
Rename Semantic.Data.Stack to Data.Stack. 2019-06-03 11:36:36 -04:00
Rob Rix
23ba75ba79
Copy in the semantic-core sources. 2019-06-03 11:34:15 -04:00