1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00
Commit Graph

244 Commits

Author SHA1 Message Date
Ayman Nadeem
cbe303d81d move object call up here because we want to product values when we marshal 2020-01-21 16:13:45 -05:00
Ayman Nadeem
1a18c17347 default signature no longer relevant 2020-01-21 16:13:29 -05:00
Ayman Nadeem
0d269d88ac remove Generic constraints 2020-01-21 16:13:17 -05:00
Ayman Nadeem
3304186ed5 notes 2020-01-21 16:12:09 -05:00
Ayman Nadeem
5970982065 TODOs 2020-01-21 16:11:42 -05:00
Ayman Nadeem
164672e52a create a place to pass type name info along, and produce type banes 2020-01-21 16:11:32 -05:00
Ayman Nadeem
c5fc76cb25 Call gfields without object 2020-01-21 16:10:50 -05:00
Ayman Nadeem
c9141c610a This TODO is still relevant 2020-01-21 16:08:37 -05:00
Ayman Nadeem
87f831b8b0 include Marshal.Examples in cabal file 2020-01-16 16:05:54 -05:00
Ayman Nadeem
7598a48765 remove redundant pragma 2020-01-16 15:37:08 -05:00
Ayman Nadeem
551c652148 OPTIONS_GHC is correct, GHC-OPTIONS is not. 2020-01-16 15:36:51 -05:00
Ayman Nadeem
b09a39c7a1 remove ghc-options from executable 2020-01-16 15:35:50 -05:00
Ayman Nadeem
e648302a44 remove -Wno-unused-top-binds; unused top bindings are a signal of dead code 2020-01-16 15:35:00 -05:00
Ayman Nadeem
c380908a2a no longer relevant since we're directly marshaling in Main now 2020-01-16 14:00:39 -05:00
Ayman Nadeem
12a126c60b add TODO to venture beyond python 2020-01-16 14:00:16 -05:00
Ayman Nadeem
2b23609d4a add this back as per Rob's approval 2020-01-16 09:30:22 -05:00
Ayman Nadeem
8befed9940 🔥comments 2020-01-13 10:46:59 -05:00
Ayman Nadeem
32123145a0 remove ghc-options 2020-01-13 10:46:32 -05:00
Ayman Nadeem
8bf0e031f3 🔥 2020-01-07 14:06:32 -05:00
Ayman Nadeem
f217a3cf74 improve GFields instance comment 2020-01-07 14:05:44 -05:00
Ayman Nadeem
2f1a425c11 🔥 2020-01-07 14:03:19 -05:00
Ayman Nadeem
3630edcb39 🔥this bc we've outgrown our scaffold/example 2020-01-07 13:54:46 -05:00
Ayman Nadeem
b266573ba4 clean up learning comments 2020-01-07 13:51:18 -05:00
Ayman Nadeem
759079f5da avoid cyclic imports 2020-01-07 13:44:10 -05:00
Ayman Nadeem
7ff1b2e6fa Fix -Wunrecognised-pragmas warning but adding -Wno-unused-top-binds warning to use in Main 2020-01-07 13:40:08 -05:00
Ayman Nadeem
e565b8c914 Deprecated: "Use Data.ByteString.Lazy.Char8.putStrLn instead 2020-01-07 13:38:27 -05:00
Ayman Nadeem
22ad567d34 The import of ‘encode’ from module ‘Data.Aeson’ is redundant 2020-01-07 13:22:08 -05:00
Ayman Nadeem
93b96462f2 Merge branch 'master' into json-output 2019-12-19 13:34:13 -05:00
Ayman Nadeem
439454c946 need aeson-pretty for encodePretty 2019-12-19 13:33:49 -05:00
Ayman Nadeem
e0b9e40c33 use encodePretty for pretty json output in console 2019-12-19 13:31:18 -05:00
Ayman Nadeem
af615d630d lazy bytestrings r 4 lazy girls 2019-12-19 13:30:56 -05:00
Ayman Nadeem
450017447e improve temp docs for GValue 2019-12-19 13:30:10 -05:00
Ayman Nadeem
ea364ff36e need bytestring 2019-12-19 10:16:47 -05:00
Ayman Nadeem
a8c0b9b21e add reminder to do this for range/span annotations properly 2019-12-19 10:11:55 -05:00
Ayman Nadeem
20eb10cf3c call toJSON if there is an instance, or marshal, print results 2019-12-19 10:11:36 -05:00
Ayman Nadeem
31ed149850 need Marshal 2019-12-19 10:08:18 -05:00
Ayman Nadeem
a3cc20811c import Aeson and alphabetize 2019-12-19 10:08:10 -05:00
Ayman Nadeem
c76c52757b aeson version in semantic-ast should match semantic 2019-12-19 10:00:03 -05:00
Ayman Nadeem
936ab9493a call marshal on Expr sum type 2019-12-19 09:59:29 -05:00
Ayman Nadeem
07560d24a1 let's use marshal on these example datatypes 2019-12-19 09:59:13 -05:00
Ayman Nadeem
f211f9ef98 copy Examples.hs from tree-sitter 2019-12-19 09:58:58 -05:00
Ayman Nadeem
be68edee65 we need undecidable instances 2019-12-19 09:58:06 -05:00
Ayman Nadeem
e82377960a import NonEmpty to make generic value instance work 2019-12-19 09:57:57 -05:00
Ayman Nadeem
4f627026be we can use fmap instead of having to use NonEmpty.map 2019-12-19 09:53:13 -05:00
Ayman Nadeem
1db98123c3 NonEmpty is also a type constructor represented by composition 2019-12-19 09:52:36 -05:00
Ayman Nadeem
74b14622e5 use generic composition to represent another type constructor, list 2019-12-19 09:51:49 -05:00
Ayman Nadeem
a919ee35cb need composition for Maybe, since Maybe is a type constructor that needs to take another type 2019-12-19 09:50:56 -05:00
Ayman Nadeem
c89a80ea50 value for text 2019-12-19 09:50:08 -05:00
Ayman Nadeem
d5d7ce9dfc explain GValue and gvalue 2019-12-19 09:49:50 -05:00
Ayman Nadeem
635c73670c s p a c e 2019-12-19 09:49:09 -05:00