1
1
mirror of https://github.com/tweag/nickel.git synced 2024-11-10 10:46:49 +03:00
Commit Graph

1012 Commits

Author SHA1 Message Date
Eelco Dolstra
6a75c64211
Merge pull request #282 from tweag/feature/import-multiple-formats
Support importing multiple formats (JSON, YAML, TOML)
2021-02-05 12:46:40 +01:00
Eelco Dolstra
8550f42345
Merge pull request #281 from tweag/feature/yaml-support
Add YAML and TOML export formats
2021-02-05 09:56:43 +01:00
Yann Hamdaoui
e6fa607e87 Test serialization-deserialization is involutory 2021-02-04 11:00:21 +01:00
Yann Hamdaoui
9a2a03b894 Remove unused imports 2021-02-04 11:00:21 +01:00
Yann Hamdaoui
6c00b1a9ac Improve error reporting when importing external formats 2021-02-04 11:00:21 +01:00
Yann Hamdaoui
559131ad28 Support importing JSON/YAML/TOML files 2021-02-04 11:00:21 +01:00
Yann Hamdaoui
456238dc3b Implement Deserialize trait for RichTerm 2021-02-04 11:00:21 +01:00
Yann Hamdaoui
fe909d3fac Add YAML and TOML export formats 2021-02-04 10:59:39 +01:00
Yann Hamdaoui
05ae942275
Merge pull request #273 from tweag/feature/shallow-type-inference
Shallow type inference
2021-02-03 16:43:08 +00:00
Yann Hamdaoui
7ede56ae0a Infer the Str apparent type for all interpolated strings 2021-02-03 17:32:21 +01:00
Yann Hamdaoui
e83dce6d8f Rename typecheck::ApparentType's variant Exact to Inferred 2021-02-03 17:29:31 +01:00
Yann Hamdaoui
cb26243956 Allow pipe syntax in records and toplevel lets 2021-02-03 17:27:14 +01:00
Yann Hamdaoui
c9c90f3156
Merge pull request #287 from tweag/fix/eq-on-enum
[Fix]Equality operator mishandling enums
2021-02-03 16:19:58 +00:00
Yann Hamdaoui
059447a568 Fix equality operator mishandling enums 2021-02-03 16:25:46 +01:00
Théophane Hufschmitt
33d2b00a27
Merge pull request #268 from tweag/task/simplify-extended-parser
Remove extended parser and use directly LALRPOP
2021-02-02 11:00:15 +01:00
Rok Garbas
efb15c1fbd
separate workflows for PRs and master branch 2021-01-28 20:20:57 +01:00
Yann Hamdaoui
d91e9f2d1c Set up cachix for gitHub actions 2021-01-28 13:25:27 +01:00
Yann Hamdaoui
3cae682a47 Set the parameters of the GitHub action commiters 2021-01-28 13:17:52 +01:00
Yann Hamdaoui
7b2a8d5ccd Add test for shallow type inference 2021-01-28 12:39:55 +01:00
Yann Hamdaoui
b97568f170 Fix unsound shallow inference for string chunks 2021-01-28 11:50:36 +01:00
Yann Hamdaoui
8e10bb0f7d Add basic inference outside of statically typed blocks 2021-01-28 11:39:40 +01:00
Yann Hamdaoui
0d555b7f9b Add a try_map function on Types 2021-01-27 17:38:48 +01:00
Yann Hamdaoui
3b07e9648d
Merge pull request #280 from tweag/fix/fix-test-unification-cycle
[Fix CI]Update test to use parametrized list type
2021-01-27 15:27:35 +00:00
Yann Hamdaoui
cbb36b6e7f Fix test to work with parametrized list type 2021-01-27 16:23:15 +01:00
Yann Hamdaoui
f3570ebacf
Merge pull request #271 from tweag/fix/typechecking-loop
[Fix]Cyclic type inference
2021-01-27 15:18:48 +00:00
Yann Hamdaoui
c2ebd94ed6
Merge pull request #272 from tweag/feature/parametrized-lists
Parametrized list type
2021-01-25 09:16:54 +00:00
Yann Hamdaoui
0409a14015 Do not print expected error diagnostic during test 2021-01-25 10:07:54 +01:00
Yann Hamdaoui
fe7ecf0eb7
Merge pull request #269 from tweag/fix/repl-control-sequences
[Fix]Swapped control sequences Ctrl+D and Ctrl+C in REPL
2021-01-25 08:56:48 +00:00
Yann Hamdaoui
9cfafaf524 Fix typo in comment 2021-01-25 09:53:22 +01:00
Yann Hamdaoui
5d092cb3e0 End input on empty lines in REPL 2021-01-25 09:46:59 +01:00
Yann Hamdaoui
5146213673
Fix typo in comment
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-01-25 08:33:10 +00:00
Rok Garbas
cbd7ad7744
fixing update_channel.sh script 2021-01-24 11:30:30 +01:00
Rok Garbas
61ed646ac9
another typo 2021-01-24 11:23:37 +01:00
Rok Garbas
af730a34f4
this is not really needed 2021-01-24 11:22:14 +01:00
Rok Garbas
3038a4e9a8
typo 2021-01-24 11:20:35 +01:00
Rok Garbas
73f803bb65
nixify circleci jobs and run them with github actions 2021-01-24 11:18:00 +01:00
Rok Garbas
541122835d
typo 2021-01-23 19:50:03 +01:00
Rok Garbas
41eadd9bf9
ensure we know we are updating rust channels 2021-01-23 19:49:15 +01:00
Rok Garbas
12402d30cd
DEBUG in PR 2021-01-23 19:48:09 +01:00
Rok Garbas
be5a58f3a1
typo 2021-01-23 19:47:39 +01:00
Rok Garbas
715065d43b
make sure we know we are talking about rust channels 2021-01-23 19:46:38 +01:00
Yann Hamdaoui
b7425eb87e Test that blame error reporting doesn't panic 2021-01-22 12:23:42 +01:00
Yann Hamdaoui
e65906df0e Add tests for parametrized lists contracts 2021-01-22 11:53:56 +01:00
Yann Hamdaoui
555877da8f Adapt error reporting to type paths with lists 2021-01-22 11:14:17 +01:00
Yann Hamdaoui
3a87a88e90 Adapt type paths for parametrized list type 2021-01-21 19:52:50 +01:00
Yann Hamdaoui
d6c8321eb9 Add support for parametrized list in type paths 2021-01-21 19:33:10 +01:00
Yann Hamdaoui
604cb1e9c9 Implement homogenuous list contracts 2021-01-21 18:50:21 +01:00
Yann Hamdaoui
aff0a645d3 Add tests for pretty printing of parametrized list types 2021-01-21 18:43:49 +01:00
Yann Hamdaoui
d3939e60e2 Update stdlib types with parametrized list types 2021-01-21 18:29:42 +01:00
Yann Hamdaoui
e562f1c681 Adapt tests to parametrized lists + fix head's type 2021-01-21 18:28:41 +01:00