Rob Rix
f3a780e3a9
Reformat the type signature for run.
2017-07-22 13:22:42 -04:00
Timothy Clem
c1f55cf904
Merge pull request #1238 from github/program-nodes-in-parse-tree-output
...
Produce program syntaxes (for ruby at least)
2017-07-21 13:33:58 -07:00
Timothy Clem
edbc7a5a0a
Program's gotta be Diffable
2017-07-21 13:30:32 -07:00
Timothy Clem
3ec1f212e6
Merge branch 'master' into program-nodes-in-parse-tree-output
2017-07-21 13:25:19 -07:00
Timothy Clem
c540661bb2
Unwrap one level of structure for ExpressionStatement in Python
2017-07-21 12:24:14 -07:00
Timothy Clem
3522fb2170
Don't display for in ConstructorName
2017-07-21 12:23:54 -07:00
Rick Winfrey
6486cc58b7
Merge pull request #1239 from github/diff-assignment-by-syntax
...
Generically diff assignment by syntax
2017-07-21 11:03:27 -07:00
Rick Winfrey
b7339fef17
Merge branch 'master' into diff-assignment-by-syntax
2017-07-21 10:52:17 -07:00
Rick Winfrey
589acd30fd
Update 📝
2017-07-21 10:50:53 -07:00
Rick Winfrey
62129785f2
Move instance
2017-07-21 10:50:24 -07:00
Timothy Clem
68b2352745
Merge remote-tracking branch 'origin/master' into program-nodes-in-parse-tree-output
2017-07-21 10:39:34 -07:00
Timothy Clem
34e3dc9965
Add Program syntax wrapper to python too
2017-07-21 10:31:57 -07:00
Timothy Clem
740ddc42ca
Merge pull request #1240 from github/lenient-ruby-assignment
...
Make Ruby assignment lenient
2017-07-21 10:03:38 -07:00
Timothy Clem
289e0cbd2a
Merge remote-tracking branch 'origin/master' into lenient-ruby-assignment
2017-07-21 09:52:57 -07:00
Timothy Clem
4b25ff1636
Merge remote-tracking branch 'origin/master' into lenient-ruby-assignment
2017-07-21 09:52:03 -07:00
Timothy Clem
dad86d0dd8
Merge branch 'master' into program-nodes-in-parse-tree-output
2017-07-21 09:51:50 -07:00
Timothy Clem
7b9099f6c2
Merge pull request #1237 from github/fix-some-python-assignment-errors
...
Fix some python assignment errors
2017-07-21 09:51:24 -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
a4180bc41b
Merge pull request #1236 from github/fix-ruby-empty-statement
...
Try to take some source for Ruby EmptyStatement in assignment
2017-07-21 09:46:53 -07:00
Timothy Clem
1269577a75
Merge remote-tracking branch 'origin/master' into fix-ruby-empty-statement
2017-07-21 09:28:46 -07:00
Timothy Clem
87766719e9
Merge pull request #1235 from github/remove-sourceState
...
Remove sourceState from AssignmentState
2017-07-21 09:28:11 -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
4820e346b5
Merge pull request #1234 from github/catch-error-specs
...
Fix infinite loop caused by zero width repetions
2017-07-21 09:06:04 -07:00
Timothy Clem
b934b97f27
s/Palatte/Palette
2017-07-21 09:00:30 -07:00
Timothy Clem
20905f6e65
Write this as guards instead
2017-07-21 08:59:38 -07:00
Rick Winfrey
dc0d6ed90b
Fix typo
2017-07-20 17:34:19 -07:00
Rick Winfrey
e1460fadc1
Clarify "rest" in terms of Union
2017-07-20 17:25:27 -07:00
Rick Winfrey
74c6714be1
📝 the Diffable instances
2017-07-20 17:21:20 -07:00
Timothy Clem
cf268a3ce3
Make Ruby assignment lenient: everything is an expression
2017-07-20 15:10:12 -07:00
Rick Winfrey
16ed7e704a
Merge branch 'master' into diff-assignment-by-syntax
2017-07-20 14:50:52 -07:00
Timothy Clem
ad7342b93f
Merge branch 'master' into catch-error-specs
2017-07-20 14:25:23 -07:00
Rick Winfrey
ad70ccb97d
🔥 Diffable for old Syntax
2017-07-20 14:21:59 -07:00
Rick Winfrey
ec5ec8ebb5
Replace diffLinearly -> diffRecursively
2017-07-20 14:17:01 -07:00
Rick Winfrey
b6396fbd51
Derive Diffable instances for Syntax constructors
2017-07-20 14:16:18 -07:00
Rick Winfrey
c8da38ddc2
Add Diffable class and instances
2017-07-20 14:15:01 -07:00
Timothy Clem
9618db2cdb
Produce program syntaxes (for ruby at least)
2017-07-20 13:52:10 -07:00
Timothy Clem
fc9851334f
Introduce expressions and declarations to Python assignment to cleanup code
2017-07-20 11:54:41 -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
996b8fbf30
Fix python assignment for multiple statements in if body
2017-07-20 11:39:07 -07:00
Timothy Clem
2ca5412769
Python ExpressionStatement can have one or more declarations
2017-07-20 11:26:26 -07:00
Timothy Clem
2c00461f23
Allow assignment of <> operator in Python
2017-07-20 11:15:50 -07:00
Timothy Clem
19eb8f2706
Try to take some source for EmptyStatement
2017-07-20 11:06:34 -07:00
Timothy Clem
2880052c15
Remove sourceState from AssignmentState
2017-07-20 10:23:21 -07:00
Josh Vera
dec0de378c
Merge pull request #1232 from github/json
...
Add a JSON Parser
2017-07-20 12:48:35 -04:00
Josh Vera
974e4a3068
Merge branch 'master' into json
2017-07-20 12:41:32 -04:00
Timothy Clem
1183c0265a
err no longer used in these specs
2017-07-20 09:36:41 -07:00
joshvera
de2146a1cd
Merge 'master' into json
2017-07-20 12:35:34 -04: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