Timothy Clem
772762ecef
Merge remote-tracking branch 'origin/master' into generate-tags-with-context
2017-11-08 13:16:07 -08:00
Josh Vera
136ceb6ca1
Merge branch 'master' into json-updates
2017-11-08 15:22:48 -05:00
joshvera
e1fdd753ed
Regenerate go tests
2017-11-08 15:01:39 -05:00
Rick Winfrey
fcf453f759
Add additional type conversion test cases
2017-11-08 11:17:03 -08:00
Rick Winfrey
e7921e1c1c
Regenerate tests
2017-11-08 11:13:11 -08:00
Rick Winfrey
4d0a7d5a62
Merge branch 'master' into go-assignment
2017-11-08 11:09:42 -08:00
Rick Winfrey
acdb026393
Add additional assignment statement test cases
2017-11-07 17:05:37 -08:00
Rick Winfrey
c883c9926e
Add additional channel type tests
2017-11-07 16:57:03 -08:00
Rick Winfrey
ad8067f5e8
Add additional array types tests
2017-11-07 16:38:52 -08:00
Rick Winfrey
99677709ed
Add additional method declaration test cases
2017-11-07 16:28:17 -08:00
Rick Winfrey
d62d475bf7
Add type-aliases tests
2017-11-07 16:00:10 -08:00
Rick Winfrey
155e0e05eb
Update type conversion expressions tests
2017-11-07 13:31:44 -08:00
Timothy Clem
4e2a23509f
Merge branch 'master' into class-toc
2017-11-07 13:20:16 -08:00
Rick Winfrey
f060df748c
Select unary expressions tests
2017-11-07 11:20:36 -08:00
Rick Winfrey
a21c1681d1
Update select statements tests
2017-11-07 11:20:25 -08:00
Rick Winfrey
cccedef52d
Add empty statement example in tests
2017-11-07 10:14:46 -08:00
Rick Winfrey
15e9f7b453
Update select statements tests
2017-11-06 17:00:20 -08:00
Rick Winfrey
a17fbb5cd9
Update type switch statements tests
2017-11-06 16:58:33 -08:00
Rick Winfrey
ba5be778ad
Update select statements tests
2017-11-03 17:11:51 -07:00
Rick Winfrey
436a66b8b7
Update type declarations tests
2017-11-03 15:14:25 -07:00
Rick Winfrey
97f10bd358
Update unary expressions tests
2017-11-03 15:12:25 -07:00
Rick Winfrey
2b7feb3c8b
Update type conversion expressions tests
2017-11-03 15:12:12 -07:00
Josh Vera
8dd19297d4
Merge branch 'master' into typescript-fixes
2017-11-03 13:58:13 -04:00
joshvera
4bce58a0c8
Update go tests based on tree-sitter-go changes
2017-11-03 12:41:18 -04:00
Rick Winfrey
583135b399
Update type assertion tests
2017-11-02 13:07:29 -07:00
Rick Winfrey
a40906df67
Update struct types tests
2017-11-02 12:07:57 -07:00
Rick Winfrey
6ba4eeed9c
Update struct literals tests
2017-11-02 12:07:45 -07:00
Rick Winfrey
2d09a1e5eb
Update field declarations tests
2017-11-02 12:07:34 -07:00
Rick Winfrey
96280bd59c
Update struct literals tests
2017-11-02 11:28:36 -07:00
Rick Winfrey
4289eef106
Update struct field declarations tests
2017-11-02 11:28:19 -07:00
Rick Winfrey
6a68092feb
Add default communication cases to select statements tests
2017-11-01 17:32:00 -07:00
Rick Winfrey
422d5421e7
Update unary expression tests
2017-11-01 17:06:01 -07:00
Rick Winfrey
f17032bd2e
Update select statement tests
2017-11-01 17:05:47 -07:00
Rick Winfrey
8836344d1d
Update struct types tests
2017-11-01 16:07:08 -07:00
Rick Winfrey
2d8cdee378
Update modifying struct fields tests
2017-11-01 16:06:54 -07:00
Rick Winfrey
974fc9c7c6
Update interface types tests
2017-11-01 16:06:39 -07:00
Rick Winfrey
6d53916a05
Update index and slice expression tests
2017-11-01 15:11:29 -07:00
Rick Winfrey
a889eb1d98
Update go and defer statement tests
2017-11-01 14:03:19 -07:00
Rick Winfrey
f4b8e302ca
Update function literal tests
2017-11-01 11:06:40 -07:00
Rick Winfrey
da8d8b8214
Update function declaration tests
2017-11-01 11:00:09 -07:00
Rick Winfrey
46ee009d74
Update send statements tests
2017-10-31 17:28:15 -07:00
Rick Winfrey
81ed903aae
Update imaginary literals tests
2017-10-31 17:24:29 -07:00
Rick Winfrey
a52fd8de2a
Update label statements tests
2017-10-31 17:18:33 -07:00
Rick Winfrey
60d52118a8
Update selector expressions tests
2017-10-31 16:59:01 -07:00
Rick Winfrey
22bede548b
Update rune literal tests
2017-10-31 16:46:06 -07:00
Rick Winfrey
8164e9b2de
Update for-statement tests
2017-10-31 16:14:55 -07:00
Rick Winfrey
c55ce3243e
Add additional for range clause examples
2017-10-31 15:21:26 -07:00
joshvera
27979eb2e8
Regenerate tests
2017-10-31 18:10:42 -04:00
Ayman Nadeem
fd11cf9e22
updated fixture
2017-10-31 14:56:25 -07:00
Ayman Nadeem
b7fc2ddd55
shuffle around order of JSON summary list items
2017-10-31 14:55:44 -07:00
Ayman Nadeem
01ba59336d
update tests
2017-10-31 14:54:57 -07:00
Rick Winfrey
41df9b3144
Update assignment float literals tests
2017-10-31 11:48:03 -07:00
Rick Winfrey
32cb5eed56
Update constructors tests
2017-10-31 11:38:38 -07:00
Rick Winfrey
596fa7097b
Update channel test fixtures
2017-10-31 11:21:34 -07:00
Ayman Nadeem
4fea5c7c43
introduce failing test for class addition, modification and removal
2017-10-31 11:17:56 -07:00
Rick Winfrey
2e79bb6542
Update case / switch statement tests
2017-10-31 10:33:37 -07:00
Ayman Nadeem
be1b7d6cb0
Merge branch 'master' into class-toc
2017-10-31 10:30:44 -07:00
joshvera
5922f4db99
update class tests
2017-10-31 11:05:51 -04:00
Rick Winfrey
bd9721f677
Enhance Go switch test fixture
2017-10-30 17:50:57 -07:00
Rick Winfrey
460dd54c33
Merge branch 'master' into go-assignment
2017-10-30 15:02:01 -07:00
joshvera
197da5e758
update class tests
2017-10-30 17:52:15 -04:00
Timothy Clem
ee80ee6d38
No need to have summaryTermText on TOCSummary now
2017-10-27 11:37:05 -07:00
Timothy Clem
1c701f9775
Merge remote-tracking branch 'origin/master' into generate-tags-with-context
2017-10-27 11:33:09 -07:00
Timothy Clem
957448518d
Pass language around for easy use later
2017-10-27 11:16:05 -07:00
Timothy Clem
050734c40c
s/JSONSummary/TOCSummary
2017-10-27 11:15:46 -07:00
Timothy Clem
6ad5700116
Refactor renderToTags to not go through JSONSummary
2017-10-27 10:18:21 -07:00
Rob Rix
d50731552c
🔥 the test of dimensionality.
2017-10-26 19:45:23 -04:00
Rick Winfrey
e9fc626302
Regenerate tests for Go Assignment
2017-10-24 16:14:46 -07:00
Rick Winfrey
96213206a0
Update tests
2017-10-24 16:00:37 -07:00
Rick Winfrey
2bd9fe9e8c
Fix assignment statement diff tests
2017-10-24 15:49:07 -07:00
Rick Winfrey
6510458e16
Update assignment-statements parse test results
2017-10-24 15:43:14 -07:00
Rick Winfrey
5222b02c49
Add pointer / reference var assignment
2017-10-24 14:19:49 -07:00
Rob Rix
8b281bc3cf
Update a couple of ToC fixtures.
2017-10-24 15:15:54 -04:00
Rob Rix
e512398b85
Update a bunch of fixtures.
2017-10-24 15:13:47 -04:00
Rick Winfrey
1de4ab6bc0
Update if-statements tests
2017-10-23 16:52:36 -07:00
Rick Winfrey
5ad5a882ba
Merge branch 'master' into go-assignment
2017-10-23 15:10:29 -07:00
Rob Rix
3462892131
🔥 redundant imports.
2017-10-23 11:59:19 -04:00
Rob Rix
3351c60859
Move the permutation tests into InterpreterSpec.
2017-10-23 11:58:52 -04:00
Rob Rix
6200a00b6e
Rename the identity diff property.
2017-10-23 11:58:43 -04:00
Rob Rix
46e2b5fb15
Rename the interpreter spec.
2017-10-23 11:58:31 -04:00
Rob Rix
a23d60dc09
🔥 a redundant test that equal terms produce identity diffs.
2017-10-23 11:57:36 -04:00
Rob Rix
1652dc1147
🔥 redundant tests of the lossless property.
2017-10-23 11:55:44 -04:00
Rob Rix
9c1dce7ab9
🔥 the Context/Empty Listable instances.
2017-10-23 11:53:42 -04:00
Rob Rix
c0d833f361
🔥 the Context/Empty tests of the Mergeable laws.
2017-10-23 11:53:36 -04:00
Rob Rix
6a0321c401
Test the Mergeable laws against a Union.
2017-10-23 10:40:33 -04:00
Rob Rix
8245e337ce
Define a Listable instance for Union.
2017-10-23 10:36:53 -04:00
Rob Rix
395678bcb3
Test the Mergeable laws against Context & Empty.
2017-10-23 10:32:48 -04:00
Rob Rix
0184f57713
Define Listable instances for Context & Empty.
2017-10-23 10:32:32 -04:00
Rob Rix
a4a4074a22
Re-enable the pending tests.
2017-10-23 09:40:06 -04:00
Rob Rix
08eedd23cc
Measure the length of diffPatches instead of using diffCost.
2017-10-23 09:37:47 -04:00
joshvera
2f26a09905
fix tests
2017-10-19 21:32:27 -04:00
Rick Winfrey
c3d6a15621
Update the syntax we define custom cyclomatic complexity
...
- Key additions are the addition of loops (For, ForEach, Do, and DoWhile).
- Key removal is Return, Break, Throw, Yield and Finally.
2017-10-18 17:15:41 -07:00
Rick Winfrey
a38ef81f01
Update tests
2017-10-17 17:06:10 -07:00
Rick Winfrey
5d99ca4901
Add CyclomaticComplexity to tests
2017-10-16 14:26:08 -07:00
Rick Winfrey
2dad14e33e
Add Listable instance for CyclomaticComplexity
2017-10-16 14:24:49 -07:00
Rick Winfrey
6e76a75323
Update type annotation
2017-10-13 15:57:28 -07:00
Ayman Nadeem
8f496db787
delete Unchanged entries
2017-10-13 10:50:29 -07:00
Rick Winfrey
88a049a142
Regenerate tests (based on tree-sitter-go grammar updates)
2017-10-10 14:31:52 -07:00
Ayman Nadeem
cdb78619f6
WIP test fixes
2017-10-10 13:56:09 -07:00
Ayman Nadeem
3319d55be5
fix failing tests
2017-10-10 12:39:27 -07:00
Ayman Nadeem
148d2532a8
fix conflicts
2017-10-10 11:16:21 -07:00
Rob Rix
cd30584dba
🔥 a bunch of references to categories.
2017-10-10 13:34:50 -04:00
Rob Rix
ed8e08ef26
Migrate a bunch of the tests away from Syntax.
2017-10-10 13:18:11 -04:00
Rob Rix
750bca5bfc
Migrate the Go ToC test to diffWithParser.
2017-10-10 13:14:05 -04:00
Rob Rix
44fafdbd9a
Define a Listable instance for Unions.
2017-10-10 13:10:57 -04:00
Rob Rix
ac5e0b3e9f
🔥 the Listable instances for Category & Syntax.
2017-10-10 13:00:26 -04:00
Rob Rix
264912d6bf
Merge branch 'master' into open-toc-rendering
2017-10-06 17:26:02 -04:00
Timothy Clem
90fdef6ce0
Merge branch 'master' into stats
2017-10-06 12:22:54 -07:00
Rob Rix
1501f3506c
Fix a fixture.
2017-10-06 10:55:46 -04:00
Rob Rix
5ac488f164
Revert "Use the declarationAlgebra in the tests."
...
This reverts commit d42f9b01b42f1d0d4b769f89642b3ed7e47a5c34.
2017-10-06 10:30:20 -04:00
Rob Rix
ec3dff1c66
Use the declarationAlgebra in the tests.
2017-10-06 09:34:15 -04:00
Rob Rix
85872a3e2e
Merge branch 'master' into abstract-high-level-flow-over-syntax-types
2017-10-05 20:11:56 -04:00
Timothy Clem
82968ac175
Merge branch 'master' into stats
2017-10-05 14:34:55 -07:00
joshvera
71eefd92a5
Merge remote-tracking branch 'origin/master' into typescript-fixes
2017-10-05 14:04:57 -07:00
joshvera
a1d075a47e
regenerate tests
2017-10-05 14:01:03 -07:00
Timothy Clem
87bd442c96
Refactor a bit more into Semantic.Queue
...
Also, docs and record prefixes
2017-10-05 10:26:16 -07:00
Timothy Clem
ce2e3e737e
Merge branch 'master' into stats
2017-10-05 07:48:49 -07:00
Timothy Clem
b5c63fc78c
Minor spec name fixes
2017-10-04 14:21:06 -07:00
Ayman Nadeem
157226a7ca
make tests pass
2017-10-04 13:21:58 -07:00
Rob Rix
67e3e91fac
Merge branch 'master' into abstract-high-level-flow-over-syntax-types
2017-10-04 15:12:53 -04:00
Timothy Clem
c7f4ae005b
Test actual sending of data
2017-10-04 11:40:39 -07:00
Timothy Clem
8860a0942b
No need for these anymore
2017-10-04 11:13:03 -07:00
Timothy Clem
666585bf50
Start writing a few specs
2017-10-04 11:12:24 -07:00
Rob Rix
df9efe6fb4
🔥 the redundant repo
binding.
2017-10-04 10:26:46 -04:00
Rob Rix
a4afb35769
🔥 the profile fixtures.
2017-10-04 10:25:30 -04:00
Rob Rix
684af38fe9
Merge branch 'generic-term-comparability-and-equivalence' into simplified-high-level-flow
2017-10-03 16:23:50 -04:00
Rob Rix
0fecda703a
Update the fixtures.
2017-10-03 15:26:50 -04:00
Rob Rix
27758821e8
Use the comparableTerms relation in the RWS tests.
2017-10-03 15:10:11 -04:00
Rob Rix
a965c12dd8
Rename parserForLanguage to syntaxParserForLanguage.
2017-10-03 10:04:59 -04:00
Rob Rix
b85aa53af9
Spacing.
2017-10-03 09:29:15 -04:00
Rob Rix
ac3646f925
Test that genericLiftCompare gives equivalent behaviour to compare for recursive types.
2017-10-03 09:29:06 -04:00
Rob Rix
5a024b40f7
Test that genericLiftCompare gives equivalent behaviour to compare for sum types.
2017-10-03 09:25:39 -04:00
Rob Rix
7e034fa4c1
Test that genericLiftCompare gives equivalent behaviour to compare for product types.
2017-10-03 09:23:44 -04:00
Rob Rix
6f4539cdce
Stub in a module for generically-implemented Ord1 specs.
2017-10-03 09:15:45 -04:00
Timothy Clem
dfc7de34e7
Merge branch 'master' into contextualize-ruby-comments
2017-10-02 13:19:02 -07:00
Timothy Clem
2ee98ab96f
These comments are part of Context now
2017-10-02 11:13:54 -07:00
Rob Rix
960bfd9d41
🔥 redundant imports.
2017-10-02 10:32:00 -04:00
Rob Rix
09e3a79340
Update one of the ToC tests.
2017-10-02 10:29:47 -04:00
Rob Rix
1f6a1fcc0f
Migrate TOCSpec off of IdentityDiffRenderer.
2017-10-02 10:11:31 -04:00
Rob Rix
2bd957153d
Use parseAndDiffBlobPair instead of IdentityDiffRenderer.
2017-09-29 15:33:13 -04:00
Rob Rix
dd4cb32b90
🔥 the test of parsing in the specified language.
...
This is redundant to the test that it renders with the specified renderer.
2017-09-29 15:19:52 -04:00
Rob Rix
4eb3b7eacd
Test against the s-expression renderer.
2017-09-29 15:14:37 -04:00
Rob Rix
f095b89492
Test that we fail when the language is Nothing.
2017-09-29 15:09:58 -04:00
joshvera
54444ab54d
s/Function/FunctionType
2017-09-28 17:27:57 -07:00
joshvera
3384a3689d
fix tests
2017-09-28 17:17:39 -07:00
joshvera
b3667104fb
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-28 14:24:57 -07:00
Rob Rix
9c664e5460
Merge branch 'master' into musical-chairs
2017-09-28 11:36:02 -04:00
Rob Rix
7bed8fee3e
Define a test that diffTerms compares nodes against the subject position within Context nodes.
2017-09-28 11:24:51 -04:00
Rob Rix
7595062d05
Use the merging function in the tests.
2017-09-28 10:40:23 -04:00
Rob Rix
26d44ae2f0
Merge the Decorators module into Data.Syntax.Algebra.
2017-09-27 12:54:01 -04:00
Rob Rix
1cab700d82
Rename the SplitDiff module to Data.SplitDiff.
2017-09-27 12:43:11 -04:00
Rob Rix
b31043a3eb
Rename the Diff module to Data.Diff.
2017-09-27 12:41:41 -04:00
Rob Rix
9bd0b02ac9
Rename the Term module to Data.Term.
2017-09-27 12:37:37 -04:00
Rob Rix
e8b7e89dca
Rename the Patch module to Data.Patch.
2017-09-27 12:29:07 -04:00
Rob Rix
b1560c1da5
Mark while-statement.diffB-A as pending on #1359 .
2017-09-26 12:27:04 -04:00
Rob Rix
22ae1c1192
Pass the pending message along with the output file path.
2017-09-26 12:26:13 -04:00
Rob Rix
e88c9b0e56
Allow integration specs to be marked as pending.
2017-09-26 12:23:16 -04:00
Rob Rix
8cf834154d
Fix the commented out spec.
2017-09-26 12:14:36 -04:00
Rob Rix
89ab11d291
Merge branch 'test-rws-permutations' into substructural-diffing
2017-09-26 12:10:32 -04:00
Rob Rix
d91e8d8464
🔥 the before/after permutation properties.
2017-09-26 12:06:41 -04:00
Rob Rix
06a929528a
Mark the forward permutation diff test as pending.
2017-09-26 10:11:00 -04:00
Rob Rix
0ed594cfab
Restrict a, b, and c to be disjoint.
2017-09-26 10:09:54 -04:00
Rob Rix
69aae9986d
Ensure that c is distinct from both a and b.
2017-09-26 09:59:31 -04:00
Rob Rix
6608ab48e3
Add (failing) tests that forward/backward permutations are correctly diffed as changes.
2017-09-26 09:56:47 -04:00
Rob Rix
58338d6af2
Add tests that we recover before/after states through forward/backward permutations.
2017-09-26 09:50:50 -04:00
Rob Rix
01e8e1725f
Move the listable Syntax synonym into Data.Functor.Listable.
2017-09-26 09:48:59 -04:00
Rob Rix
c9e4968d93
Migrate the RWS tests to à la carte syntax.
2017-09-26 09:44:42 -04:00
Rob Rix
2aff7745b6
Migrate InterpreterSpec to à la carte syntax.
2017-09-26 09:31:36 -04:00
Rob Rix
b618caa35c
Update a few Ruby fixtures.
2017-09-26 09:18:40 -04:00
Rob Rix
0fa57d60c2
Merge branch 'master' into substructural-diffing
2017-09-26 09:13:22 -04:00
Rob Rix
cfc6d13ad0
Define (failing) tests that permutations are changes.
2017-09-26 09:12:06 -04:00
Rob Rix
86ede39a58
🔥 Use empty records in DiffSpec.
2017-09-25 19:54:34 -04:00
Rob Rix
bd4dee20d5
Migrate DiffSpec to à la carte syntax.
2017-09-25 19:52:08 -04:00
Rob Rix
8e674538e3
Define Listable1 instances for Functions & Methods.
2017-09-25 19:25:14 -04:00
Rob Rix
f274a9dd7d
Define a Listable1 instance for Context.
2017-09-25 19:20:01 -04:00
Rob Rix
aae77f6e0e
Define a Listable1 instance for Comment.
2017-09-25 19:19:51 -04:00
Rob Rix
b0c79efa9b
Define a Listable1 instance for NonEmpty.
2017-09-25 19:19:37 -04:00
Rob Rix
b32a911484
Define Listable instances for Return and Empty.
2017-09-25 19:14:00 -04:00
Rob Rix
909e199e72
Define Listable instances for If and Identifier.
2017-09-25 19:12:44 -04:00
Rob Rix
468a874168
Define Listable instances for non-empty Unions.
2017-09-25 19:08:55 -04:00
Rob Rix
5ba29e6361
Fix the while-statement diff.
2017-09-25 18:46:47 -04:00
Rob Rix
de1a5f8a23
Fix _most of_ the failures.
2017-09-25 18:45:37 -04:00
joshvera
7f81d8982d
Add TOCSpec
2017-09-25 14:11:15 -04:00
joshvera
44d895388d
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-25 13:47:46 -04:00
joshvera
bd440ea8d0
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-25 13:40:10 -04:00
Timothy Clem
0642755c35
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
2017-09-25 09:08:14 -07:00
Rob Rix
fb56d8b604
Merge branch 'master' into substructural-diffing
2017-09-25 11:59:14 -04:00
Timothy Clem
ddebcc044d
Make it really clear where we are headed
2017-09-25 08:24:48 -07:00
Rob Rix
4c87a91f19
Use the correct functions in the diffs.
2017-09-25 10:57:28 -04:00
Timothy Clem
56e340a3ff
Test the new assignment toc renderer
2017-09-22 09:47:06 -07:00
joshvera
c0bd3e837b
Regenerate tests
2017-09-21 12:31:30 -04:00
joshvera
9014266707
bump switch statement tests
2017-09-20 13:17:25 -04:00
joshvera
80dddc23c5
Add tests for jsx elements
2017-09-19 19:27:14 -04:00
joshvera
c5e3ca246f
Update function and async-function specs in python
2017-09-19 17:32:51 -04:00
joshvera
d0fb557bec
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-19 17:04:27 -04:00
Timothy Clem
ee7032edc2
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
2017-09-19 11:19:43 -07:00
Timothy Clem
44d59f4e4d
Some updated python fixtures due to eqTerms
2017-09-19 09:37:50 -07:00
Timothy Clem
7107aec6db
Add a equivalency check for terms
2017-09-19 09:36:12 -07:00
joshvera
f26c67b3ad
Fix parse errors in some go test cases
2017-09-19 12:20:04 -04:00
joshvera
b03d17de34
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-19 11:54:51 -04:00
joshvera
48fb0a39ac
Update go fixtures
2017-09-19 11:34:27 -04:00
joshvera
c26dcae355
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-15 14:38:47 -04:00
Timothy Clem
5ddb75a4e3
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
2017-09-14 16:32:45 -07:00
Rob Rix
be481f7a71
Rename SES.Myers to SES.
2017-09-14 11:53:02 -04:00
Rob Rix
7789e83875
Correct the RWS tests.
2017-09-14 11:49:57 -04:00
Timothy Clem
8679c89e5d
Fix up tests for one less layer of structure in expressions of single element
2017-09-14 08:07:10 -07:00
Rob Rix
bfc0b9d0b0
Give Diff a pair of type parameters for the annotation types.
2017-09-14 09:41:52 -04:00
Rob Rix
547da73009
Define a patch helper to eliminate Patches.
2017-09-13 21:55:41 -04:00
Rob Rix
cf9d752d43
Parameterize Patch by before and after types.
2017-09-13 21:37:23 -04:00
Rob Rix
bf2de994ac
Curry diffing operations.
2017-09-13 19:34:27 -04:00
Rob Rix
9de429be45
🔥 the SyntaxTerm, SyntaxTermF, & SyntaxDiff type synonyms.
2017-09-13 19:14:01 -04:00
joshvera
6bd68b48e5
update ambient declaration tests
2017-09-13 19:11:46 -04:00
joshvera
0e853a5f38
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-09-13 18:40:29 -04:00
Timothy Clem
2064db2da8
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
2017-09-13 13:10:12 -07:00
Rob Rix
20e0943c72
🔥 the Sum inside Patch nodes.
2017-09-13 16:07:22 -04:00
Rob Rix
0ec9584a6d
Correct the tests.
2017-09-13 16:03:27 -04:00
Rob Rix
a0eda2396a
Correct the tests.
2017-09-13 11:19:06 -04:00
Rob Rix
644e43b3b0
Fix a fixture.
2017-09-13 09:46:18 -04:00
Rob Rix
e36034455c
Correct the tests.
2017-09-13 09:45:10 -04:00
Rob Rix
6c31ea4f9b
🔥 redundant imports.
2017-09-12 11:43:58 -04:00
Rob Rix
fcc05e114b
Update a fixture.
2017-09-12 11:00:51 -04:00
Rob Rix
ecb19530d6
Correct most of the tests.
2017-09-12 10:49:45 -04:00
Rob Rix
a140d2f4c4
Correct the Listable1 instance for Diff.
2017-09-12 10:47:50 -04:00
Rob Rix
d0a1d31c68
Correct the Listable2 instance for DiffF.
2017-09-12 10:46:49 -04:00
Rob Rix
b3b81846b3
Define a Listable1 instance for BindingF.
2017-09-12 10:44:19 -04:00
Rob Rix
57f578618c
Define Listable1 instances for Sum & Product.
2017-09-12 10:43:31 -04:00
Rob Rix
c2f4ef3572
Merge branch 'relocate-json-fields' into directed-acyclic-diffs
2017-09-11 16:20:57 -04:00
Rob Rix
2c83e7e283
Merge branch 'master' into specialized-terms-and-diffs
2017-09-11 16:01:20 -04:00
Rob Rix
1cd6dd2899
Update the tests.
2017-09-11 15:48:58 -04:00
joshvera
692bc8ec96
Add diffWithParser for dedupe test in TOCSpec
2017-09-11 15:45:56 -04:00
joshvera
ef2e5afa76
Regenerate tests
2017-09-10 22:08:40 +01:00
Rob Rix
7ea66c89e2
Correct another fixture.
2017-09-10 17:24:58 +01:00
Rob Rix
3adcd9d747
Correct a fixture.
2017-09-10 17:16:08 +01:00
Rob Rix
02e10446e1
Correct a test.
2017-09-10 17:14:51 +01:00
Rob Rix
6f6ebc7aa6
Correct a fixture.
2017-09-10 15:29:09 +01:00
Rob Rix
27db18bfde
Correct the language fixtures.
2017-09-09 23:41:12 +01:00
Rob Rix
110be2449c
Update the tests.
2017-09-09 21:44:15 +01:00
Rob Rix
41baef6c9d
Listing diffs does not produce metavariables or bindings.
2017-09-09 18:24:05 +01:00
Rob Rix
825990cfce
Constrain a type to Int.
2017-09-09 14:59:33 +01:00
Rob Rix
9c97ea7c48
More 🔥
2017-09-09 14:59:03 +01:00
Rob Rix
2a7a937a7e
🔥 a bunch more redundant imports.
2017-09-09 14:58:07 +01:00
Rob Rix
10b262e069
🔥 a stray import.
2017-09-09 14:54:49 +01:00
Rob Rix
24914eeb05
Move the remaining Listable instances into the tests.
2017-09-09 14:51:37 +01:00
Rob Rix
3ad5374b94
Move all the Listable stuff into the tests.
2017-09-09 14:44:57 +01:00
Rob Rix
eb01f7450a
Correct the diffSize helper.
2017-09-09 14:30:42 +01:00
Rob Rix
7258682862
Fix one of the ToC tests.
2017-09-09 14:28:43 +01:00
Rob Rix
a1bfea611f
Update all the tests.
2017-09-09 14:18:08 +01:00
Rob Rix
e2ffba2401
Rename headF to termAnnotation.
2017-09-09 11:50:29 +01:00
Rob Rix
9e40e9a09a
Give our own definition of Diff.
2017-09-09 11:23:57 +01:00
Rob Rix
07bef3f75e
🔥 deepseq.
2017-09-08 17:35:55 +01:00
Rob Rix
185818d8bd
Rename runCofree to unTerm.
2017-09-08 16:46:35 +01:00
Timothy Clem
172ae54593
Merge remote-tracking branch 'origin/explicit-choice' into ruby-assignment-ftw
2017-09-08 11:37:16 +01:00
joshvera
6c4ca4f5a5
Merge remote-tracking branch 'origin/explicit-choice' into typescript-assignment
2017-09-01 15:52:16 -04:00
Rick Winfrey
82a703088d
Update Python integratin specs
...
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
2017-09-01 15:51:53 -04:00
Timothy Clem
22c0352205
infixContext doesn't work with comment in expression
...
Poor comments
2017-09-01 11:32:32 -07:00
Rob Rix
1468743832
Revert "Match comments with expression."
...
This reverts commit b7bc1d7ced4ecea66022292a0c340e3aed22af5d.
2017-09-01 14:29:49 -04:00
Timothy Clem
176012b1d2
Fix up parse error handling
2017-09-01 11:21:00 -07:00
Timothy Clem
a1652c1ffc
Merge remote-tracking branch 'origin/explicit-choice' into ruby-assignment-ftw
2017-09-01 11:15:01 -07:00
Timothy Clem
8047a756da
Comments don't create context in hashes now
2017-09-01 10:27:19 -07:00
Rob Rix
12d7a0d57f
Match comments with expression.
2017-09-01 13:05:58 -04:00
Timothy Clem
2a11e6136e
Comments are in expression now
2017-09-01 10:00:55 -07:00
Timothy Clem
e2e2d2f933
Merge remote-tracking branch 'origin/explicit-choice' into ruby-assignment-ftw
2017-09-01 08:57:29 -07:00
Rob Rix
32b2f90316
🔥 a couple of obsolete tests.
2017-09-01 11:54:45 -04:00
Rob Rix
1270bb41c4
Correct the <|>/distributivity through children rules test.
2017-09-01 11:53:40 -04:00
Rob Rix
bad1c832f0
Correct precedence.
2017-09-01 11:51:18 -04:00
Rob Rix
5366bfff3c
🔥 obsolete tests of catchError/repetitions.
2017-09-01 11:50:48 -04:00
Rob Rix
c2f30feff2
Test that exhaustiveness errors are uncaught.
2017-09-01 11:50:10 -04:00
Rob Rix
2110d7d076
Slight improvement to the unexpected end of branch test.
2017-09-01 11:49:46 -04:00
Rob Rix
a640b48ddc
Test that unexpected end of branch errors are uncaught.
2017-09-01 11:47:38 -04:00
Rob Rix
7fc97f6b9d
Rename a test.
2017-09-01 11:33:33 -04:00
Rob Rix
6afe2b5ae9
Test that handlers can error.
2017-09-01 11:32:57 -04:00
Rob Rix
eb65bd9622
Test the inverse case.
2017-09-01 11:28:59 -04:00
Rob Rix
99b4d5037a
🔥 unnecessary parens.
2017-09-01 11:28:41 -04:00
Rob Rix
70cfa6e070
Rename & correct a catchError test.
2017-09-01 11:26:46 -04:00
Rob Rix
de318561dd
Correct a test’s expectation.
2017-09-01 11:25:30 -04:00
Timothy Clem
4bab0fd1e0
Assert anon function toc summary behavior
2017-08-28 18:06:09 -07:00
Timothy Clem
15128e4c1b
Ruby lambdas assign to function with empty syntax for name
2017-08-28 17:50:27 -07:00
Timothy Clem
29834cd3de
Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw
2017-08-28 16:05:17 -07:00
Timothy Clem
d7e149c468
Expand equivalentTerms to include functions as well
2017-08-28 15:59:30 -07:00
Timothy Clem
ed5f9eb7e8
Return shortened errors in toc summary JSON response
2017-08-25 13:07:51 -07:00
Timothy Clem
97bd03543a
Introduce a dedicated term equivalency check for ses
2017-08-25 12:39:43 -07:00
joshvera
b99309bcc5
Merge remote-tracking branch 'origin/master' into typescript-assignment
2017-08-25 12:18:09 -04:00
Timothy Clem
fd7cbe8393
Manually add Method to all syntax unions
2017-08-25 08:06:38 -07:00
Rick Winfrey
8f9b96dc3d
Update Python integratin specs
...
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
2017-08-24 16:35:15 -07:00
Timothy Clem
db6099e910
Fix boolean operators
2017-08-24 15:00:07 -07:00
Timothy Clem
762d3341ab
Fix comments
2017-08-24 14:59:44 -07:00
Timothy Clem
6ed530c530
Fix method declarations
2017-08-24 14:59:17 -07:00
Timothy Clem
2905201e19
Fix break
2017-08-24 14:56:52 -07:00
Timothy Clem
6db2c2774c
Fix bitwise ops
2017-08-24 14:55:39 -07:00
Timothy Clem
8f86de85b4
Fix heredocs
2017-08-24 14:54:12 -07:00
Timothy Clem
623f80f24c
Fix comparison operators
2017-08-24 14:53:56 -07:00
Timothy Clem
a4e03b6189
Fix delimiters
2017-08-24 14:53:26 -07:00
Timothy Clem
30c64cee6f
Fix conditional assignment
2017-08-24 14:53:08 -07:00
Timothy Clem
3ef093d851
Fix element reference
2017-08-24 14:52:38 -07:00
Timothy Clem
5abb457ecd
Fix begin/end blocks (scope entry/exit)
2017-08-24 14:52:11 -07:00
Timothy Clem
7ff488b91c
Fix ensure
2017-08-24 14:51:30 -07:00
Timothy Clem
dc6ef33273
Fix and/or
2017-08-24 14:51:08 -07:00
Timothy Clem
e25bdcda82
Fix array
2017-08-24 14:50:51 -07:00
Timothy Clem
a171408cc2
Fix begin/else
2017-08-24 14:50:17 -07:00
Timothy Clem
3febd7db04
Fix for
2017-08-24 14:49:30 -07:00
Timothy Clem
81f438d478
Fix hash
2017-08-24 14:48:55 -07:00
Timothy Clem
0bbeefb8b2
Fix lambdas
2017-08-24 14:48:29 -07:00
Timothy Clem
fef4fb1c41
Fix math assignment
2017-08-24 14:47:41 -07:00
Timothy Clem
228c55ab9e
Fix calls
2017-08-24 14:46:53 -07:00
Timothy Clem
553fa55297
Fix class and module
2017-08-24 14:45:23 -07:00
Timothy Clem
1c6031def5
Fix up assignments
2017-08-24 14:44:19 -07:00
Timothy Clem
3e34c10953
Fix pseudo variables
2017-08-24 14:43:31 -07:00
Timothy Clem
7f41aee5e9
Add Regex to syntax, fix ruby regex fixtures
2017-08-24 14:43:13 -07:00
joshvera
6c94040649
fix up python tests
2017-08-24 17:29:55 -04:00
Timothy Clem
a1576d68d2
Fix relational operators
2017-08-24 13:36:53 -07:00
Timothy Clem
508531c92f
Fix various forms of rescue
2017-08-24 13:34:25 -07:00
Timothy Clem
4e7f37fe8d
Add otherside of break
2017-08-24 13:33:20 -07:00
Timothy Clem
0701df346c
Fix elsif
2017-08-24 13:31:37 -07:00
Timothy Clem
554194d44d
Fix return
2017-08-24 13:31:09 -07:00
Timothy Clem
74fe887fb0
Fix up if
2017-08-24 13:30:07 -07:00
Timothy Clem
85a33c9612
Some literals: numbers, strings, symbols
2017-08-24 13:29:46 -07:00
Timothy Clem
e5d2360fc9
when
2017-08-24 13:27:12 -07:00
Timothy Clem
435b3bfe51
if, unless, ternary
2017-08-24 13:26:17 -07:00
Timothy Clem
bac05bc538
Updated structure for until, while, yield
2017-08-24 13:23:41 -07:00
Timothy Clem
7150dbc792
🔥 these un-needed fixtures that duplicate parse expectations
2017-08-24 13:14:52 -07:00
Timothy Clem
86f65b39ff
🔥 these un-needed fixtures that duplicate parse expectations
2017-08-24 12:59:08 -07:00
Timothy Clem
28aa9405e1
Fix up some expected output for new shape of Method
2017-08-24 11:46:26 -07:00
Rob Rix
19d1fff2eb
Merge branch 'master' into assignment-optimization
2017-08-21 12:43:03 -04:00
Rob Rix
773644d040
We limit the call stacks now.
2017-08-18 10:41:14 -04:00
Rob Rix
9e2abcaa13
🔥 a redundant import.
2017-08-17 17:57:06 -04:00
Rob Rix
7b4fcec381
Fix the tests up.
2017-08-17 17:56:01 -04:00
Timothy Clem
52d956894b
Update hash fixtures
2017-08-16 14:28:10 -07:00
Timothy Clem
680ad37eea
Fix up chained strings, allow comments
2017-08-16 14:14:33 -07:00
Rob Rix
66abd4e327
Merge branch 'master' into systematic-comment-assignment
2017-08-16 13:23:40 -04:00
Timothy Clem
ebca8e49ce
Lambdas get an update
2017-08-16 10:13:48 -07:00
Rob Rix
d0337eabca
Test that eof matches before anonymous nodes at the end of branches.
...
Currently failed.
2017-08-16 07:41:17 -07:00
Rob Rix
6a4d838f16
Test that eof matches at the end of branches.
2017-08-16 07:41:17 -07:00
Rob Rix
dd7f601149
Merge branch 'eof-drops-anonymous-nodes' into systematic-comment-assignment
2017-08-16 09:06:03 -04:00
Rob Rix
3c7f471607
Test that eof matches before anonymous nodes at the end of branches.
...
Currently failed.
2017-08-16 08:55:26 -04:00
Rob Rix
8265390933
Test that eof matches at the end of branches.
2017-08-16 08:52:29 -04:00
Timothy Clem
ce9b380975
Updated when fixtures
2017-08-15 14:22:30 -07:00
Timothy Clem
a0dd6168fa
Another version of case
2017-08-15 14:15:53 -07:00
Timothy Clem
9dda6bf725
Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes
2017-08-15 07:59:24 -07:00
Rob Rix
c0a410ba7e
Merge branch 'master' into systematic-comment-assignment
2017-08-15 10:48:10 -04:00
Rob Rix
e0053f2f50
Test the Python fixtures.
2017-08-15 10:05:49 -04:00
Rob Rix
fef11c61ba
Update the Python fixtures.
2017-08-15 10:05:34 -04:00
Rob Rix
3960c35b22
Add ±B yield fixtures.
2017-08-15 09:55:31 -04:00
Rob Rix
db902675d5
Correct the yield fixture.
2017-08-15 09:55:00 -04:00
Rob Rix
e86e2ab9fc
🔥 all the ±A/B fixtures.
2017-08-15 09:32:45 -04:00
Rob Rix
90c55acb11
Don’t verify the ±A/B fixtures.
2017-08-15 09:30:10 -04:00
Rob Rix
b41fa87158
Merge branch 'master' into systematic-comment-assignment
2017-08-15 09:21:17 -04:00
Rob Rix
8a1e374400
Regenerate the Python insertion/deletion fixtures.
2017-08-15 09:10:20 -04:00
Rob Rix
40857f4902
Merge branch 'master' into generate-python-tests
2017-08-15 09:03:26 -04:00
Rob Rix
6d075273eb
Merge branch 'master' into systematic-comment-assignment
2017-08-15 08:56:56 -04:00
Rob Rix
a8b98b9892
Bump the examples for for/in nodes.
2017-08-14 20:56:11 -04:00
Timothy Clem
93b337af4c
Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes
2017-08-14 12:50:45 -07:00
Rob Rix
390f237a38
Section ranges now include their children.
2017-08-14 11:51:55 -04:00
Rick Winfrey
4bd270200a
Generate test fixtures for Python
2017-08-11 11:58:45 -07:00
Rob Rix
048b7874d1
Correct the Go fixtures.
2017-08-11 10:05:25 -04:00
Rob Rix
f8ab5f2ae3
Update the imports.
2017-08-11 08:02:30 -04:00
Rob Rix
fa56de3d05
Merge branch 'master' into ghc-8.2.1
2017-08-10 09:14:04 -04:00
Yuki Izumi
2f99303bf6
Update test output (heading excludes "## ")
2017-08-10 14:18:07 +10:00
Rob Rix
769196ca39
Update the integration test fixtures.
2017-08-09 11:40:30 -04:00
Rob Rix
ff9e58c95f
Derive a Bounded instance.
2017-08-08 08:43:49 -04:00
Rob Rix
9530b95a37
🔥 the state in error results.
2017-08-07 12:15:02 -04:00
Rob Rix
8faf9f60be
Correct the tests.
2017-08-06 19:40:45 -04:00
Rob Rix
6c1e9afbb0
Errors hold Spans now.
2017-08-06 19:32:38 -04:00
Rob Rix
1ab9a13c6d
Ignore the state in the error callback spec.
2017-08-06 19:31:44 -04:00
Rob Rix
5129bc5418
We don’t need to qualify these.
2017-08-06 19:31:15 -04:00
Rob Rix
65a134f3c8
Derive Ord & Ix instances for the specs’ Grammar type.
2017-08-06 19:29:43 -04:00
Rob Rix
c1596f942d
Assignment errors can be strings.
2017-08-06 18:56:01 -04:00
Rob Rix
59e6fd621c
🔥 stateErrorCounter.
2017-08-06 18:52:35 -04:00
Rob Rix
07e26d03e2
Produce the current state on error.
2017-08-06 18:51:19 -04:00
Rob Rix
35f92f98c3
Fix a test now that we always try the error handler on errors.
2017-08-04 09:21:59 -04:00
Rob Rix
0a8411e534
Disambiguate assignment results.
2017-08-04 09:11:22 -04:00
Rob Rix
7bd2d6b94b
Merge branch 'master' into delimited-control
2017-08-04 09:00:07 -04:00
Rob Rix
68d3a265ae
Fix a test with ambiguous results.
2017-08-04 08:58:28 -04:00
Rob Rix
61087b394e
Fix a test case which now succeeds.
2017-08-04 08:54:04 -04:00
Rob Rix
71642ae1bd
Fix a test case which fails at the end of input.
2017-08-04 08:52:08 -04:00
Rob Rix
9e1aad5032
Fix a test case which fails with the earlier error.
2017-08-04 08:50:56 -04:00
Rob Rix
e9e9c54fa1
Correct a spec.
2017-08-03 21:32:47 -04:00
Rob Rix
47a3f1e713
Correct the tests.
2017-08-03 21:32:11 -04:00
Rob Rix
cabab1f9ed
Check advancement using the state offset instead of the counter.
2017-08-03 21:29:22 -04:00
Rob Rix
9bfe67afd9
🔥 stateError.
2017-08-03 21:26:43 -04:00
Rob Rix
030b2967c3
Add a monotonic counter of the number of error handlers invoked.
2017-08-03 20:21:42 -04:00
Rob Rix
766e75c3b6
Correct the tests.
2017-08-03 19:48:24 -04:00
Timothy Clem
8025bb97bb
Merge remote-tracking branch 'origin/the-great-tree-sitter-update' into ruby-assignment-fixes
2017-08-03 14:52:48 -07:00
Timothy Clem
f71db8f961
Merge branch 'master' into ruby-assignment-fixes
2017-08-03 14:50:57 -07:00
Timothy Clem
28815031eb
No reason to test parse failures here
2017-08-03 13:59:05 -07:00
Rob Rix
fa87a249ad
Revert "Use the state nodes to indicate that we’ve advanced past nodes.."
...
This reverts commit b2485da5199703d48d11ccf6b2374712b5067ded.
2017-08-03 15:38:11 -04:00
Rob Rix
adb84e33f4
Use the state nodes to indicate that we’ve advanced past nodes..
2017-08-03 13:13:37 -04:00
Timothy Clem
6bc00b46d7
Merge remote-tracking branch 'origin/master' into the-great-tree-sitter-update
2017-08-03 09:50:27 -07:00
Rob Rix
d041dad599
Fix some missing imports.
2017-08-03 12:06:03 -04:00
Rob Rix
2529288f87
Merge branch 'master' into requiem-for-a-protolude
2017-08-03 11:51:09 -04:00
Timothy Clem
9f41276e3b
Update for TypeScript grammar changes
2017-08-03 08:49:20 -07:00
Timothy Clem
f38dc3f578
Update for Ruby grammar changes
2017-08-03 08:19:23 -07:00
Timothy Clem
6563a69ebc
Update for Golang grammar changes
2017-08-03 08:00:20 -07:00
Timothy Clem
bf40c726d8
Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes
2017-08-02 11:01:51 -07:00
Timothy Clem
780663e06a
Regenerate for example fixtures
2017-08-02 10:37:57 -07:00
Rob Rix
c82bf8f033
Test that error call stacks point at the failing assignments.
2017-08-02 12:21:56 -04:00
Rob Rix
19850efea1
Add callstacks to the spec rules.
2017-08-02 12:11:14 -04:00
Timothy Clem
6d1b076316
Rework for statement for new in clause
2017-08-01 11:40:56 -07:00
Timothy Clem
4a1728e4f6
Merge remote-tracking branch 'origin/master' into ruby-assignment-fixes
2017-08-01 08:03:52 -07:00
Rob Rix
8e8d1a1794
🔥 a redundant import.
2017-07-28 14:46:56 -04:00
Rob Rix
7da8799e08
🔥 Prologue & protolude.
2017-07-28 14:37:02 -04:00
Rob Rix
3646ab2b15
Renderers produce Output.
2017-07-28 11:23:55 -04:00
Rob Rix
aa15a97d3e
Test matching of alternations around pure.
2017-07-27 09:36:13 -04:00
Rob Rix
49449f5be2
Test that alternation distributes through committed choice & is nullable.
2017-07-26 18:42:36 -04:00
Rob Rix
a5236753e0
Test that alternation distributes through committed choice and matches single values.
2017-07-26 18:42:18 -04:00
Rob Rix
4038d4b1a3
Test that alternation distributes through committed choices and matches repeated values.
2017-07-26 18:41:24 -04:00
Rob Rix
2888a0d7f5
Test that committed choices of repetitions are nullable.
2017-07-26 18:40:19 -04:00
Rob Rix
786e6f6e60
Make sure that we match both when alternating repetitions.
2017-07-26 17:43:39 -04:00
Rob Rix
27f6d2ed25
Test that alternation distributes through children rules.
2017-07-26 12:14:12 -04:00
Rob Rix
898e119af9
Test that alternations of repetitions succeed.
2017-07-26 12:02:18 -04:00
Rob Rix
5c0d27c1a2
Test that overlapping choices match the right branch.
...
This currently fails due to the left-biased nature of how we merge committed choices.
2017-07-26 11:11:15 -04:00
Rob Rix
6e1be163b3
Test that overlapping choices match the left branch.
2017-07-26 11:09:52 -04:00
Timothy Clem
b52972b587
When fixtures with old term assignment
2017-07-25 13:54:09 -07:00
Timothy Clem
0ac5ffe525
Update the when fixtures
2017-07-25 10:44:36 -07:00
Timothy Clem
5ff7b9345b
Allow multiple whens in ruby case (for assignment)
2017-07-24 16:05:27 -07:00
Timothy Clem
26f9b77e8e
Merge branch 'master' into python-assignment-fixes
2017-07-24 10:45:05 -07:00
Rob Rix
d6beb353fa
🔥 unused imports.
2017-07-23 16:08:05 -04:00
Rob Rix
ba68f866fd
Remove the leaf type parameter from SyntaxDiff.
2017-07-23 15:59:02 -04:00
Rob Rix
aa8ebfcd73
Remove the leaf type parameter from SyntaxTerm.
2017-07-23 15:56:08 -04:00
Rob Rix
0ba3264f32
Remove the leaf type parameter from Syntax.
2017-07-23 15:46:29 -04:00
Rob Rix
32c03be782
Rename AssignmentState to State.
2017-07-22 16:13:42 -04:00
Rob Rix
09787f5e93
Combine the Error constructors.
2017-07-22 15:43:48 -04:00
Rob Rix
a04a05cf1a
Combine ErrorCause into Error.
2017-07-22 15:31:43 -04:00
Rob Rix
83a0d9c60e
Swap the order of the source & assignment.
2017-07-22 14:06:07 -04:00
Rob Rix
455f912941
Swap the order of the projection & source.
2017-07-22 14:04:52 -04:00
Rob Rix
d464da8089
runAssignment is exhaustive.
2017-07-22 13:59:45 -04:00
Timothy Clem
ed525a310f
Finally clauses can have multiple statements/expressions
2017-07-21 15:46:17 -07:00
Timothy Clem
618165452a
With statements with multiple withItems and partial withItems
2017-07-21 15:46:04 -07:00
Timothy Clem
1ab0701df2
Allow comments in pairs
2017-07-21 15:10:31 -07:00
Timothy Clem
8831317423
Fix issues with with
and multiple body statements
2017-07-21 15:01:01 -07:00
Timothy Clem
4461cb1542
Move yield to top level
2017-07-21 14:59:19 -07:00
Timothy Clem
22bdce0c46
Relax identifier to expression
2017-07-21 14:25:14 -07:00
Timothy Clem
f7202b23c8
Allow assignment of KeywordIdentifier
2017-07-21 14:17:22 -07:00
Timothy Clem
5d1720f93c
Merge remote-tracking branch 'origin/master' into fix-some-python-assignment-errors
2017-07-21 09:47:16 -07:00
Timothy Clem
9f20e57740
Spacing
2017-07-21 09:08:57 -07:00
Timothy Clem
2f9f9f5752
Merge remote-tracking branch 'origin/master' into remove-sourceState
2017-07-21 09:07:33 -07:00
Timothy Clem
b934b97f27
s/Palatte/Palette
2017-07-21 09:00:30 -07:00
Timothy Clem
6bf440d240
Python elif and else need to take multiple statements too
2017-07-20 11:42:56 -07:00
Timothy Clem
2880052c15
Remove sourceState from AssignmentState
2017-07-20 10:23:21 -07:00
Timothy Clem
1183c0265a
err no longer used in these specs
2017-07-20 09:36:41 -07:00
Timothy Clem
6b1a3b0efd
Fix zero width repetitions infinite loop
...
Introduces a stateCounter to detect progress and accepts one and only one zero width match.
Refactored tests a bit to not assert internal state unless specifically necessary.
2017-07-20 09:32:24 -07:00
Timothy Clem
ee0fb33a94
Demonstrate infinite loop with many (pure x)
2017-07-20 09:32:24 -07:00
Timothy Clem
0b23bf901f
Use const
2017-07-20 09:32:24 -07:00
Timothy Clem
4cdac77633
Test out catchError
2017-07-20 09:32:24 -07:00
Rob Rix
201f9358f8
Correct the tests.
2017-07-19 20:01:59 -04:00
Rob Rix
839c64b4a3
Rename Command.Files to Files.
2017-07-19 19:57:36 -04:00
Rob Rix
844b8d0dc3
Run tasks in the spec.
2017-07-19 17:23:44 -04:00
Rob Rix
8d43d19296
Construct Eithers for the input source(s).
2017-07-19 15:40:56 -04:00
Rob Rix
4d62b8be3f
Merge branch 'master' into task-input-output
2017-07-19 14:47:53 -04:00
Rob Rix
5481883b9f
🔥 Command.
2017-07-19 14:14:07 -04:00
Rob Rix
1fa7b11cc5
🔥 the obsolete import of Arguments.
2017-07-19 14:09:19 -04:00
Rob Rix
0b32ff0a3b
🔥 DiffFixture.
2017-07-19 14:09:11 -04:00
Rob Rix
9d4737048d
Correct the specs.
2017-07-19 14:01:56 -04:00
Rick Winfrey
6fc07e18ce
Add language field to errors test
2017-07-19 10:44:38 -07:00
Rick Winfrey
607392ded1
Add language to ToC spec tests
2017-07-19 10:34:48 -07:00
Timothy Clem
64d2175f58
Fix up assignment specs
2017-07-17 14:39:08 -07:00
Timothy Clem
902aa213f5
Assign HTMLInline in markdown
2017-07-17 10:50:02 -07:00
Rick Winfrey
8a0e952a11
Merge branch 'master' into python-slice-expressions
2017-07-13 10:03:53 -07:00
Rick Winfrey
0999f42b96
Merge branch 'master' into python-slice-expressions
2017-07-13 10:02:57 -07:00
Rob Rix
7b888cd760
Merge branch 'master' into parse-error-symbols
2017-07-13 10:58:28 -04:00
Rick Winfrey
67ad264125
Add slice test fixtures
2017-07-12 15:34:17 -07:00
Rob Rix
cf5794d9cc
🔥 a redundant import.
2017-07-12 15:57:14 -04:00
Rob Rix
e050a44cf4
Define a Node type for the intermediate representation of metadata.
2017-07-12 15:55:21 -04:00
Rob Rix
cf8148f804
Merge branch 'master' into parse-error-symbols
2017-07-12 14:58:40 -04:00
Rob Rix
a1b30f7524
Fix up the tests.
2017-07-12 14:51:38 -04:00
Timothy Clem
7fff9cc64a
Merge branch 'master' into ruby-assignment
2017-07-12 10:49:19 -07:00
Rick Winfrey
83fcc206f3
Merge branch 'master' into par-arg-eters
2017-07-12 10:09:06 -07:00
Timothy Clem
4d70e1c358
Merge branch 'master' into markdown-headings
2017-07-12 08:12:47 -07:00
Rick Winfrey
aaf2ce089e
Assign dictionary splat parameters
2017-07-11 15:31:19 -07:00
Timothy Clem
2c5b12f8de
Merge branch 'master' into ruby-assignment
2017-07-11 14:19:20 -07:00
Rick Winfrey
3f4d47030b
Assign list splat parameters
2017-07-11 13:53:25 -07:00
Rick Winfrey
821c6813ec
Assign typedDefaultParameter
2017-07-11 13:43:35 -07:00
Timothy Clem
7c513d3e01
Assign heredocs as TextElement for now
2017-07-11 13:23:05 -07:00
Timothy Clem
c314330e14
Handle === style markdown headings
2017-07-11 09:37:24 -07:00
Rick Winfrey
b35091f754
Assign aliased imports
2017-07-10 15:58:41 -07:00
Timothy Clem
bd684d0ed6
Merge remote-tracking branch 'origin/master' into ruby-assignment
2017-07-10 14:09:00 -07:00
Rick Winfrey
9f0a7c2c94
Merge branch 'master' into python-assignment-improvements
2017-07-10 13:59:55 -07:00
Rick Winfrey
a03300c920
Add test covering default parameters in Python
2017-07-10 13:59:40 -07:00
Timothy Clem
ef0810d3db
Test markdown toc summary rendering
2017-07-10 12:54:03 -07:00
Timothy Clem
405e068542
Fix up ruby rescue fixtures
2017-07-10 08:32:22 -07:00
Timothy Clem
39a457ceaf
Introduce blocks
2017-07-07 15:17:15 -07:00
Timothy Clem
39b7c05e50
case/when/else
2017-07-07 14:22:17 -07:00
Timothy Clem
7d8978f764
Uninterpreted
2017-07-07 13:53:16 -07:00
Timothy Clem
cf17c77a5e
Rescue modifiers
2017-07-07 13:47:50 -07:00
Timothy Clem
06bd5e9212
Fix tests
2017-07-07 10:04:56 -07:00
Timothy Clem
9904a39fb2
Fix up rescue, allow in methods
2017-07-07 10:04:49 -07:00
Timothy Clem
2fcc566542
Clean up argument/parameter parsing
2017-07-07 09:15:24 -07:00
Timothy Clem
1a0445b49c
Singleton classes
2017-07-06 15:57:31 -07:00
Timothy Clem
1acbd78108
Assignment
2017-07-06 12:56:16 -07:00
Timothy Clem
a4c0c93b2b
Method calls
2017-07-06 09:45:03 -07:00
Timothy Clem
0aa0c614b7
For
2017-07-06 09:44:10 -07:00
Timothy Clem
7cdddebfce
Class and Module
2017-07-05 15:41:54 -07:00
Timothy Clem
01be90fbf7
Guess we use these fixtures for other stuff, create a new methods
2017-07-05 14:53:44 -07:00
Timothy Clem
dd464f01d5
Assign lambdas and methods (with parameters)
2017-07-05 14:51:12 -07:00
Timothy Clem
a6820d12a8
Merge remote-tracking branch 'origin/master' into ruby-assignment
2017-07-05 12:21:21 -07:00
Josh Vera
bcf9cfa8f9
Merge branch 'master' into really-fast-markdown-assignment
2017-06-27 15:39:14 -04:00
Rick Winfrey
050650f431
Re-generate tests
2017-06-27 10:25:47 -07:00
Rick Winfrey
32a22a2a5c
Update integration tests for javascript and typescript
2017-06-26 16:58:39 -07:00
Rob Rix
5c44267e27
Fix the specs.
2017-06-26 12:56:56 -04:00
Rob Rix
2fe08397ee
🔥 redundant imports.
2017-06-24 17:32:18 -04:00
Rob Rix
fe29a865c3
🔥 redundant hidden symbols.
2017-06-24 17:32:18 -04:00