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
Alex1005a
196d08dd6d
Implement Precise Reference Counting for C backend ( #2989 )
...
* start implement drop spec
* [RefC] remove vars after prim function call
* [RefC] gc pointer processing changed
* [RefC] fix memory leak in stringIteratorToString
* [RefC] runtime.c refactoring
* Implement basic reuse analisis
* [RefC] do not delete reusable variables in value in let
* [RefC] Use names instead tags in reuse map
* [RefC] Don't set all fields to null in reuse constructor
* Use record syntax in RefC
* Add some utility functions to RefC
* Sort output in garbageCollect refc test
* Add memory leak test for RefC
* [RefC] Remove variable only from body in let
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
* [RefC] Remove borrowed set from env
* [RefC] Use Ref variable for Enviroment instead of passing as an argument
* [RefC] Use locally function as combinator
* [RefC] removing unnecessary dup and remove during pattern matching
* Update refcTests and refcMemoryLeakTests
* Remove some test files
* move CHANGELOG entry to CHANGELOG_NEXT
* Move refc-memory tests
* Change calling convention test
* [RefC] [Test] Reuse test
---------
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: Mathew Polzin <matt.polzin@gmail.com>
2024-02-12 00:43:17 -06:00
André Videla
c74f54c122
Merge pull request #3203 from seagull-kamome/simplify_constcase_branch
...
[RefC] [Cleanup] Pattern matching generates simpler code.
2024-02-01 11:18:05 +00:00
André Videla
45af7226ce
Merge pull request #3208 from buzden/bump-deprecated-actions
...
[ ci ] Bump deprecated versions of used CI actions to avoid warnings
2024-02-01 11:13:58 +00:00
Denis Buzdalov
87bdf0ba23
[ ci ] Bump deprecated versions of used CI actions to avoid warnings
2024-01-31 17:18:24 +03:00