Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main into list_reverse #2

Merged
merged 94 commits into from
May 14, 2023
Merged

merge main into list_reverse #2

merged 94 commits into from
May 14, 2023

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    f776fdd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f7932e View commit details
    Browse the repository at this point in the history
  3. PKG: Fixes in lpdraw

    Also support drawing vertical line
    Shaikh-Ubaid committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    6111d46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dac940b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8506de2 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Configuration menu
    Copy the full SHA
    a40eebe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51ad8b4 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Merge pull request lcompilers#1752 from Shaikh-Ubaid/asr_json_modules

    ASR: Support modules in json format
    certik committed May 4, 2023
    Configuration menu
    Copy the full SHA
    269345b View commit details
    Browse the repository at this point in the history
  2. Merge pull request lcompilers#1751 from Shaikh-Ubaid/regression_pkg

    PKG: Add linear regression package
    certik committed May 4, 2023
    Configuration menu
    Copy the full SHA
    d2bf0f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2bea899 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4c28bc9 View commit details
    Browse the repository at this point in the history
  5. TEST: Add and enable test ...

    which fails in current main branch
    Shaikh-Ubaid committed May 4, 2023
    Configuration menu
    Copy the full SHA
    87cb5d6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    05bde7d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    df30c8b View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Merge pull request lcompilers#1761 from Shaikh-Ubaid/fix_types

    Make i32/i64 convert float to int in CPython
    Shaikh-Ubaid committed May 5, 2023
    Configuration menu
    Copy the full SHA
    e432e7a View commit details
    Browse the repository at this point in the history

Commits on May 6, 2023

  1. Configuration menu
    Copy the full SHA
    3117c4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ef0b66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52419e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f1def7d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    736f536 View commit details
    Browse the repository at this point in the history
  6. Unescape byte strings

    excluding raw-byte strings
    Shaikh-Ubaid committed May 6, 2023
    Configuration menu
    Copy the full SHA
    8cb00d1 View commit details
    Browse the repository at this point in the history
  7. TEST: Add test case

    Shaikh-Ubaid committed May 6, 2023
    Configuration menu
    Copy the full SHA
    ae7ac94 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ad5a1db View commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

  1. Merge pull request lcompilers#1762 from Shaikh-Ubaid/asr_unescaped_st…

    …rings
    
    ASR: Keep strings unescaped in AST, ASR
    Shaikh-Ubaid committed May 7, 2023
    Configuration menu
    Copy the full SHA
    bf59fb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e021e78 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Configuration menu
    Copy the full SHA
    5282b76 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Pin specific version

    Shaikh-Ubaid committed May 9, 2023
    Configuration menu
    Copy the full SHA
    9cc155c View commit details
    Browse the repository at this point in the history
  2. Merge pull request lcompilers#1763 from Shaikh-Ubaid/fix_ci

    CI: Install and use lpython as a package
    Shaikh-Ubaid committed May 9, 2023
    Configuration menu
    Copy the full SHA
    8d09615 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    8110bcb View commit details
    Browse the repository at this point in the history
  2. TEST: Add test

    Shaikh-Ubaid committed May 10, 2023
    Configuration menu
    Copy the full SHA
    1cb36e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    450b560 View commit details
    Browse the repository at this point in the history
  4. Merge pull request lcompilers#1768 from Shaikh-Ubaid/fix_bit_len2

    ASR: Support UnaryOp in attr bit_length()
    Shaikh-Ubaid committed May 10, 2023
    Configuration menu
    Copy the full SHA
    a04d456 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    73bd468 View commit details
    Browse the repository at this point in the history
  6. Jit Baseline implementation,

    - Get the source code from Jit decorator and store it in a file
    - Create a C file using the --show-c option
    
    Co-authored-by: Harsh Singh Jadon <intelligent24harsh@gmail.com>
    Thirumalai-Shaktivel and harshsingh-24 committed May 10, 2023
    Configuration menu
    Copy the full SHA
    cb72471 View commit details
    Browse the repository at this point in the history
  7. Generate a C file with the Python wrappers using Python C/API,

    - Process the arguments and return variable to suit C declared types
    - Pass these variables as arguments for the function call
    - Enclose everything within the Python wrapper
    - Write this C template into a file
    
    Co-authored-by: Ondřej Čertík <ondrej@certik.us>
    Thirumalai-Shaktivel and certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    1fd75d9 View commit details
    Browse the repository at this point in the history
  8. Compile the C template with the LPython generated C file and create a…

    … shared library
    
    Co-authored-by: Ondřej Čertík <ondrej@certik.us>
    Thirumalai-Shaktivel and certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    bf0a910 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3c5909d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a5eda0c View commit details
    Browse the repository at this point in the history
  11. Add unsigned int types

    Smit-create authored and certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    25b45ac View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    50e0739 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1bd2f93 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    248725b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1ca113f View commit details
    Browse the repository at this point in the history
  16. Merge pull request lcompilers#1764 from Smit-create/i-1588

    Add ``UnsignedInteger`` type in ASR
    czgdp1807 committed May 10, 2023
    Configuration menu
    Copy the full SHA
    40e7778 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e14cc37 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    eb5a906 View commit details
    Browse the repository at this point in the history
  19. Merge pull request lcompilers#1769 from certik/uint2

    Add unsigned integer support to C backend
    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    9028f68 View commit details
    Browse the repository at this point in the history
  20. Merge pull request lcompilers#1708 from harshsingh-24/jit

    `@jit` interface for LPython
    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    9d965a8 View commit details
    Browse the repository at this point in the history
  21. Merge pull request lcompilers#1770 from certik/uint3

    Add a test for all unsigned types
    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    305f096 View commit details
    Browse the repository at this point in the history
  22. Implement --get-rtl-dir

    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    9b5ec2e View commit details
    Browse the repository at this point in the history
  23. Merge pull request lcompilers#1772 from certik/rtl

    Implement --get-rtl-dir
    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    e9453fd View commit details
    Browse the repository at this point in the history
  24. Implement unsigned arrays support

    Now most array usage should work with unsigned integers. Added a test.
    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    5562678 View commit details
    Browse the repository at this point in the history
  25. Merge pull request lcompilers#1775 from certik/uint4

    Implement unsigned arrays support
    certik committed May 10, 2023
    Configuration menu
    Copy the full SHA
    9b8fa1e View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Configuration menu
    Copy the full SHA
    d1535f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46d283d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c6043b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c900f7d View commit details
    Browse the repository at this point in the history
  5. Merge pull request lcompilers#1777 from Shaikh-Ubaid/numpy_size

    Support numpy size() and array.size
    certik committed May 11, 2023
    Configuration menu
    Copy the full SHA
    ff38f75 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a0441aa View commit details
    Browse the repository at this point in the history
  7. Add --no-indent flag

    Indent by default
    Shaikh-Ubaid committed May 11, 2023
    Configuration menu
    Copy the full SHA
    d2420d7 View commit details
    Browse the repository at this point in the history
  8. Revert "TEST: Indent all AST and ASR tests"

    This reverts commit 9938e6c.
    Shaikh-Ubaid committed May 11, 2023
    Configuration menu
    Copy the full SHA
    bbcec15 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8d1c9c3 View commit details
    Browse the repository at this point in the history
  10. Merge pull request lcompilers#1779 from Shaikh-Ubaid/visualize_and_in…

    …dent
    
    Support --no-indent and --visualize flags
    certik committed May 11, 2023
    Configuration menu
    Copy the full SHA
    8c71d37 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6e57da7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5329920 View commit details
    Browse the repository at this point in the history
  13. Merge pull request lcompilers#1780 from Shaikh-Ubaid/numpy_size_test_…

    …case
    
    Fix numpy size() and add test
    certik committed May 11, 2023
    Configuration menu
    Copy the full SHA
    144a50d View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Rename the @jit decorator to @lpython

    Added inital docstring explaining the motivation. The term `jit` is not
    the right term for this decorator because we are not using JIT (=Just In
    Time) compilation, but rather AOT (=Ahead of Time) compilation, at
    runtime from CPython. The term `lpython` is better, as it conveys that
    we are using LPython to compile the function (ahead of time). It is also
    consistent with the @CPython decorator.
    certik committed May 12, 2023
    Configuration menu
    Copy the full SHA
    6728f50 View commit details
    Browse the repository at this point in the history
  2. Merge pull request lcompilers#1791 from certik/lpython_dec

    Rename the @jit decorator to @lpython
    certik committed May 12, 2023
    Configuration menu
    Copy the full SHA
    86fde94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f19593 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ef4123 View commit details
    Browse the repository at this point in the history
  5. Allow importing enums

    Smit-create committed May 12, 2023
    Configuration menu
    Copy the full SHA
    797f1ba View commit details
    Browse the repository at this point in the history
  6. Add tests

    Smit-create committed May 12, 2023
    Configuration menu
    Copy the full SHA
    3be64d2 View commit details
    Browse the repository at this point in the history
  7. Merge pull request lcompilers#1792 from Shaikh-Ubaid/skip_if

    ASR: Skip if in SymbolTableVisitor
    Shaikh-Ubaid committed May 12, 2023
    Configuration menu
    Copy the full SHA
    99b48f6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    37827ef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a4df75c View commit details
    Browse the repository at this point in the history
  10. Merge pull request lcompilers#1794 from Smit-create/i-1783

    Allow importing enums
    Smit-create committed May 12, 2023
    Configuration menu
    Copy the full SHA
    42e0f59 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cf1160b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a77b337 View commit details
    Browse the repository at this point in the history
  13. Add tests

    Smit-create committed May 12, 2023
    Configuration menu
    Copy the full SHA
    6d08cff View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a9e9a33 View commit details
    Browse the repository at this point in the history
  15. Import only once

    Smit-create committed May 12, 2023
    Configuration menu
    Copy the full SHA
    8472ea4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d48b523 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0154fc3 View commit details
    Browse the repository at this point in the history
  18. Merge pull request lcompilers#1795 from Smit-create/i-1782

    ASR: Fix module imports for subroutines
    certik committed May 12, 2023
    Configuration menu
    Copy the full SHA
    20d9536 View commit details
    Browse the repository at this point in the history
  19. Merge pull request lcompilers#1796 from Thirumalai-Shaktivel/lpython_…

    …decorator
    
    Fixes for lpython decorator
    certik committed May 12, 2023
    Configuration menu
    Copy the full SHA
    bb8bfe7 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. Support bool typed keys in dict (lcompilers#1771)

    Co-authored-by: Gagandeep Singh <gdp.1807@gmail.com>
    kabra1110 and czgdp1807 committed May 13, 2023
    Configuration menu
    Copy the full SHA
    b9850da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c85d000 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f7dbde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    abdb697 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d0cd19b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8dcdcbe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bf6ef8f View commit details
    Browse the repository at this point in the history

Commits on May 14, 2023

  1. Merge pull request lcompilers#1808 from Shaikh-Ubaid/struct_init_expr

    Require structs to be initialized before using
    Shaikh-Ubaid committed May 14, 2023
    Configuration menu
    Copy the full SHA
    9941f2c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04e544b View commit details
    Browse the repository at this point in the history