1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

18709 Commits

Author SHA1 Message Date
joshvera
af4a489594 update typescript example 2018-03-07 11:56:27 -05:00
joshvera
3ed9162f68 Reset the exports set after evaluating a program 2018-03-07 11:54:58 -05:00
joshvera
a86921e63b Add TODO about prunedEnv 2018-03-07 11:54:40 -05:00
joshvera
3b6d586b6a Docs 2018-03-07 11:53:07 -05:00
joshvera
d176f52ff2 typo 2018-03-07 11:53:00 -05:00
Timothy Clem
5773745839 Merge remote-tracking branch 'origin/master' into environment-scoping 2018-03-07 08:52:53 -08:00
joshvera
581a3bb0ef Map from clauses to identifiers
So that they're free variables. Also strip the quotes.
2018-03-07 11:52:52 -05:00
Timothy Clem
841cd2e323 Spacing 2018-03-07 08:34:52 -08:00
Timothy Clem
5f5aa907cb WildcardImport docs 2018-03-07 08:33:36 -08:00
Timothy Clem
e830105a02 Real Evaluatable instance for Import 2018-03-07 08:33:28 -08:00
Timothy Clem
df8367c6f5 Docs 2018-03-07 08:33:06 -08:00
Timothy Clem
86f3283e26 Merge pull request #1534 from github/bump-tree-sitter
++haskell-tree-sitter, tree-sitter and ts languages
2018-03-07 08:29:49 -08:00
Timothy Clem
02d153e7ab Merge branch 'master' into bump-tree-sitter 2018-03-07 08:07:23 -08:00
joshvera
d99eb4a0db Add an Import evaluatable instance 2018-03-07 10:55:30 -05:00
joshvera
8426bbe598 Add Debug.Trace 2018-03-07 10:55:18 -05:00
Patrick Thomson
6ab468a58f remove stray comment 2018-03-07 10:25:06 -05:00
Patrick Thomson
22cac16ac5 Merge pull request #1526 from github/rename-linker
Rename the Linker type/module to ModuleTable.
2018-03-07 10:24:02 -05:00
Patrick Thomson
276d66e02f fix stray linkerInsert 2018-03-07 10:17:28 -05:00
joshvera
368dc93e91 Add an eval instance for QualifiedExport 2018-03-07 10:03:59 -05:00
joshvera
15b073485e Add addExport and getExports to MonadEvaluator 2018-03-07 10:03:45 -05:00
joshvera
4c1b74b49d Add bindExports
Returns an env with the given values aliased
2018-03-07 10:03:26 -05:00
Timothy Clem
956993a98d Go imports always be changing structure 2018-03-06 16:11:32 -08:00
Timothy Clem
34c5f12f3e Don't run these until output format stablizes a bit 2018-03-06 16:11:14 -08:00
Timothy Clem
c509d33ff9 Merge branch 'bump-tree-sitter' into environment-scoping 2018-03-06 16:04:16 -08:00
Timothy Clem
25b9826faa Go function/method parameter list changes 2018-03-06 15:47:48 -08:00
Timothy Clem
a0ec9e7c07 Go import test changes 2018-03-06 15:47:22 -08:00
Timothy Clem
4d24e41819 Update Go assignment for dot and blank imports 2018-03-06 15:46:55 -08:00
Timothy Clem
04575d4a01 ++haskell-tree-sitter 2018-03-06 15:16:46 -08:00
Timothy Clem
ad25410468 New take on Go import assignment (needs a tree-sitter bump) 2018-03-06 15:08:53 -08:00
joshvera
a448acf0a1 Make fromClause optional 2018-03-06 17:58:24 -05:00
joshvera
4bb9c803bd Remove exportClause and importExportSpecifier 2018-03-06 17:38:21 -05:00
joshvera
c6d16ad6b1 Use QualifiedExport
Removes the `default` export declaration case. We'll bring that back.
2018-03-06 17:38:03 -05:00
joshvera
535744a45e Stub out Evaluatable instance for QualifiedExport 2018-03-06 17:37:29 -05:00
Patrick Thomson
a02e1a6ea8 Merge remote-tracking branch 'origin/master' into resuscitate-caching-analysis 2018-03-06 17:28:06 -05:00
Patrick Thomson
a804013214 Merge remote-tracking branch 'origin/master' into rename-linker 2018-03-06 17:25:20 -05:00
Patrick Thomson
f96136918a Rename the linker* family of functions. 2018-03-06 17:24:54 -05:00
joshvera
db238dbe89 Remove NamespaceImport from typescript 2018-03-06 17:03:28 -05:00
joshvera
ac014f82eb Add QualifiedExport 2018-03-06 17:03:15 -05:00
joshvera
9985ddb1ea Remove NamedImports and NamespaceImport 2018-03-06 16:48:32 -05:00
Rob Rix
ca32bdc551 Define 'analyzeTerm' for 'CachingAnalysis'. 2018-03-06 16:46:38 -05:00
Rob Rix
76c69dce45 📝 analyzeTerm. 2018-03-06 16:43:23 -05:00
Rob Rix
e0e1dc2e67 Reformat/expand the 📝 for evaluateTerm. 2018-03-06 16:43:15 -05:00
Rob Rix
b0b93c7147 Move the 📝 for evaluateTerm down. 2018-03-06 16:40:49 -05:00
Rob Rix
25e5af382e Define dead code analysis using analyzeTerm. 2018-03-06 16:40:15 -05:00
Rob Rix
2ab50cda5e Evaluation analyzes via eval. 2018-03-06 16:39:37 -05:00
Rob Rix
c68728ea06 Define an analyzeTerm method on MonadAnalysis. 2018-03-06 16:36:06 -05:00
joshvera
863ce1497f Merge remote-tracking branch 'origin/master' into environment-scoping 2018-03-06 16:27:22 -05:00
Josh Vera
90d2b09cac Merge pull request #1525 from github/stylish-haskell-defaults
Add stylish-haskell configuration file.
2018-03-06 16:21:03 -05:00
Rob Rix
91cf38722b Add MultiParamTypeClasses to the defaults.
`haskell-src-exts` is quite broken when it comes to `MultiParamTypeClasses`:

- https://github.com/jaspervdj/stylish-haskell/issues/129
- https://github.com/haskell-suite/haskell-src-exts/issues/304
- `FunctionalDependencies` implies `MultiParamTypeClasses`, but `haskell-src-exts` doesn’t know that

Enabling it by default should correct this.
2018-03-06 15:20:53 -05:00
Patrick Thomson
37fcc4826b Rename the Linker type/module to ModuleTable.
During my recent pairing with @robrix, we agreed that the name of
Linker was inaccurate—it doesn't link anything, it just keeps track of
past modules. This renames it and its module.
2018-03-06 14:17:32 -05:00