Skip to content

Conversation

@feds01
Copy link
Contributor

@feds01 feds01 commented Mar 30, 2025

Add input function implementation to the prelude.

In order for this implementation to work, we needed to implement the
ability for the compiler to support ref to int and int to ref casts.

feds01 added 2 commits March 30, 2025 16:35
This commit adds support for casting between `ref` and `int` types in
lowering. This is useful for working with raw pointers.
@feds01 feds01 self-assigned this Mar 30, 2025
@feds01 feds01 requested a review from kontheocharis March 30, 2025 15:57
@feds01 feds01 added standard-library Issues related with the standard library. lowering Related to the general lowering of AST into simpler AST and/or IRs labels Mar 30, 2025
@feds01 feds01 merged commit 56b0eb2 into main Mar 30, 2025
1 check passed
@feds01 feds01 deleted the lower/implement-ref-to-int-casts branch March 30, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lowering Related to the general lowering of AST into simpler AST and/or IRs standard-library Issues related with the standard library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants