André Videla
e7a4914f11
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
e1f4fbba83
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
23b2ddd179
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
b22c7f8289
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
ef0ca76b4c
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
c4c79c9115
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
bcb225568a
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
c6fbd27c6c
Update docs/source/reference/operators.rst
2024-02-24 12:36:44 +00:00
André Videla
e0f5ee9996
implement compatible operator suggestions
2024-02-24 12:36:44 +00:00
André Videla
31ea83039c
first attempt at suggesting different operators
2024-02-24 12:36:44 +00:00
André Videla
ebb8b55d45
Udpate IDE test
...
This change is correct because `=` is indeed a function and should
be colored as such.
2024-02-24 12:36:44 +00:00
André Videla
4eb9c97806
Allow patterns in operator binders
2024-02-24 12:36:44 +00:00
André Videla
1d3668d9a6
Allow underscore as a valid name for binder operator
2024-02-24 12:36:44 +00:00
André Videla
91f66bc7b5
add location of fixity to change in error message
2024-02-24 12:36:44 +00:00
André Videla
210f9d9c15
fix error message for non-associative fixity
2024-02-24 12:36:44 +00:00
Mathew Polzin
e583e73a7c
move CHANGELOG entry to CHANGELOG_NEXT
2024-02-24 12:36:42 +00:00
Andre Videla
b5895394d1
update comment documentation strings
2024-02-24 12:28:10 +00:00
André Videla
eb9d4d65a5
fix typo in doc
2024-02-24 12:28:10 +00:00
André Videla
4cb8dc507b
update error message for infixr
2024-02-24 12:28:10 +00:00
André Videla
63c167637c
wip more error messages
2024-02-24 12:28:10 +00:00
Andre Videla
c3651509e0
add operator documentation
2024-02-24 12:28:10 +00:00
Andre Videla
3d2c854257
update docs
2024-02-24 12:28:10 +00:00
Andre Videla
38fbad17f8
update test
2024-02-24 12:28:10 +00:00
Andre Videla
1633b7ec1c
reverse parsing of pi
2024-02-24 12:28:10 +00:00
Andre Videla
992fc62d86
reinstate the good error messages
2024-02-24 12:28:10 +00:00
Andre Videla
a73522ec66
cleanup tests
2024-02-24 12:28:10 +00:00
André Videla
f079781c17
fix tests
2024-02-24 12:28:10 +00:00
André Videla
a7a25914b7
Allow binding operators on LHS
...
When a binding operator is found on the LHS, we don't check
if the first argument is a binder.
2024-02-24 12:28:10 +00:00
André Videla
d49f008cb5
fix repl documentation
2024-02-24 12:28:10 +00:00
Andre Videla
07c42c22a5
update error messages
2024-02-24 12:28:10 +00:00
Andre Videla
0f46e2c2fa
Display dynamic errors for binding operators
...
Whenever the binding structure of an operator does not match
the fixity in scope, the error displays what was the expected
syntax and what was given. Additionally, it provides code
samples of possible fixes for the current error, dynamically
generated from the information at the error's site.
2024-02-24 12:28:10 +00:00
André Videla
fd40777e0d
add error message tests
2024-02-24 12:28:10 +00:00
André Videla
653ed454ef
add basics error messages for operator misuse
2024-02-24 12:28:10 +00:00
André Videla
4c7010871f
cleanup hole
2024-02-24 12:28:10 +00:00
André Videla
891f841077
correctly rearrange binding operators according to shunting rules
2024-02-24 12:28:10 +00:00
André Videla
02a6751796
add shunting test
2024-02-24 12:28:10 +00:00
André Videla
1adb780e3f
add tests to chaining and combing operators
2024-02-24 12:28:10 +00:00
André Videla
6ce4ec2ebf
add both typebind and autobind
2024-02-24 12:28:10 +00:00
André Videla
046e08d173
differenciate between type bind and expr bind
2024-02-24 12:28:10 +00:00
André Videla
0ed65eb587
desugar autobind properly
2024-02-24 12:28:10 +00:00
André Videla
b8d81b768e
add autobind keyword
2024-02-24 12:28:10 +00:00
André Videla
1d7d07a667
add test file
2024-02-24 12:28:10 +00:00
Mathew Polzin
d497a7af5f
[new] zsh completion script ( #3216 )
2024-02-23 14:12:22 -06:00
Denis Buzdalov
8144980ae5
[ elab ] Support easy collection of information during TTImp
traverse
2024-02-23 11:32:22 +01:00
Hattori, Hiroki
1906c75433
[RefC] [Cleanup] Erase trivial constructors; Stop copying constructor name. ( #3206 )
2024-02-20 08:01:06 -06:00
Hattori, Hiroki
034f1e89c4
[RefC] [Cleanup] erase ReturnStatement ( #3210 )
...
* [RefC] [Cleanup] erase ReturnStatement
* [Test] Specify LC_ALL=C.UTF-8 for sort command to avoid false failure from locale.
2024-02-15 08:16:46 -06:00
Mathew Polzin
f91e92bd54
Add a dev shell to the flake
2024-02-13 09:31:44 -06:00
Denis Buzdalov
381438533c
[ cleanup ] Do not wrap the mainExpression
into lazy
in ES backends
2024-02-12 17:19:27 -06:00
Ruslan
2e1c3fbf2e
Fix a bug in C implementation of idrnet_recv_bytes (missing flags parameter) ( #3212 )
...
* Fix a bug in C implementation of idrnet_recv_bytes (missing flags parameter)
2024-02-12 11:35:52 -06:00
Joel Berkeley
11968b7d5c
Update website FAQ on package managers ( #3213 )
...
* Improve website FAQ
2024-02-12 11:34:26 -06:00