lfortran / lfortran/lfortran

Julia backend includes a lot of unnecessary intrinsic functions

Open
#797 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
271
Avg merge
1d 2h
Merged PRs (30d)
173

Description

In the Julia backend, I used the same code as the C/CPP backend to handle intrinsic modules, but the generated Julia code includes many more intrinsic function definitions, compared to C/CPP.

I am investigating this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the Julia backend's intrinsic-module handling with the C/CPP backend, focusing on why generated Julia code contains additional intrinsic function definitions. The issue names no files or tests; done means identifying and removing the unnecessary Julia intrinsic definitions so the output matches the intended C/CPP behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, julia
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.