v0.21.0
版本发布时间: 2024-04-12 20:53:25
lcompilers/lpython最新发布版本:v0.22.0(2024-07-09 04:03:30)
What's Changed
- Added support for functions to accept symbolic variables by @anutosh491 in https://github.com/lcompilers/lpython/pull/2331
- Implemented
visit_SubroutineCall
for the symbolic pass by @anutosh491 in https://github.com/lcompilers/lpython/pull/2335 - Add support for base in
int()
by @AkshayWarrier in https://github.com/lcompilers/lpython/pull/2338 - Adding support for executing attribute/query calls without assigning to a prior variable by @anutosh491 in https://github.com/lcompilers/lpython/pull/2337
- Implemented Str.Count() method by @SudhanshuJoshi09 in https://github.com/lcompilers/lpython/pull/2342
- CI: Upgrade SymEngine to 0.11.1 by @certik in https://github.com/lcompilers/lpython/pull/2346
- Implementing Symbolic Has Query Method by @anutosh491 in https://github.com/lcompilers/lpython/pull/2336
- Sync Libasr for Runtime Stacktrace by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2350
- Fix Unused warning by @sainivedh in https://github.com/lcompilers/lpython/pull/2352
- Add join method in str by @Agent-Hellboy in https://github.com/lcompilers/lpython/pull/2354
- mentioned
generate_default_tag.sh
in the readme by @abhi-glitchhg in https://github.com/lcompilers/lpython/pull/2358 - Added MacOS warning in readme file by @OculusMode in https://github.com/lcompilers/lpython/pull/2361
- Throw Exception for wrong argtype in join method by @Agent-Hellboy in https://github.com/lcompilers/lpython/pull/2364
- Run integration tests with the Latest Python version in the CI by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2281
- Support floor division as intrinsic function by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2372
- Added support for comparing symbolic expressions by @anutosh491 in https://github.com/lcompilers/lpython/pull/2374
- Add isspace API in str by @Agent-Hellboy in https://github.com/lcompilers/lpython/pull/2373
- Supporting assignment through
basic_assign
by @anutosh491 in https://github.com/lcompilers/lpython/pull/2378 - Add isalpha, istitle, and title APIs in str by @Agent-Hellboy in https://github.com/lcompilers/lpython/pull/2357
- Adding Support for symbolics in the list data structure by @anutosh491 in https://github.com/lcompilers/lpython/pull/2368
- Implement random.seed() by @OmarMesqq in https://github.com/lcompilers/lpython/pull/2318
- Added Support for Symbolic
func
attribute by @anutosh491 in https://github.com/lcompilers/lpython/pull/2367 - Fixed printing elements from a symbolic list by @anutosh491 in https://github.com/lcompilers/lpython/pull/2383
- Implemented query method for log class by @anutosh491 in https://github.com/lcompilers/lpython/pull/2384
- Implemented symbolic constant E by @anutosh491 in https://github.com/lcompilers/lpython/pull/2387
- Implemented ASR checks for function dependencies by @arteevraina in https://github.com/lcompilers/lpython/pull/2167
- Remove spurious reference results by @certik in https://github.com/lcompilers/lpython/pull/2391
- Added query method for sin class by @anutosh491 in https://github.com/lcompilers/lpython/pull/2395
- Remove Python as prerequisite from README.md by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2402
- Implementing get argument through design 1 by @anutosh491 in https://github.com/lcompilers/lpython/pull/2399
- Fix: Punctuation mistake in error message by @pnc009 in https://github.com/lcompilers/lpython/pull/2407
- Create temporary for IfExp outside LLVM loop by @czgdp1807 in https://github.com/lcompilers/lpython/pull/2408
- Added support for
visit_Assert
throughbasic_eq
by @anutosh491 in https://github.com/lcompilers/lpython/pull/2404 - refactor: check for dependency only in parent scope by @arteevraina in https://github.com/lcompilers/lpython/pull/2394
- Implemented visit_Return for freeing variables by @anutosh491 in https://github.com/lcompilers/lpython/pull/2412
- Sync
libasr
with LFortran by @czgdp1807 in https://github.com/lcompilers/lpython/pull/2410 - Port --dump-all-passes, --dump-all-passes-fortran from LFortran by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2414
- Remove redundant code by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2417
- Minor fixes related to Pass options by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2418
- Removed redundant return node after processing an ASR through subroutine_from_function pass by @anutosh491 in https://github.com/lcompilers/lpython/pull/2421
- Added support for Out[S] by @anutosh491 in https://github.com/lcompilers/lpython/pull/2419
- Added explicit test for Out[S] by @anutosh491 in https://github.com/lcompilers/lpython/pull/2422
- [C] Simd changes from LFortran by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2425
- SIMD: Changes from LFortran by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2424
- [ASR Pass] Handle ArraySection and SIMDArray BinOp (LFortran Sync) by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2426
- [Tutorials] Add LPython tutorial 1 by @Smit-create in https://github.com/lcompilers/lpython/pull/2415
- [ASR Pass] Symbolic: Simplify the symbolic handling by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2431
- changes documentation to represent correct path for lpython on windows machine by @ujjwaltwitx in https://github.com/lcompilers/lpython/pull/2436
- Enable llvm tests for symbolics by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2430
- [ASR Pass] Symbolic: Simplify the Functions by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2433
- Adding initial test for gruntz by @anutosh491 in https://github.com/lcompilers/lpython/pull/2437
- Fixed ASR for test_gruntz.py by @anutosh491 in https://github.com/lcompilers/lpython/pull/2438
- Implement
str.split()
by @AkshayWarrier in https://github.com/lcompilers/lpython/pull/2445 - Implemented visit_AsyncFunctionDef in the AST->ASR visitor by @ujjwaltwitx in https://github.com/lcompilers/lpython/pull/2442
- Fixes SEGFAULT in integration_tests/elemental_01.py by @Kishan-Ved in https://github.com/lcompilers/lpython/pull/2452
- Don't load CPtr if the variable under consideration is an argument by @anutosh491 in https://github.com/lcompilers/lpython/pull/2453
- Fixed output through c_sym backend for test_gruntz.py by @anutosh491 in https://github.com/lcompilers/lpython/pull/2454
- UserOverride.cmake: fix native optflag for PowerPC by @barracuda156 in https://github.com/lcompilers/lpython/pull/2459
- stacktrace.cpp: include syslimits.h for PATH_MAX by @barracuda156 in https://github.com/lcompilers/lpython/pull/2461
- parser_stype.h: allow building for ppc by @barracuda156 in https://github.com/lcompilers/lpython/pull/2463
- Fix
random.random()
by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2464 - Using basic_new_heap for assigning elements of symbolic list by @anutosh491 in https://github.com/lcompilers/lpython/pull/2465
- Fixing Symbolic List assignment by @anutosh491 in https://github.com/lcompilers/lpython/pull/2477
- Fixes empty string bug in str isalpha method by @advikkabra in https://github.com/lcompilers/lpython/pull/2484
- Fix const step in loop by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2501
- fixes semantic error for int (Issue #1926) by @NishantBansal2003 in https://github.com/lcompilers/lpython/pull/2476
- Fixing symbolic compare for test_gruntz.py by @anutosh491 in https://github.com/lcompilers/lpython/pull/2488
- Fixed issue #1993 to improve readability of semantic error thrown by @tanay-man in https://github.com/lcompilers/lpython/pull/2507
- Fixed grammatical errors (Issue #2493) by @NishantBansal2003 in https://github.com/lcompilers/lpython/pull/2510
- CI: Disable C tests on macOS by @certik in https://github.com/lcompilers/lpython/pull/2517
- Fix a bug in Const[int] by @certik in https://github.com/lcompilers/lpython/pull/2514
- CI: Remove more tests on macOS by @certik in https://github.com/lcompilers/lpython/pull/2519
- CI: Enable LLVM and C backends on macOS by @certik in https://github.com/lcompilers/lpython/pull/2521
- Improving prefix-string parsing (fixes #2339) by @mrdaybird in https://github.com/lcompilers/lpython/pull/2511
- Ignored warnings for inbuilt pow test by @advikkabra in https://github.com/lcompilers/lpython/pull/2523
- Fix isspace edge case by @advikkabra in https://github.com/lcompilers/lpython/pull/2489
- Added case to support log instances in mrv function by @anutosh491 in https://github.com/lcompilers/lpython/pull/2525
- Added semantic error for float declaration. by @faze-geek in https://github.com/lcompilers/lpython/pull/2529
- Fixed visit_if for SymbolicCompare cases by @anutosh491 in https://github.com/lcompilers/lpython/pull/2535
- Docs: Added a step-by-step documentation for installing and building LPython by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2537
- Docs: Update installation instructions by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2538
- refine input file missing msg by @syheliel in https://github.com/lcompilers/lpython/pull/2536
- Improved str.count() algorithm using the Knuth-Morris-Pratt algorithm by @advikkabra in https://github.com/lcompilers/lpython/pull/2530
- refine testcase for random by @syheliel in https://github.com/lcompilers/lpython/pull/2543
- Config: Added
zstd-static
package to the conda environment configuration files by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2540 - Refactor string attributes and add constant string implementations by @advikkabra in https://github.com/lcompilers/lpython/pull/2524
- Remove submodule
lpython
by @Thirumalai-Shaktivel in https://github.com/lcompilers/lpython/pull/2548 - Updated cmake version for windows by @Kishan-Ved in https://github.com/lcompilers/lpython/pull/2562
- Fixing symbolic pass according to error caught in LFortran by @anutosh491 in https://github.com/lcompilers/lpython/pull/2565
- Implemented
hypot
in numpy by @Kishan-Ved in https://github.com/lcompilers/lpython/pull/2574 - Fixing issues with freeing variables by @anutosh491 in https://github.com/lcompilers/lpython/pull/2569
- [asr->python] initial implementation by @khushi-411 in https://github.com/lcompilers/lpython/pull/2362
- Added APIs isalnum() and isnumeric() in string object by @Kishan-Ved in https://github.com/lcompilers/lpython/pull/2582
- [tests] register tests/expr17.py by @khushi-411 in https://github.com/lcompilers/lpython/pull/2580
- Handling leading zeros in integer literals by @hankluo6 in https://github.com/lcompilers/lpython/pull/2568
- [asr-python] remove extra lines in codegen by @khushi-411 in https://github.com/lcompilers/lpython/pull/2590
- Add support for
list
methods withConst
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2570 - Added str.replace() by @Kishan-Ved in https://github.com/lcompilers/lpython/pull/2587
- Remove
is_fast
and its associated methods fromPassManager
by @czgdp1807 in https://github.com/lcompilers/lpython/pull/2600 - Adding support for Pow instances in mrv function by @anutosh491 in https://github.com/lcompilers/lpython/pull/2528
- Add
str.isspace()
method by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2586 - Add support for global
set
declaration by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2605 - Add an intrinsic implementation of
type(object)
function by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2592 - Add math functions by @farah-salama in https://github.com/lcompilers/lpython/pull/2609
- Fix logical comparison by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2598
- Support constant negative indices in the array by @hankluo6 in https://github.com/lcompilers/lpython/pull/2611
- Simplify array size determination for negative index by @hankluo6 in https://github.com/lcompilers/lpython/pull/2619
- Seeded random.random() with system clock if it is left unseeded by @advikkabra in https://github.com/lcompilers/lpython/pull/2549
- Implemented mangling for c back-end as per issue #2359 . by @tanay-man in https://github.com/lcompilers/lpython/pull/2546
- Fix symbolic pass for printing
ListItem
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2620 - add test reference for an error message by @aryangupta701 in https://github.com/lcompilers/lpython/pull/2623
- Implementing for-else and while-else loops by @advikkabra in https://github.com/lcompilers/lpython/pull/2555
- Sync
libasr
with LFortran by @czgdp1807 in https://github.com/lcompilers/lpython/pull/2628 - Sync
libasr
with LC by @czgdp1807 in https://github.com/lcompilers/lpython/pull/2632 - Implement
set.discard(elem)
by @kmr-srbh in https://github.com/lcompilers/lpython/pull/2633 - Prevent calling
abort
while handling theSIGABRT
signal by @Vipul-Cariappa in https://github.com/lcompilers/lpython/pull/2626 - Remove auto-generated file by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2635
- Remove
const
ttype by @Shaikh-Ubaid in https://github.com/lcompilers/lpython/pull/2636 - Optimize string repetition and string copying by @advikkabra in https://github.com/lcompilers/lpython/pull/2634
- Removed error banner from tests (#2631) by @NishantBansal2003 in https://github.com/lcompilers/lpython/pull/2640
- Add nested loop tests for else clause in loops by @advikkabra in https://github.com/lcompilers/lpython/pull/2630
- CI: Support uploading tarball to release by @anutosh491 in https://github.com/lcompilers/lpython/pull/2646
New Contributors
- @AkshayWarrier made their first contribution in https://github.com/lcompilers/lpython/pull/2338
- @SudhanshuJoshi09 made their first contribution in https://github.com/lcompilers/lpython/pull/2342
- @sainivedh made their first contribution in https://github.com/lcompilers/lpython/pull/2352
- @Agent-Hellboy made their first contribution in https://github.com/lcompilers/lpython/pull/2354
- @abhi-glitchhg made their first contribution in https://github.com/lcompilers/lpython/pull/2358
- @OculusMode made their first contribution in https://github.com/lcompilers/lpython/pull/2361
- @pnc009 made their first contribution in https://github.com/lcompilers/lpython/pull/2407
- @ujjwaltwitx made their first contribution in https://github.com/lcompilers/lpython/pull/2436
- @Kishan-Ved made their first contribution in https://github.com/lcompilers/lpython/pull/2452
- @barracuda156 made their first contribution in https://github.com/lcompilers/lpython/pull/2459
- @advikkabra made their first contribution in https://github.com/lcompilers/lpython/pull/2484
- @NishantBansal2003 made their first contribution in https://github.com/lcompilers/lpython/pull/2476
- @tanay-man made their first contribution in https://github.com/lcompilers/lpython/pull/2507
- @mrdaybird made their first contribution in https://github.com/lcompilers/lpython/pull/2511
- @kmr-srbh made their first contribution in https://github.com/lcompilers/lpython/pull/2537
- @syheliel made their first contribution in https://github.com/lcompilers/lpython/pull/2536
- @hankluo6 made their first contribution in https://github.com/lcompilers/lpython/pull/2568
- @farah-salama made their first contribution in https://github.com/lcompilers/lpython/pull/2609
- @aryangupta701 made their first contribution in https://github.com/lcompilers/lpython/pull/2623
- @Vipul-Cariappa made their first contribution in https://github.com/lcompilers/lpython/pull/2626
Full Changelog: https://github.com/lcompilers/lpython/compare/v0.20.0...v0.21.0