Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Description spelling should match function spelling | James E Keenan | 2022-07-20 | 1 | -15/+15 |
| | |||||
* | Tests for prototypes of 'builtin::*' functions | James E Keenan | 2022-07-20 | 1 | -0/+20 |
| | |||||
* | Add builtin function `export_lexically()` | Paul "LeoNerd" Evans | 2022-07-15 | 1 | -0/+35 |
| | | | | As per RFC 0020 | ||||
* | Add builtin::is_tainted | James Raspass | 2022-07-05 | 1 | -8/+24 |
| | | | | | Also tweak the implementation of the other two boolean builtins (is_bool & is_weak) to be slightly more efficient. | ||||
* | Initial implementation and unit-tests of created_as_{string,number} | Paul "LeoNerd" Evans | 2022-04-01 | 1 | -0/+67 |
| | |||||
* | Add builtin::trim() | Karl Williamson | 2022-03-19 | 1 | -0/+58 |
| | | | | Most of this code came from Paul Evans and Scott Chief Baker | ||||
* | An initial implementation of builtin::indexed | Paul "LeoNerd" Evans | 2022-03-14 | 1 | -0/+43 |
| | | | | * Implementation, unit tests, documentation | ||||
* | Rename is{bool,weak} to is_{bool,weak} | Paul "LeoNerd" Evans | 2022-03-07 | 1 | -18/+18 |
| | |||||
* | Fix unit tests for experimental::builtin warnings | Paul "LeoNerd" Evans | 2022-01-25 | 1 | -0/+1 |
| | |||||
* | Add ceil & floor to builtin | James Raspass | 2022-01-24 | 1 | -0/+27 |
| | |||||
* | Give blessed() the same TRUEBOOL optimisation that ref() has in boolean contexts | Paul "LeoNerd" Evans | 2021-12-08 | 1 | -0/+6 |
| | |||||
* | Add builtin::blessed, refaddr and reftype | Paul "LeoNerd" Evans | 2021-12-08 | 1 | -1/+19 |
| | |||||
* | Test equivalence of 'true' and 'false' to negated statements | James E Keenan | 2021-12-07 | 1 | -0/+12 |
| | | | | | | | | | The documentation for lib/builtin.pm asserts that 'true' is equivalent to !!1 or !0, and that false is equivalent to !!0 or !1. Demonstrate that this is so. Per review by Paul Evans in https://github.com/Perl/perl5/pull/19252, we'll use cmp_ok() rather than is() and test for each of 'eq' and '=='. | ||||
* | Add builtin:: funcs for handling weakrefs | Paul "LeoNerd" Evans | 2021-12-04 | 1 | -0/+20 |
| | | | | | Also, ensure that B::Deparse understands the OA_TARGMY optimisation of OP_ISBOOL | ||||
* | Improvements to OP_ISBOOL | Paul "LeoNerd" Evans | 2021-12-03 | 1 | -0/+17 |
| | | | | | * Apply OA_RETSCALAR, OA_TARGLEX and OA_FOLDCONST flags * Handle both 'get' and 'set' magic | ||||
* | Add a builtin:: namespace, with true/false/isbool | Paul "LeoNerd" Evans | 2021-11-29 | 1 | -0/+78 |
This finishes the perl-visible API required for RFC 0008 https://github.com/Perl/RFCs/blob/master/rfcs/rfc0008.md It also begins the "builtin::" namespace of RFC 0009 https://github.com/Perl/RFCs/blob/master/rfcs/rfc0009.md |