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

27346 Commits

Author SHA1 Message Date
Patrick Thomson
da711689af Merge pull request #2300 from github/unify-matching-rewriting
Unify APIs for matching and rewriting syntax trees.
2018-12-12 12:23:15 -05:00
Patrick Thomson
55870d8605 Merge branch 'master' into bump-ts-go-and-ruby 2018-12-12 12:21:06 -05:00
Ayman Nadeem
191723db94 create string carrier instance for abstract domain 2018-12-12 12:15:14 -05:00
Patrick Thomson
98fc4aa494 Merge branch 'master' into unify-matching-rewriting 2018-12-12 12:01:08 -05:00
Ayman Nadeem
c0ad2987b5 add runString 2018-12-12 11:57:11 -05:00
Patrick Thomson
3135426fcd Use clone-example-repos to get Go and Ruby examples.
Go tests appear to be broken. Gonna file an issue about it.
2018-12-12 11:14:16 -05:00
Rob Rix
85e9f21144 Alignment. 2018-12-12 09:48:42 -05:00
Rob Rix
2c0f8b355b Rename the value effects section to domain effects. 2018-12-12 09:48:08 -05:00
Rob Rix
49785f1718 Spacing. 2018-12-12 09:47:17 -05:00
Rob Rix
1d4421e512 Sort the Unit carrier after its handler. 2018-12-12 09:47:00 -05:00
Rob Rix
e7bc7e0e31 Spacing. 2018-12-12 09:46:11 -05:00
Patrick Thomson
51331c505e turn the last spec back on and add docs 2018-12-11 18:10:57 -05:00
joshvera
93bed2ef2c Remove withScope call for now 2018-12-11 17:56:18 -05:00
joshvera
ec5c2b13c0 Add instance scope to Class 2018-12-11 17:55:35 -05:00
Patrick Thomson
684a752773 remove Semantic.Util.Rewriting 2018-12-11 17:47:13 -05:00
Patrick Thomson
e329cbe89a unify the last spec 2018-12-11 17:36:42 -05:00
Rob Rix
89793d2cf5 Fix the specs. 2018-12-11 17:21:57 -05:00
Patrick Thomson
1de0e9ef09 move specs around 2018-12-11 17:21:39 -05:00
Patrick Thomson
1f44f81acc Unify Control.Rewriting and Control.Matching. 2018-12-11 17:12:24 -05:00
joshvera
18367e0ffb fix type errors in tests 2018-12-11 16:51:21 -05:00
Rob Rix
e2750c7ffe Liiiiiiint 2018-12-11 16:17:12 -05:00
Rob Rix
d26846b839 Merge branch 'master' into factor-abstract-value-as-value-effects 2018-12-11 16:02:31 -05:00
Rob Rix
9c0ca729c9 Define a carrier for String.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 16:01:37 -05:00
Rob Rix
52781c6cd6 Class of the symbols
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:58:33 -05:00
Rob Rix
b94d426803 Avoid an import of String.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:57:05 -05:00
Rob Rix
e4ab7de033 Be even more careful about imports of String.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:55:25 -05:00
Rob Rix
2c5ba75d07 Avoid importing/re-exporting the String effect.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:53:59 -05:00
Josh Vera
d26c96b6bf Merge branch 'master' into bump-ts-go-and-ruby 2018-12-11 15:52:02 -05:00
Josh Vera
5ee62d43c6 Merge pull request #2298 from github/simplify-module-tables
Simplify module tables
2018-12-11 15:51:43 -05:00
Rob Rix
88d77a9843 Define a String effect.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:50:46 -05:00
Rob Rix
937728d858 Replace the unit method with the unit effect.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:40:32 -05:00
Rob Rix
dd50b1f533 Define a generic handler for the Unit effect.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:40:11 -05:00
Rob Rix
d7550e5b65 Define a carrier type for Unit.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:39:20 -05:00
Rob Rix
bbad0f54ed Export the unit effect.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:39:03 -05:00
Patrick Thomson
6001ae38b5 Merge branch 'master' into bump-ts-go-and-ruby 2018-12-11 15:10:47 -05:00
Rob Rix
d4d3aa90ca Stub in a unit effect.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
2018-12-11 15:01:46 -05:00
Rob Rix
f2da4ed031 Clean up some remaining vestiges of non-empty module tables. 2018-12-11 14:09:51 -05:00
Rob Rix
40737635f0 Factor the domain effects out of evaluate completely. 2018-12-11 14:03:09 -05:00
Rob Rix
79c0456077 Factor the call to moduleBody into runDomainEffects. 2018-12-11 13:54:30 -05:00
Rob Rix
dda1beb2b9 Rename VaueC to DomainC. 2018-12-11 13:53:29 -05:00
Rob Rix
40cd003fd3 Factor runDomainEffects out of evaluate. 2018-12-11 13:53:09 -05:00
Rob Rix
0d7625d9ab Rename runValueEffects to runDomainEffects. 2018-12-11 13:44:47 -05:00
Rob Rix
63a5bf4b25 Factor perModule into runInModule. 2018-12-11 13:41:52 -05:00
Rob Rix
45c3f828d3 🔥 a redundant comment. 2018-12-11 13:38:21 -05:00
joshvera
6d91a3283c Add cases to resumingEvalError 2018-12-11 13:15:56 -05:00
joshvera
9508518acf Merge remote-tracking branch 'origin/master' into new-expressions 2018-12-11 13:13:37 -05:00
Rob Rix
4c796843e7 🔥 all the non-empty lists in the specs. 2018-12-11 13:07:45 -05:00
Rob Rix
2a43629aa6 🔥 Merging. 2018-12-11 13:05:01 -05:00
Rob Rix
0e8a0b65e7 Persist a single module result in the module table. 2018-12-11 13:04:56 -05:00
Rob Rix
511fe0e3b1 🔥 the FIXME in evaluate. 2018-12-11 13:01:37 -05:00