Ayman Nadeem
ba3059d7f6
we no longer need to support f :: (* -> *)
2020-05-07 13:25:48 -04:00
Ayman Nadeem
e48a0fe029
Remove unmarshal instance for Err, as we no longer need this
2020-05-07 13:24:21 -04:00
Ayman Nadeem
c9f0deabdb
success is a noun (and a journey)
2020-05-07 13:07:01 -04:00
Ayman Nadeem
d976447be8
remove f from token now that we no longer parameterize our programs with it
2020-05-07 13:06:07 -04:00
Ayman Nadeem
ce6ee75d58
Token no longer has the generalized f param with (* -> *)
2020-05-07 12:46:15 -04:00
Ayman Nadeem
7700575a58
revert Language.LANGUAGE files to original state
2020-05-07 11:42:12 -04:00
Ayman Nadeem
72d8ad5792
remove shapeParameterName from all generated datatypes and hardcode Parse.Err when building product types
2020-05-07 11:37:29 -04:00
Ayman Nadeem
3e1c267df3
remove AllowAmbiguousTypes now that I'm making things explicit
2020-05-05 16:06:47 -04:00
Ayman Nadeem
a6a1cac861
language extension cleanup
2020-05-05 15:58:15 -04:00
Ayman Nadeem
dd979059f1
add ConstaintKinds extension
2020-05-05 15:57:30 -04:00
Ayman Nadeem
2783176eaf
parameterize t with Parse.Err for Traversable1 constraint
2020-05-05 15:57:16 -04:00
Ayman Nadeem
5c1a24d81c
TS.SwitchDefault
2020-05-05 15:31:19 -04:00
Ayman Nadeem
8e70dea238
provide explicit kind signature for t
2020-05-04 19:24:55 -04:00
Ayman Nadeem
46a3b615a7
parameterize typeclass with Parse.Err
2020-05-04 19:24:29 -04:00
Ayman Nadeem
8867760323
remove introduction of Error type from instance heads
2020-05-04 19:24:09 -04:00
Ayman Nadeem
16c9b91040
add Parse.Err parameter to tags instances
2020-05-01 16:39:45 -04:00
Ayman Nadeem
065ec43b7b
Merge branch 'master' into codegen-cleanup
2020-05-01 11:55:59 -04:00
Patrick Thomson
66103a1b99
Merge pull request #546 from github/warn-me-no-more
...
Fix annoying warning re. inter-project dependencies.
2020-04-30 17:24:20 -04:00
Patrick Thomson
f829708bbd
Fix annoying warning re. inter-project dependencies.
...
Building `semantic-python` would result in a warning like this:
```
Warning: The package has an extraneous version range for a dependency on an
internal library: semantic-python ==0.0.0.0. This version range includes the
current package but isn't needed as the current package's library will always
be used.
```
Removing this indeed-extraneous bound makes it go away.
2020-04-30 17:05:13 -04:00
Ayman Nadeem
2f6f950edf
Merge branch 'master' into codegen-cleanup
2020-04-30 13:14:10 -04:00
Timothy Clem
452488ca67
Merge pull request #544 from github/fix-tag-spans
...
Constrain Loc for tags to the identifer
2020-04-29 12:56:56 -07:00
Ayman Nadeem
916d5a4a5e
parameterize TypeScript program with Err
2020-04-29 13:56:35 -04:00
Ayman Nadeem
effeebaee1
parameterize TSX program with Err
2020-04-29 13:56:26 -04:00
Ayman Nadeem
00b6a00492
import AST.Parse
2020-04-29 13:56:18 -04:00
Ayman Nadeem
d7c5c587b4
parameterize PHP program with Err
2020-04-29 13:56:05 -04:00
Ayman Nadeem
f98b7e3b89
parameterize JSON program with Err instead of Identity
2020-04-29 13:55:56 -04:00
Ayman Nadeem
188fe07b11
parameterize Java program with Err
2020-04-29 13:55:36 -04:00
Ayman Nadeem
30323a7231
parameterize Go program with Err
2020-04-29 13:55:27 -04:00
Ayman Nadeem
d1e4d4f658
parameterize CodeQL with Err
2020-04-29 13:55:10 -04:00
Ayman Nadeem
67fb8287bd
Update Token.hs
2020-04-29 13:07:19 -04:00
Ayman Nadeem
19df903be3
use standalone format for language extensions in AST.Token
2020-04-29 13:07:10 -04:00
Ayman Nadeem
66111e31f6
parameterize Java program with Err
2020-04-29 13:06:16 -04:00
Ayman Nadeem
1918d8bbde
add QuantifiedConstraints to Language.Go.AST
2020-04-29 13:06:04 -04:00
Ayman Nadeem
bf3f74741d
parameterize Go program with Err
2020-04-29 13:05:46 -04:00
Ayman Nadeem
ffd2294b63
use standalone format for language pragmas in AST.Parse
2020-04-29 13:05:36 -04:00
Timothy Clem
2c94d0a498
Fix up fixtures
2020-04-28 12:08:51 -07:00
Ayman Nadeem
cdcafd612e
add QuantifiedConstraints extension to AST modules for each supported lang
2020-04-28 13:50:24 -04:00
Ayman Nadeem
6e1a6bfb68
a Ruby program will now be parameterized by an Err
2020-04-28 13:46:58 -04:00
Ayman Nadeem
49ba306fe7
add QuantifiedConstraints to Python
2020-04-28 13:46:41 -04:00
Ayman Nadeem
bc30355385
add QuantifiedConstraintst to Ruby
2020-04-28 13:46:30 -04:00
Ayman Nadeem
2089d8d65a
change a
to sym
where it implies symbol
2020-04-28 13:46:10 -04:00
Ayman Nadeem
9da786c8c5
change a
to ann
because a
is overloaded and confusing
2020-04-28 13:45:48 -04:00
Ayman Nadeem
284fe08f75
add UnmarshalField instance for new Err type
2020-04-28 13:44:54 -04:00
Ayman Nadeem
07166c17b2
Unmarshal Token instances now needs an additional param, f
2020-04-28 13:44:30 -04:00
Ayman Nadeem
d539ac70cd
provide explicit kind signature for f param to Token
2020-04-28 13:42:53 -04:00
Ayman Nadeem
6794da00cd
manually derive Show
2020-04-28 13:13:54 -04:00
Ayman Nadeem
ac263ada10
derive applicative since we can't autoderive it
2020-04-28 13:13:45 -04:00
Ayman Nadeem
7c6718cb88
add KindSignatures, StandaloneDeriving and TypeOperators to all Language.LANG.AST files
2020-04-28 11:07:08 -04:00
Ayman Nadeem
192c4887ea
alphabetize
2020-04-28 11:03:29 -04:00
Ayman Nadeem
41eaf07526
fix Parse.Err
2020-04-28 10:47:15 -04:00