v0.22.0
版本发布时间: 2024-07-09 04:03:30
lcompilers/lpython最新发布版本:v0.22.0(2024-07-09 04:03:30)
What's Changed
- LLVM: Fix prototype declaration for _lpython_get_argc() by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2650
- WASM: Use release build by @anutosh491 in https://github.com/lcompilers/lpython/pull/2653
- Fix bug in printing a list by @advikkabra in https://github.com/lcompilers/lpython/pull/2654
-
--jit
option to execute without creation of executable file by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2564 - Make running JIT tests configurable by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2662
- Add builtin functions by @farah-salama in https://github.com/lcompilers/lpython/pull/2651
- Updated test_gruntz.py by @anutosh491 in https://github.com/lcompilers/lpython/pull/2656
- CI: Fixes for MacOS 14 by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2671
- Detect unhashable object types at the ASR level by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2664
- Fix symbolic pass for handling
IntrinsicElementalFunction
inprint()
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2665 - Add compile-time support for
dict.keys
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2660 - Add compile-time support for
dict.values
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2661 - Docs: Document built-in functions by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2589
- Remove stray executable
expr
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2673 - Support string repeat with non constant integer by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2675
- Fixed scoping issues of for loops in global scope by @tanay-man in https://github.com/lcompilers/lpython/pull/2672
- Add compile-time support for
list.pop
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2659 - Add support for
dict
methods withConst
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2567 - Add support for item access from
Const
data-structures by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2579 - Introducing Symbolic Infinity constant by @anutosh491 in https://github.com/lcompilers/lpython/pull/2683
- Function Default Arguments by @assem2002 in https://github.com/lcompilers/lpython/pull/2618
- Adding support for is_integer attribute by @anutosh491 in https://github.com/lcompilers/lpython/pull/2686
- Add support for
tuple
andset
in intrinsictype(object)
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2687 - Add support for is_positive attribute by @anutosh491 in https://github.com/lcompilers/lpython/pull/2689
- ASR -> CPython: Add visitors for
ListConstant
,TupleConstant
&SetConstant
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2690 - ASR -> CPython: Add
DictConstant
visitor by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2693 - Added support for subs attribute by @anutosh491 in https://github.com/lcompilers/lpython/pull/2695
- Combine
global_init
andglobal_stmts
functions intoglobal_stmts
by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2696 - ASR -> CPython: Add
list
method visitors by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2694 - Fix LLVM code generation error in List comparsion by @hankluo6 in https://github.com/lcompilers/lpython/pull/2697
- Interactive shell implementation by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2617
- avoiding name mangling while interactive is true by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2701
- removing _lfortran_caimag and _lfortran_zaimag functions by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2704
- Fixes complex datatype's symbol duplication bug while using interactive by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2707
- Initialize empty value to dictionaries without type given by @advikkabra in https://github.com/lcompilers/lpython/pull/2705
- Fix logical comparsion for string by @hankluo6 in https://github.com/lcompilers/lpython/pull/2699
- Supporting Logical Binop cases through symbolic pass by @anutosh491 in https://github.com/lcompilers/lpython/pull/2709
- Initial test for Interactive by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2713
- Printing top-level Expressions by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2716
- Support to print
u32
andu64
in REPL by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2717 - Support to print
i8
,u8
,i16
andu16
in Interactive mode by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2719 - REPL
str
support by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2724 - combining duplicated function into a single templated function by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2727
- Fix ASR verify pass error while using Interactive by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2706
- Improved CLI experience for REPL by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2729
- support printing
boolean
in REPL by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2728 - CI: Upgrade SymEngine to 0.12.0 by @anutosh491 in https://github.com/lcompilers/lpython/pull/2714
- Implement symbolic sign function by @anutosh491 in https://github.com/lcompilers/lpython/pull/2715
- Add membership checks in dictionaries and sets by @advikkabra in https://github.com/lcompilers/lpython/pull/2711
- refactor (asr): rename symbol
StructType
toStruct
and ttypeStruct
toStructType
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2740 -
StructType
node update by @tanay-man in https://github.com/lcompilers/lpython/pull/2743 - Add looping over dictionaries and sets by @advikkabra in https://github.com/lcompilers/lpython/pull/2710
- Added debug capabilities for lists and sets by @advikkabra in https://github.com/lcompilers/lpython/pull/2733
- Add clear method to dictionary and set by @advikkabra in https://github.com/lcompilers/lpython/pull/2747
- Set deepcopy by @advikkabra in https://github.com/lcompilers/lpython/pull/2738
- Add
set.pop
method by @advikkabra in https://github.com/lcompilers/lpython/pull/2749 - Default constructors by @tanay-man in https://github.com/lcompilers/lpython/pull/2750
- fix array symbol duplication in interactive mode by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2734
- CI: pin exact package versions by @certik in https://github.com/lcompilers/lpython/pull/2760
- Jupyter Kernel by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2764
- CI: pin all package versions by @certik in https://github.com/lcompilers/lpython/pull/2765
- CI: Pin the rest of the packages by @certik in https://github.com/lcompilers/lpython/pull/2766
- Gruntz Demo by @anutosh491 in https://github.com/lcompilers/lpython/pull/2688
- Minor docs & env updates on the Jupyter kernel by @anutosh491 in https://github.com/lcompilers/lpython/pull/2767
New Contributors
- @assem2002 made their first contribution in https://github.com/lcompilers/lpython/pull/2618
Full Changelog: https://github.com/lcompilers/lpython/compare/v0.21.2...v0.22.0
1、 lpython-0.22.0.tar.gz 1.19MB