1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 12:51:52 +03:00
Commit Graph

19563 Commits

Author SHA1 Message Date
Patrick Thomson
91c6731921 add evaluateWith 2018-03-21 17:21:59 -04:00
Patrick Thomson
b94d89fb74 lint 2018-03-21 11:11:48 -04:00
Patrick Thomson
bf7f06a9f4 missing push 2018-03-21 10:59:23 -04:00
Patrick Thomson
4187810a1a First stab at a prelude that enables subclassing.
This appears to work, though the evaluation order in
evaluatePreludedRubyFile is off somehow.
2018-03-21 10:52:37 -04:00
Patrick Thomson
3315096629 Merge pull request #1651 from github/fix-hlints
Take a pass at fixing/silencing linter hints.
2018-03-20 14:01:02 -04:00
Patrick Thomson
b9cef5e540 Merge branch 'fix-hlints' of github.com:github/semantic into fix-hlints 2018-03-20 12:36:01 -04:00
Patrick Thomson
bde8afb472 Stop ignoring syntax errors and fix hints in Assignments. 2018-03-20 12:35:30 -04:00
Patrick Thomson
b61938de73 Use newtype for GShow1Options. 2018-03-20 12:21:39 -04:00
Rob Rix
5cede65fd7 Merge branch 'master' into fix-hlints 2018-03-20 11:33:28 -04:00
Rob Rix
5fffdbb23f Merge pull request #1652 from github/fix-python-eval
Fix `evaluatePythonFile`.
2018-03-20 11:29:12 -04:00
Patrick Thomson
62aa1a9d57 Fix evaluatePythonFile.
Ruby and Go's evaluators had been changed to invoke `evaluateFile`
rather than `evaluate` directly, but Python's didn't make it in. This
remedies that.
2018-03-20 11:14:00 -04:00
Patrick Thomson
d5c404c1aa spurious annotations 2018-03-20 10:49:57 -04:00
Patrick Thomson
9d5ace795b Take a pass at fixing/silencing linter hints.
Since @charliesome was expressing trouble with keeping custom infix
operator precedence straight (a very fair complaint, and one that I
have trouble with too), I thought it best to make sure that master
builds with clean hlints. I propose we make CI check that `hlint src`
executes cleanly.
2018-03-20 10:41:53 -04:00
Josh Vera
2e2c18c3b2 Merge pull request #1575 from github/gorzell-container
Add a means of building an executable docker container.
2018-03-19 18:12:43 -04:00
Josh Vera
ed955abd56 Merge branch 'master' into gorzell-container 2018-03-19 18:04:53 -04:00
Patrick Thomson
7182ecc7e8 Merge pull request #1576 from github/classes
Implement classes and method dispatch
2018-03-19 17:13:30 -04:00
Josh Vera
1ae1eda20d Merge branch 'master' into gorzell-container 2018-03-19 16:44:54 -04:00
Patrick Thomson
62ee3a149e fix redundant constraint 2018-03-19 15:51:14 -04:00
Patrick Thomson
dd1e1c555d Merge remote-tracking branch 'origin/master' into classes 2018-03-19 15:45:43 -04:00
Patrick Thomson
3c1464cd7f Merge pull request #1640 from github/ruby-match-syntax
Add match-operation syntax and assign =~ and !~ to it.
2018-03-19 15:43:11 -04:00
Patrick Thomson
d053da814b Merge branch 'master' into ruby-match-syntax 2018-03-19 15:35:38 -04:00
Rob Rix
b8a524431c Merge pull request #1643 from github/haskell-ide-engine-instructions
Add haskell-ide-engine instructions to the README
2018-03-19 15:06:56 -04:00
Rob Rix
c615395f53 Merge branch 'master' into haskell-ide-engine-instructions 2018-03-19 13:34:50 -04:00
Rob Rix
5f405c27cc Merge pull request #1644 from github/werror-tests
Speed up builds by using same ghc-options for tests and semantic
2018-03-19 13:30:08 -04:00
Timothy Clem
07bdf1b5d1 Merge branch 'master' into werror-tests 2018-03-19 10:04:39 -07:00
Rob Rix
99c9da25ac Merge pull request #1581 from github/doctests
Doctests
2018-03-19 12:55:43 -04:00
Patrick Thomson
0db78c3cb3 overwrite is a better name than merge 2018-03-19 12:40:06 -04:00
Rob Rix
95f13be61f Merge branch 'master' into doctests 2018-03-19 12:35:14 -04:00
Patrick Thomson
d419ad8bf6 Merge remote-tracking branch 'origin/master' into classes 2018-03-19 12:31:34 -04:00
Rob Rix
67ebc90f11 Merge branch 'master' into haskell-ide-engine-instructions 2018-03-19 12:29:03 -04:00
Patrick Thomson
91f8701492 Merge remote-tracking branch 'origin/master' into ruby-match-syntax 2018-03-19 12:20:43 -04:00
Timothy Clem
4724d57350 Merge pull request #1580 from github/build-fix-em-ups
Build fix em ups
2018-03-19 09:20:31 -07:00
Patrick Thomson
5664bcdede fix unit tests 2018-03-19 12:17:44 -04:00
Timothy Clem
0332350154 Don't need this constraint 2018-03-19 09:02:13 -07:00
Timothy Clem
1dbe16e206 Fix fallback for lastRange 2018-03-19 08:57:03 -07:00
Patrick Thomson
00aecff08c Add match-operation syntax and assign =~ and !~ to it.
Previously, both =~ and !~ were parsed as equal nodes. This remedies
that by adding a new syntax node and calling out to it in Ruby's
Assignment.

Fixes #1558.
2018-03-19 11:55:07 -04:00
Rob Rix
f720c86e1f Build with as many cores as we can muster. 2018-03-19 10:20:10 -04:00
Rob Rix
476286834f Set -threaded on the doctests.
This is intended as a workaround for  https://github.com/commercialhaskell/stack/issues/3807
2018-03-19 10:19:48 -04:00
Rob Rix
e293814424 Pass --fast to try to speed up the doctests. 2018-03-19 10:09:59 -04:00
Rob Rix
1968d3bc16 Test that Range <> is associative. 2018-03-19 09:54:34 -04:00
Rob Rix
5cb387836d Don’t include the args twice. 2018-03-19 09:53:58 -04:00
Rob Rix
c962a0bae5 🔥 a redundant LANGUAGE pragma. 2018-03-19 09:53:52 -04:00
Rob Rix
b7bb4ccf72 Link QuickCheck in until we integrate LeanCheck. 2018-03-19 09:53:21 -04:00
Patrick Thomson
7f7aec72d9 fix broken callsites 2018-03-19 09:52:24 -04:00
Patrick Thomson
c90c57ba42 rename => mergeBindings 2018-03-19 09:48:06 -04:00
Rob Rix
f67a2a1dc3 Allow the arguments to override src. 2018-03-19 09:40:19 -04:00
Rob Rix
3f47dfbdc0 Indent a comment. 2018-03-19 09:30:19 -04:00
Rob Rix
e5821ffec5 Run all doctests found in src. 2018-03-19 09:23:46 -04:00
Rob Rix
c5f27206ab Build the doctests with -dynamic so they can load the .dylibs for the parsers. 2018-03-19 09:23:11 -04:00
Rob Rix
d54b6b812b 🔥 some ill-advised pseudo-properties. 2018-03-19 09:23:11 -04:00