Patrick Thomson
f0567fdd20
De-suffix dropSource and takeSource.
2019-09-20 15:56:43 -04:00
Patrick Thomson
7b599a6499
Use Source.Source instead of Data.Source.
2019-09-20 15:51:49 -04:00
Patrick Thomson
d929a8c78a
Make Data.Source reexport Source.Source.
2019-09-20 15:39:39 -04:00
Rob Rix
1d5e15010f
Switch everything over to using Source.Range.
2019-09-20 14:28:25 -04:00
Rob Rix
b1fe3e6073
🔥 a bunch of redundant imports.
2019-07-15 15:23:29 -04:00
Patrick Thomson
0564b9d36c
Eliminate mtl dependency.
2019-06-20 13:50:50 -04:00
Patrick Thomson
2cefe29fbc
no partial type sigs necessary
2019-06-20 12:58:16 -04:00
Patrick Thomson
40e5adfdb0
Further simplifications.
2019-06-20 10:37:02 -04:00
Patrick Thomson
17407c0c9d
Initial port from machines to streaming.
2019-06-20 09:41:27 -04:00
joshvera
29b774c22d
WIP async effect
2019-03-12 18:41:20 -04:00
Patrick Thomson
2fa32624ac
lints
2019-03-06 10:43:12 -05:00
Patrick Thomson
8285c3f680
WIP
2019-03-04 12:00:19 -05:00
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