Patrick Thomson
|
79c6e38de6
|
whitespace
|
2018-04-17 17:05:32 -04:00 |
|
Patrick Thomson
|
3542e853f8
|
Add new expression node for Python's floor-division operator.
Both floor division (`//`) and true division (`/`) were being parsed
as `DividedBy` nodes. This fixes that. To test, try `2.5 // 1.26` and
`3 // 2`.
|
2018-04-17 17:03:31 -04:00 |
|
Patrick Thomson
|
6ab34b0c51
|
Merge pull request #1745 from github/charliesome/remove-evaluatingstate-monoid
Remove EvaluatingState Semigroup and Monoid instances
|
2018-04-17 10:42:22 -04:00 |
|
Patrick Thomson
|
47a39e7e89
|
some comments
|
2018-04-17 10:23:51 -04:00 |
|
Charlie Somerville
|
c428ea8fa5
|
remove Semigroup and Monoid instances for EvaluatingState
these are technically lawful, but don't make a lot of sense for
EvaluatingSense
|
2018-04-17 16:34:14 +10:00 |
|
Charlie Somerville
|
34c10f2de8
|
relax RunEffect constrait to require only Empty, not Monoid
|
2018-04-17 16:31:30 +10:00 |
|
Charlie Somerville
|
560642579f
|
add Data.Empty typeclass
|
2018-04-17 16:31:08 +10:00 |
|
Josh Vera
|
ae1cc5d689
|
Merge pull request #1738 from github/assignment-statements
Allow allocation in assignment again
|
2018-04-16 14:40:07 -04:00 |
|
Josh Vera
|
bb0bd9f45e
|
Merge branch 'master' into assignment-statements
|
2018-04-16 12:32:17 -04:00 |
|
Josh Vera
|
ef3eab8ed8
|
Merge pull request #1739 from github/some-js-assignment-fixes
Some js assignment fixes
|
2018-04-16 12:28:03 -04:00 |
|
Josh Vera
|
c02985e468
|
Merge branch 'master' into some-js-assignment-fixes
|
2018-04-16 12:22:27 -04:00 |
|
Charlie Somerville
|
a05b06dbde
|
Merge pull request #1650 from github/charliesome/ruby-locals
WIP: Implement local variable context in Ruby assignment
|
2018-04-16 17:53:43 +10:00 |
|
Charlie Somerville
|
08a6b0a2d6
|
appease hlint
|
2018-04-16 17:39:34 +10:00 |
|
Charlie Somerville
|
699e2642ff
|
allow comments in and around parameters
|
2018-04-16 17:16:14 +10:00 |
|
Charlie Somerville
|
584aa364b5
|
style cleanups
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
bdcd8fcbc3
|
ruby: implement more strict assignment for parameters
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
a81beeb125
|
ruby: register parameters as local identifier names
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
cdb5672b27
|
test: fix expected output for parse and diff cli tests
|
2018-04-16 16:19:23 +10:00 |
|
Timothy Clem
|
c6cdfc4958
|
Fix CLI specs
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
2d320fdba1
|
ruby: update test fixtures
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
c999557043
|
ruby: emit Send terms from vcallOrLocal rather than Call
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
d08c675318
|
ruby: make parameter assignment more strict in accepted symbols
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
c5be01e8a0
|
ruby: use methodSelector rather than plainIdentifier for def names
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
66720795cc
|
ruby: allow Setter symbols in methodSelector
|
2018-04-16 16:19:23 +10:00 |
|
Timothy Clem
|
024d1c362e
|
Allow ability to prioritize local identifiers for certain syntaxes
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
5ff04bebcc
|
ruby: add Assignment' type so we can remove type constraints
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
237ffea294
|
alternate with End in putRubyLocals
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
ccca1e5857
|
ruby: implement variable scoping around scoped constructs
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
437df993b5
|
ruby: pull out some duplication in block assignment
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
8dfaae81e1
|
ruby: define locals as they are encountered
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
ba99be7345
|
ruby: emit barewords that aren't defined locals as method calls
|
2018-04-16 16:19:23 +10:00 |
|
Charlie Somerville
|
e6bf961c91
|
assignment: add special-cased ruby locals state
|
2018-04-16 16:19:23 +10:00 |
|
Timothy Clem
|
0b9d2e142c
|
In JavaScript, continue and break can also have trailing comments - assign them
|
2018-04-13 14:12:54 -07:00 |
|
Timothy Clem
|
40bf466dbb
|
Make sure we properly classify .js files
|
2018-04-13 10:58:25 -07:00 |
|
Timothy Clem
|
50f3dbae48
|
JavaScript returns can have comments even with no return expression
|
2018-04-13 10:54:30 -07:00 |
|
Timothy Clem
|
a9e5ff6a11
|
Assign HashBangLines in JavaScript/TypeScript
|
2018-04-13 10:54:22 -07:00 |
|
Timothy Clem
|
97a566e973
|
Allow allocation in assignment again
|
2018-04-12 15:19:27 -07:00 |
|
Timothy Clem
|
01d3e7d547
|
Merge pull request #1724 from github/graph-cli
Wire up graph analysis to the CLI
|
2018-04-12 15:09:05 -07:00 |
|
Timothy Clem
|
c230e58cbe
|
Merge branch 'master' into graph-cli
|
2018-04-12 11:00:46 -07:00 |
|
Timothy Clem
|
5c6535608e
|
Docs and formatting
|
2018-04-12 08:24:58 -07:00 |
|
Charlie Somerville
|
d45fafd5e2
|
Merge pull request #1736 from github/charliesome/fix-generate-example
Make script/generate-example more resilient around missing files
|
2018-04-12 11:42:01 +10:00 |
|
Timothy Clem
|
16a55d68a0
|
Linting
|
2018-04-11 16:02:03 -07:00 |
|
Timothy Clem
|
aedc6c1144
|
Remove extra imports
|
2018-04-11 15:55:12 -07:00 |
|
Timothy Clem
|
8dc79708be
|
Don't need these
|
2018-04-11 14:49:01 -07:00 |
|
Timothy Clem
|
13a0daea98
|
Handle evaluating preludes as part of import graph analysis
|
2018-04-11 14:48:30 -07:00 |
|
Timothy Clem
|
283fb8c7dc
|
Few util changes to eval Python
|
2018-04-11 14:47:40 -07:00 |
|
Charlie Somerville
|
63a10f210b
|
make script/generate-example more resilient around missing files
|
2018-04-11 15:49:57 +10:00 |
|
Timothy Clem
|
3a000ca7c0
|
Lost this formatting
|
2018-04-10 15:16:52 -07:00 |
|
Timothy Clem
|
e1160a19a9
|
Minor formatting
|
2018-04-10 15:12:55 -07:00 |
|
Timothy Clem
|
64744014fd
|
Formatting
|
2018-04-10 14:57:31 -07:00 |
|