Patrick Thomson
df96f43acd
Make findFilesInDir use pathtype.
2019-10-11 19:24:53 -04:00
Rob Rix
116e5b385a
Merge branch 'master' into semantic-java
2019-10-02 17:32:09 -04:00
Rob Rix
d0aaef6da9
Fix up parse-examples.
2019-10-01 11:17:57 -04:00
Rob Rix
1ec65b4858
Define a constructor for the default language modes.
2019-09-27 19:02:14 -04:00
Rob Rix
9b0187d53d
Fix a missing import of a symbol.
2019-09-27 17:32:38 -04:00
Rob Rix
c0be280f34
Import runReader.
2019-09-27 10:00:40 -04:00
Rob Rix
71e796b1b9
This field is not in Maybe.
2019-09-27 10:00:32 -04:00
Rob Rix
e5ef1e67ef
Fix a couple of errors in the tests.
2019-09-26 13:40:22 -04:00
Patrick Thomson
875c302670
Build these concurrently.
2019-09-24 16:07:23 -04:00
Patrick Thomson
978018c1e1
Rewrite parse-examples target to use tasty.
...
This gets us a little bit of a speed boost, lets us drop a couple
dependencies, and makes us use streaming libraries.
2019-09-24 03:17:25 -04:00
Patrick Thomson
206773c125
Make parseFilePath take a RElPath.
2019-09-20 12:48:36 -04:00
Patrick Thomson
057aa5386a
parse-examples now uses pathtype.
2019-09-20 11:34:09 -04:00
Rob Rix
53c8e66b52
Correct the path to the vendored language dirs.
2019-09-17 12:45:23 -04:00
Rob Rix
38e04716f0
There is no languages dir.
2019-09-17 12:45:05 -04:00
Jan Hrček
915937c4be
Fix some hlint warnings
2019-06-16 13:40:13 +02:00
Patrick Thomson
32a581f31a
More robust example parsing.
2019-06-11 14:54:48 -04:00
Patrick Thomson
4853d9796f
Oops.
2019-06-11 11:23:56 -04:00
Patrick Thomson
a157e4a1b4
Don't clutter the workdir.
2019-06-11 11:22:04 -04:00
joshvera
7d49193f3b
Add tsx tests
2019-06-06 19:11:29 -04:00
Patrick Thomson
b8d3a06a67
Fix all the test cases.
2019-05-21 22:28:32 -04:00
Patrick Thomson
9509ec37b8
absolutely massive patch that touches everything
2019-05-21 22:05:23 -04:00
Patrick Thomson
aa7e1d140c
Fix parse-examples.
2019-03-25 11:37:19 -04:00
Rick Winfrey
9813ae2319
Parameterize TaskSession with isPublic
2019-02-15 16:22:51 -08:00
Timothy Clem
cc78c0d8d5
Case Api as generated
2019-02-12 12:49:34 -08:00
Timothy Clem
b2ae020f26
Merge branch 'master' into refactor-runTask-log-request-ids
2019-02-04 14:54:43 -08:00
joshvera
41b8f0ae9c
Merge remote-tracking branch 'origin/master' into javascript-assignment-fixes
2019-02-04 10:21:27 -05:00
Timothy Clem
ce04fa8f12
Refactor runTask
2019-02-01 15:04:23 -08:00
Josh Vera
37ea776107
Merge branch 'master' into javascript-assignment-fixes
2019-02-01 09:19:35 -05:00
Timothy Clem
a1a81e3daa
Fix up merge conflicts in Examples.hs
2019-01-31 14:13:26 -08:00
Timothy Clem
c6091cee7f
Remove extra imports
2019-01-31 13:47:45 -08:00
joshvera
77b1e6f234
Add annotatedExpression to typescript
2019-01-31 16:07:19 -05:00
joshvera
9592376d2f
Enable go tests
2019-01-31 10:59:37 -05:00
Patrick Thomson
3135426fcd
Use clone-example-repos to get Go and Ruby examples.
...
Go tests appear to be broken. Gonna file an issue about it.
2018-12-12 11:14:16 -05:00
Patrick Thomson
5a2ff17278
temporarily disable go and ruby tests until we can decide what to do
2018-12-10 16:28:38 -05:00
Timothy Clem
1d23968c53
Fix tests
2018-11-13 14:59:20 -08:00
Rob Rix
131cae4d7b
Merge branch 'master' into higher-order-effects
2018-10-24 14:04:13 -04:00
Patrick Thomson
ef696d3c41
Split up Semantic.IO.
...
This looks like a big patch, but it's very straightforward: no
behavior has changed.
After the umpteenth time spent hitting a compile error because I
passed a `FilePath` rather than a `File` to `readBlobFromPath`, I
decided to finally make the needed refactors to Semantic.IO, and to
split off the `File` type and `Files` effect. This patch:
* adds the `MonadIO` class to `Prologue`'s export list
* moves `File` into `Data.File`
* moves `Handle` into `Data.Handle`
* moves `Files` into `Semantic.Task.Files`
* moves functions for reading blobs into `Data.Blob`
* keeps general IO helpers in Semantic.IO
* renames `readFile` to `readBlobFromFile`
* renames `readBlobFromPath` to `readBlobFromFile'`
This should have a positive effect on compile times and ease of
navigation throughout the codebase.
2018-10-23 15:37:49 -04:00
Rob Rix
3ef2efa73a
Merge branch 'master' into higher-order-effects
2018-10-22 09:45:57 -04:00
Rob Rix
c9e6912068
Port most of the system over to higher-order-effects.
2018-10-16 18:48:08 -04:00
Patrick Thomson
1de1f0b5c1
try catching ParserTimedOut exceptions in parse-examples
2018-10-16 17:39:36 -04:00
Timothy Clem
253975164a
Test out JavaScript parse-examples
2018-09-18 15:32:56 -07:00
Timothy Clem
6817193cbc
Mark assignment timeouts as pending
2018-09-18 13:00:31 -07:00
Timothy Clem
fdfb8228b6
Only python to start
2018-09-18 08:36:48 -07:00
Timothy Clem
d83630443b
Rename
2018-09-18 08:36:40 -07:00
Timothy Clem
31ca888da7
Introduce datatype for these language examples
2018-09-17 16:46:45 -07:00
Timothy Clem
15f7e57571
First pass at doing parse-examples in haskell and hspec
2018-09-17 15:49:18 -07:00