Skip to content

Change hard coded use std #5

Merged
hxuhack merged 1 commit intotea-compiler:mainfrom
hxuhack:main
Apr 7, 2026
Merged

Change hard coded use std #5
hxuhack merged 1 commit intotea-compiler:mainfrom
hxuhack:main

Conversation

@hxuhack
Copy link
Copy Markdown
Contributor

@hxuhack hxuhack commented Apr 7, 2026

  • Change hard coded use std
  • Add doc comments to multiple files

* Add English doc comments to `src/ir/gen/conversions.rs` (#4)

* Initial plan

* Add English comments to src/ir/gen/conversions.rs

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/7792cd15-2408-40a6-9f66-65c0304b2f83

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Fix comment: default type is i32, not int

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/4b6b2ee3-8cff-4b11-8274-8dd2d93eda4f

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Add comprehensive English comments to `src/ir/gen/function_gen.rs` (#5)

* Initial plan

* Add comprehensive English comments to src/ir/gen/function_gen.rs

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/f0385687-16d6-48bf-a37a-1b55fde78f5b

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Add comprehensive English doc comments to `src/ir/function.rs` (#6)

* Initial plan

* Add comprehensive English comments to src/ir/function.rs

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/88a5174f-8e69-4cec-8288-e496f8f1d06b

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Update the src/ir/module.rs file with new core IR data structures

* Add comprehensive English doc comments to `src/ir/gen/module_gen.rs` (#7)

* Initial plan

* Add comprehensive English comments to src/ir/gen/module_gen.rs

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/04d277ba-dda4-4f00-bd5f-66e52c85d27d

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Add English doc comments to `src/ir/gen/static_eval.rs` (#8)

* Initial plan

* Add English doc comments to src/ir/gen/static_eval.rs

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/b08d71ed-943f-436e-b293-679a0cd077b9

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Replace hardcoded `register_std_functions` with `.teah` file parsing in `handle_use_stmt` (#9)

* Initial plan

* Refactor handle_use_stmt to parse .teah files instead of hardcoding std functions

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/b7a14ea2-5d90-4b24-9ea4-28fe9a163830

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* Add comprehensive English comments to tests/tests.rs (#10)

* Initial plan

* Add comprehensive English comments to tests/tests.rs

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/7f28adf1-1a4a-49d1-bd99-627d65604cb6

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

* aarch64: skip external function declarations in assembly codegen (#11)

* Initial plan

* Fix linker duplicate-symbol errors by skipping external function declarations in aarch64 codegen

Agent-Logs-Url: https://github.com/hxuhack/teac/sessions/5fc2e1bd-cf6a-455a-add3-2ea52a82c97e

Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hxuhack <13302178+hxuhack@users.noreply.github.com>
@hxuhack hxuhack merged commit 5671a41 into tea-compiler:main Apr 7, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant