Skip to content

Conversation

@danielflat
Copy link

No description provided.

Flat and others added 30 commits October 25, 2025 16:25
…C instead of LLVM because of better debug possibilities
Fix #1165 by attaching position info to messages originating in
UnboxInference: when we visit a tree node, we should "zoom in" on it in
the error reporting.
Add a system to help the users when the compiler cannot find a name of a
type:

#### Heuristic 1: Some types are named differently in Effekt than in
other languages

<img width="469" height="100" alt="Screenshot 2025-10-27 at 15 06 41"
src="https://github.com/user-attachments/assets/8b2a4a64-1860-4e5c-b1ec-05b9c3ecc609"
/>

This specific one (`Boolean` instead of `Bool`) is done often by
students and LLMs alike.

#### Heuristic 2: Try case-insensitive comparison

<img width="390" height="137" alt="Screenshot 2025-10-27 at 15 06 26"
src="https://github.com/user-attachments/assets/893777c5-247c-486f-8a94-704c740fe69d"
/>

#### Heuristic 3: Try full on edit distance!

<img width="359" height="135" alt="Screenshot 2025-10-27 at 22 31 43"
src="https://github.com/user-attachments/assets/9570b6ef-2222-4132-9575-e8773edf8f3b"
/>
…C instead of LLVM because of better debug possibilities
Flat added 12 commits November 6, 2025 11:28
… into contant-time-reference-counting

# Conflicts:
#	effekt/shared/src/main/scala/effekt/generator/llvm/Transformer.scala
#	effekt/shared/src/main/scala/effekt/typer/UnboxInference.scala
…kes of malloc, calloc and free by the memtrack tracker and print a result if there are

+ we do not have memory leaks anymore
@jiribenes jiribenes added the experiment Experimental branch, do not merge! label Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experiment Experimental branch, do not merge!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants