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

11885 Commits

Author SHA1 Message Date
Timothy Clem
bb71fd7b71 s/renderAsync/renderConcurrently 2017-04-24 07:37:41 -07:00
Timothy Clem
d38724f39b Write my own takeExtension 2017-04-24 07:37:32 -07:00
Rob Rix
de0cdc98aa Add SourcePos information to the tests. 2017-04-24 10:27:45 -04:00
Rob Rix
5500b7534e term can match empty lists by taking the current offset. 2017-04-24 10:19:15 -04:00
Rob Rix
59b7478caf 📝 AST. 2017-04-24 10:18:42 -04:00
Rob Rix
7868979cee 📝 Node. 2017-04-24 10:18:02 -04:00
Rob Rix
ec65a199dc Define a location combinator. 2017-04-24 10:17:10 -04:00
Rob Rix
25ebe64d83 Define state assignments. 2017-04-24 10:01:09 -04:00
Rob Rix
96affb1f05 Carry the current position through assignment. 2017-04-24 09:53:30 -04:00
Timothy Clem
5e9df83f9c Listable instance changes with move of debug flag 2017-04-21 18:07:30 -07:00
Timothy Clem
d4933b3aaf Easier way to get output dir 2017-04-21 18:07:16 -07:00
Timothy Clem
643a7a3581 Docs, order import, internal functions at the bottom 2017-04-21 18:06:56 -07:00
Timothy Clem
44dfa16bb5 Remove debug even tracing 2017-04-21 17:55:07 -07:00
Timothy Clem
779b6afde2 No longer need printTerms 2017-04-21 17:54:58 -07:00
Timothy Clem
190dca165d Turn on debug flag to send sourceText output for parse again 2017-04-21 17:46:59 -07:00
Timothy Clem
ca89087e1d Extract out a common async render and keep async stuff in Semantic 2017-04-21 16:41:46 -07:00
Timothy Clem
bd019104a8 First pass at parallel rendering! 2017-04-21 16:24:17 -07:00
Timothy Clem
980333f40d WIP - optimize concurrency 2017-04-21 15:40:37 -07:00
Timothy Clem
d5b9463a56 Collapse Parser.Language back into Semantic 2017-04-21 14:20:30 -07:00
Timothy Clem
f51798e4c8 Turn parseBlob tests back on in new Spec 2017-04-21 14:12:00 -07:00
Timothy Clem
78d376e256 Pair down command to just fs and git operations 2017-04-21 13:56:19 -07:00
Rob Rix
718ef34e71 assignAllFrom takes an AssignmentState. 2017-04-21 16:53:43 -04:00
Rob Rix
f09e0ba5cc Assign terms annotated with ranges & source spans. 2017-04-21 16:38:51 -04:00
Rob Rix
b99944556c Merge branch 'master' into run-assignment-with-source 2017-04-21 16:18:16 -04:00
Rob Rix
296d9bb03d Fix the tests. 2017-04-21 16:12:56 -04:00
Rob Rix
65176ffa6b Advance the state using a helper function. 2017-04-21 13:52:49 -04:00
Rob Rix
5643a0674d Define selectors for AssignmentState. 2017-04-21 13:48:55 -04:00
Rob Rix
626281b68b Define a type for assignments’ state. 2017-04-21 13:45:27 -04:00
Rob Rix
cfe0709649 Rename rest to nodes.
This clarifies that pure assignments don’t advance the state.
2017-04-21 13:42:12 -04:00
Rob Rix
92a3a9c95f Advance the source. 2017-04-21 13:41:42 -04:00
Rob Rix
e3192150e2 Define take & drop functions for Source. 2017-04-21 13:36:41 -04:00
Rob Rix
94452afacc Return a slice of the source. 2017-04-21 13:31:40 -04:00
Rob Rix
fdde8b0255 Don’t bind node fields explicitly. 2017-04-21 13:28:11 -04:00
Rob Rix
27db847b06 Rename node to subtree. 2017-04-21 13:27:44 -04:00
Rob Rix
4aea07f87f Pass the offset through assignments. 2017-04-21 13:26:22 -04:00
Timothy Clem
e9316f4026 Use new diffBlobs interface in cmdline program 2017-04-21 10:25:47 -07:00
Rob Rix
35e3643724 Running an assignment returns the Source. 2017-04-21 12:19:50 -04:00
Rob Rix
41848c415d Revert "Define a Conjunctive typeclass."
This reverts commit 4beaa5a9ae6bb16c4d2d896026f0dc267c1f772d.
2017-04-21 12:17:49 -04:00
Rob Rix
a79d96d942 Revert "Give default definitions for &> and <&."
This reverts commit 9c12b1b63c2f19616e36687883fbcad192efc0b0.
2017-04-21 12:17:48 -04:00
Rob Rix
85ab76a7b0 Revert "Define a liftC2 method."
This reverts commit 5d0f44702e940800eca706e7a060586a9c92f8b7.
2017-04-21 12:17:46 -04:00
Rob Rix
0991f0c8c1 Revert "Give a default definition for <&> in terms of liftC2."
This reverts commit 0a6bfa25ea2801aa7b7c2c19f1fcabf63bddaccf.
2017-04-21 12:17:45 -04:00
Rob Rix
b4a8336beb Revert "Describe the minimal instance."
This reverts commit 4a8a676f8faafd0f60769a20068512937181f7e4.
2017-04-21 12:17:43 -04:00
Rob Rix
639fc824aa Revert "Define example instances of Conjunctive for Maybe and []."
This reverts commit 05dea7751da8699f6eeb53bb00dd5f40fc49b775.
2017-04-21 12:17:02 -04:00
Rob Rix
d5f1fb93ef Define example instances of Conjunctive for Maybe and []. 2017-04-21 12:11:27 -04:00
Rob Rix
0c75affa75 Describe the minimal instance. 2017-04-21 11:50:21 -04:00
Rob Rix
9ba51f537a Give a default definition for <&> in terms of liftC2. 2017-04-21 11:50:10 -04:00
Rob Rix
2119f3b7ed Define a liftC2 method. 2017-04-21 11:48:29 -04:00
Rob Rix
340a58e44e Give default definitions for &> and <&. 2017-04-21 11:44:23 -04:00
Rob Rix
22177b0940 Define a Conjunctive typeclass. 2017-04-21 11:44:16 -04:00
Rob Rix
9acedae624 Simplify the definition of annotation. 2017-04-21 11:20:47 -04:00