Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lcompilers/lpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: AlHeloween/lpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 728 files changed
  • 1 contributor

Commits on Mar 20, 2026

  1. Import cmd_runner package, docs and assets

    Add a new cmd_runner Python package and CLI along with supporting modules (kernels, input handling, VT mode, utils) and top-level cmd_runner.py. Include installation scripts (install-lpython.ps1, cmake templates), integration benchmarks, ADID framework and other documentation, .codex/.cursor/.opencode rules and skills, and extensive runtime logs. Also update CMakeLists.txt and README.md to integrate the new tooling. This large import brings the command-runner tooling, docs, tests and diagnostic logs into the repository.
    AlHeloween committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    6c71372 View commit details
    Browse the repository at this point in the history
  2. Fix list iteration ASR; add iteration tests

    Update dependency, build config, fix ASR iteration bug, and add tests.
    
    - Bump @opencode-ai/plugin from 1.2.10 to 1.2.27 in .opencode/package.json.
    - Reduce CMake parallel build jobs from -j8 to -j4 in build1.bat.
    - Fix ASR list iteration: use index_plus_one instead of explicit_iter_var when constructing ListItem_t in src/lpython/semantics/python_ast_to_asr.cpp to correct loop element expression generation.
    - Add test_for_fix.py with comprehensive iteration tests (list, string, range, nested lists, empty/single lists, stepped and negative-step ranges, and a while loop) to validate iteration behavior.
    AlHeloween committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    c1b8f93 View commit details
    Browse the repository at this point in the history
  3. Update test_for_fix.py

    AlHeloween committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    b1f8cd3 View commit details
    Browse the repository at this point in the history
  4. Update AGENTS.md

    AlHeloween committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    432307b View commit details
    Browse the repository at this point in the history
  5. Use explicit_iter_var for ListItem and add test

    Fix loop source element creation in python_ast_to_asr: replace ASRUtils::EXPR(index_plus_one) with ASRUtils::EXPR(explicit_iter_var) when constructing a ListItem, ensuring the correct expression is used for explicit iterator variables. Also add test_for_asr.py containing a simple for-loop over a list[i32] to validate for-loop ASR generation.
    AlHeloween committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    3dd2c14 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. Remove semgrep tags; bump plugin; update libasr

    Remove Semgrep tag indexing references in RAG skill docs (updated .codex/.cursor/.opencode SKILL.md) and note that semgrep_tags_enabled is ignored for performance. Bump @opencode-ai/plugin dependency to 1.3.0 in .opencode/package.json. Advance libasr submodule to the newer commit.
    AlHeloween committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    b934f8f View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2026

  1. Update

    AlHeloween committed Apr 15, 2026
    Configuration menu
    Copy the full SHA
    624feee View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2026

  1. Update toolset

    AlHeloween committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    c30ece5 View commit details
    Browse the repository at this point in the history
Loading