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

85 Commits

Author SHA1 Message Date
Rob Rix
034e2469ff Bump higher-order-effects. 2018-10-22 10:26:15 -04:00
Rob Rix
c9e6912068 Port most of the system over to higher-order-effects. 2018-10-16 18:48:08 -04:00
Timothy Clem
aa034e41bc Refactor back to just Range 2018-09-26 14:26:56 -05:00
Timothy Clem
38a4bb38f2 WIP - replace Record across the project
Not quiet there with Diff and decorators yet
2018-09-21 13:46:25 -07:00
Patrick Thomson
8e1ca410bb Remove Hungarian-style T- prefix from tokens and scopes.
Prefixes on data constructors are generally an antipattern in Haskell:
if you're concerned about name collisions, have clients use qualified
imports for whatever modules they need. As such, this removes the T-
prefixes from the `Token` and `Context` types. This also renames
Context to Scope, which is a more exact and readable name.
2018-09-19 12:38:48 -04:00
Patrick Thomson
c2bfde5c95 move Fragment into its own file for clarity's sake 2018-09-18 11:38:10 -04:00
Patrick Thomson
39d79fb882 remove boolean blindness 2018-09-13 15:18:24 -04:00
Patrick Thomson
c15be1c39d stylish-haskell 2018-09-12 12:33:02 -04:00
Patrick Thomson
fd4abae735 typos 2018-09-12 12:28:58 -04:00
Patrick Thomson
7129435dc8 Merge remote-tracking branch 'origin/master' into simplify-reprinter
also incorporates a number of changes. oops.
2018-09-12 12:14:01 -04:00
Patrick Thomson
a6b9b3624d Rename the Fragment constructor to Run 2018-09-12 11:51:14 -04:00
Patrick Thomson
d6eaae9555 further cleanup and refinement of tests 2018-09-12 11:46:41 -04:00
Patrick Thomson
d95d2a453e move compile 2018-09-12 11:22:09 -04:00
Patrick Thomson
a65b436775 Simplify contextualizing. 2018-09-11 19:00:05 -04:00
Patrick Thomson
0802e0a9f2 Use a deep embedding for Tokenize. 2018-09-11 18:54:37 -04:00
Timothy Clem
071d91f494 A typesetting that shows whitespace for help debugging 2018-08-28 10:32:43 -07:00
Timothy Clem
a923fb0938 Reworking space v tabs 2018-08-28 10:32:32 -07:00
Timothy Clem
0adb827343 Small docs fixes 2018-08-28 10:32:03 -07:00
Timothy Clem
16f6728d65 Get the ~> all headed in the same direction 2018-08-28 09:47:31 -07:00
Timothy Clem
9c673e2fcb s/TranslationException/TranslationError 2018-08-27 14:51:39 -07:00
Timothy Clem
d697c17626 Just lining things up 2018-08-24 15:26:09 -07:00
Timothy Clem
d2a4257f94 Get rid of the underscore names 2018-08-23 16:38:42 -07:00
Timothy Clem
3f0b1e678f New names ftw 2018-08-23 16:10:32 -07:00
Timothy Clem
17fbceb17a Remove need for lens 2018-08-23 15:53:43 -07:00
Timothy Clem
d1cca96072 s/InvalidContext/UnbalancedPair 2018-08-23 15:53:43 -07:00
Timothy Clem
a8b9499692 Enable ability to run up to translating too 2018-08-22 16:26:48 -07:00
Timothy Clem
26576411d0 Work on the naming a bit here 2018-08-22 14:33:55 -07:00
Timothy Clem
3e0a6b95cc Lints, formatting, docs, cleanup 2018-08-22 13:35:40 -07:00
Timothy Clem
b9d66ebfa7 Move pure outside of case 2018-08-22 11:43:00 -07:00
Timothy Clem
67f652b4d7 Refactor to have 1 additional data representation in the pipeline 2018-08-22 11:30:03 -07:00
Timothy Clem
a1294e91f1 Docs and some renaming 2018-08-21 16:15:08 -07:00
Timothy Clem
5ac0b5a900 Continue to refine tokenize api with Ruby as example 2018-08-21 11:16:39 -07:00
Timothy Clem
f507e4f118 Flesh out tokenizing helpers a bit 2018-08-21 09:37:41 -07:00
Timothy Clem
9379865adc Just reformatting 2018-08-21 09:37:26 -07:00
Timothy Clem
4ecd10c8ed Make sure we handle unhandled in typesetting 2018-08-21 09:37:06 -07:00
Timothy Clem
cfa38c0a4a Helper function to run just to translating 2018-08-21 09:36:32 -07:00
Timothy Clem
8e9136fd57 Introduce concept of unhandled splices in the stream 2018-08-20 18:10:13 -07:00
Timothy Clem
634900a58c Function just to run the tokenizing step 2018-08-20 18:08:48 -07:00
Timothy Clem
c1b615d285 Some common tokenizing helpers 2018-08-20 18:08:24 -07:00
Timothy Clem
80ee53ed9d s/prettyPrint/tokenize 2018-08-20 10:38:03 -07:00
Timothy Clem
4e5983c5e0 Fix lints 2018-08-20 10:08:53 -07:00
Timothy Clem
92a15e2bcb Better docs and param naming 2018-08-20 09:58:28 -07:00
Timothy Clem
b5fdc2d079 New take on layout rules 2018-08-20 09:52:30 -07:00
Timothy Clem
d42d02fe62 Organize imports, not using TokenizerEffs 2018-08-20 09:52:19 -07:00
Timothy Clem
552d3fbaf2 Translator Monad 2018-08-20 09:51:29 -07:00
Timothy Clem
193e17b277 Docs and clean up imports 2018-08-20 09:03:51 -07:00
Timothy Clem
e417b5cbda We have entire context now 2018-08-20 09:03:43 -07:00
Timothy Clem
b9a3e3d254 Relax need for Eff 2018-08-20 09:03:23 -07:00
Timothy Clem
13e2ba2956 default JSON pipeline 2018-08-17 16:53:36 -07:00
Timothy Clem
933782ab78 Use machines a bit more directly 2018-08-17 16:21:55 -07:00